Support » Plugin: Travelers' Map » Issue with 16:9 preview images

  • Resolved 7kontinente

    (@7kontinente)


    Hi there

    Lovely plugin with one little issue in my case. I have many 16:9 article preview images. Those are cutted on the map preview and show a white space under the picture.
    Could we fix that somehow with a CSS code?

    https://imgur.com/a/kwQ2UzP

    Thanks

    • This topic was modified 12 months ago by 7kontinente.

    The page I need help with: [log in to see the link]

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Camille V

    (@socrapop)

    Dear @7kontinente,

    I think I know what’s your problem, and I will add a warning message in the next update of my plugin.

    Travelers’ Map is adding a thumbnail size in your website, so the marker’s images are optimized and in the right size.
    You need to regenerate your thumbnails, you can use the awesome plugin Regenerate Thumbnail :
    https://fr.wordpress.org/plugins/regenerate-thumbnails/

    I hope that solves the problem, if it isn’t, I will come back to you with a css code šŸ˜‰

    Have a nice day,
    Camille

    7kontinente

    (@7kontinente)

    Hi Camille

    Unfortunately the workaround with the plugin didn’t help in my case. šŸ™

    Regards

    Plugin Author Camille V

    (@socrapop)

    Mh strange, I will have a look at that… In the meantime, here is a CSS hack for you to add in your theme stylesheet (style.css) :

    .travelersmap-container .default-popup .img-mask {
        max-height: 168px !important;
        height: 168px !important;
    }

    You can replace 168px by whatever you want, this value is calculated to be 16/9.

    Tell me if it’s working šŸ™‚

    7kontinente

    (@7kontinente)

    That works perfect, thanks a lot! šŸ™‚
    Regarding the thumbnail plugin, I tried to resize all thumbnails without any success. Maybe I did something wrong.

    Thanks again!

    Plugin Author Camille V

    (@socrapop)

    Great news šŸ™‚ I will have a look when I have some time to see if my thumbnail settings are wrong for wide images (I only tested with 3/4 size and vertical photos)

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Issue with 16:9 preview images’ is closed to new replies.