Scale down images in listings page proportionally

This topic contains 5 replies, has 3 voices, and was last updated by  Kor 4 years, 8 months ago.

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

Open Support Ticket
  • Author
    Posts
  • #510130

    Fulvio Di Stefano
    Lifetime Member
    Post count: 134

    How do you scale down the images to show in the gallery in the listings page, in that its cut and scaled in a way that it loses same dimensions in both left, right, top, bottom?

    #510159

    Alex Rollin
    Moderator
    Post count: 27815

    Please use the GD Post Images advanced options to choose the Cover NONE (contain). Let us know how it goes

    https://wpgeodirectory.com/docs-v2/integrations/images/

    GDV1 used “contain” meaning it did not clip either X or Y. The default for V2 is cover ‘both’ so there can be clipping on either side to make sure the entire area is filled.

    #510924

    Fulvio Di Stefano
    Lifetime Member
    Post count: 134

    I’m using gd tabs to display the gallery so the above option is not available

    #510974

    Kor
    Moderator
    Post count: 16516

    Hi Fulvio Di Stefano,

    Thanks for your reply. Could you share the URL of the page in question so that we could take a better look at it?

    #511215

    Fulvio Di Stefano
    Lifetime Member
    Post count: 134

    Thank you for the reply: this is the url: https://test.fitnessadvisor.ch/coach/geneva/geneva/sergio/#post_images

    when you check the gallery, you can see the images are being cut; I would like them scaled proportionally so that the gallery shows the whole image without cutting

    #511274

    Kor
    Moderator
    Post count: 16516

    Hi Fulvio Di Stefano,

    You can use the custom CSS code below to fix it.

    .geodir-image-container ul.geodir-images li img {
        height: inherit!important;
    
    }
Viewing 6 posts - 1 through 6 (of 6 total)

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

Open Support Ticket