All pics showing up in landscape orientation

This topic contains 1 reply, has 2 voices, and was last updated by  Alex Rollin 5 years ago.

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

Open Support Ticket
  • Author
    Posts
  • #515346

    Luca
    Expired Member
    Post count: 23

    https://plantswap.org/listings/

    It seems like every picture taken in portrait mode/orientation is being displayed sideways as a rotated landscape image. I tried looking through the support archives but didn’t find any helpful solutions. It’s a pretty big problem affecting a large portion of our listings, as you can see at the link above. I can’t exactly download everyone’s pics to rotate them correctly and micromanage all the listings… So is there any way to correctly display portrait pics uploaded to GeoDirectory?

    Thank you!

    #515355

    Alex Rollin
    Moderator
    Post count: 27815

    The first thing to try would be to change the GD Post Images shortcodes used in the Archive Item and Details page templates.

    https://wpgeodirectory.com/docs-v2/templates/

    Try this shortcode in your GD Archive Item template to change the way uploaded images that show in the listing in portrait mode are displayed.

    [gd_post_images type=”image” ajax_load=”1″ slideshow=”1″ show_title=”1″ animation=”slide” controlnav=”1″ link_to=”post” cover=”n”]

    This will only help with images that are not rotated with EXIF but we in fact captured as a portrait and don’t require rotation.

    GeoDirectory and WordPress don’t read EXIF information about orientation by default. We have a task to look into further EXIF support for future versions.

    You can try a third party plugin to add support, but this is untested and may not work if it requires a change in how GD Presents that are already stored in the database.

    https://wordpress.org/plugins/fix-image-rotation/

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

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

Open Support Ticket
20% Discount Offer
Hurry! Get your 20% discount before it expires. Get 20% Discount