gd_post_images – image_size tag dose not work properly

This topic contains 4 replies, has 3 voices, and was last updated by  Alex Rollin 5 years, 2 months ago.

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket
  • Author
    Posts
  • #470297

    nanera
    Expired Member
    Post count: 60

    Hello Support,

    I want to put a small picture at the top of the listing page and not be full sized (width) image

    When I’m editing GD Details — GD Details template and adding shortcode for this single listing page view the code for gd_post_images and specially image_size tag dose not work properly. No matter what size I choose – thumbnail, medium, medium_large, large, post_thumbnail etc. the image stay in full width view.

    I am checking the classes for this image and I found that “.geodir-image-container ul.geodir-images li img” is the one who control the size. There I see only min-width: 92%; max-width: 100%; Because I set it to thumbnail, I see also that there is a class for this image “size-thumbnail”, but it seems there is no such a class in css file or there are no settings for it.

    Thank you.

    #470389

    Paolo
    Site Admin
    Post count: 31206

    Hi,

    link with an example please?

    Thanks

    #470431

    Alex Rollin
    Moderator
    Post count: 27815

    Hello,

    yes, the gd_post_image is set to fill the parent container. One approach is to customize your template and add a container div around the element and add custom css to define that element with a specific size.

    #471021

    nanera
    Expired Member
    Post count: 60

    Hello Alex,

    Yes, thank you I manage to make it with div and custom CSS.
    Resolved!

    #471083

    Alex Rollin
    Moderator
    Post count: 27815

    Excellent!

Viewing 5 posts - 1 through 5 (of 5 total)

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket