• Resolved twofatsheep

    (@twofatsheep)


    Hi, firstly thanks again for a great plugin, really love it.

    After the last update though, the titles under each thumbnail image on this page seem to have moved across to the right. It doesn’t matter which layout option I select for the gallery thumbnails, it does the same thing.

    How can I change it back so they sit under each image in the center.

    I am using shortcode: [gallery type ="flickr" user_id='user id' view='photosets']
    with elementor.

    I have only noticed the issue since I did the last update of the plugin today.

    Thanks very much for your help.
    Lea

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

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Sayontan Sinha

    (@sayontan)

    Interesting. Try setting this in your WP dashboard, under Appearance ↠ Customize → Additional CSS:

    .photonic-title-info {
        width: auto !important;
    }

    I might have a bug with one of the new features – I will check, but the snippet above should help you regardless.

    Thread Starter twofatsheep

    (@twofatsheep)

    Thank you Sayontan, that worked perfectly.

    Thanks for your help. 🙂

    Lea

    I have the same issue.

    Using the css snippet worked when displaying a gallery of one album, but doesn’t solve the same issue when displaying multiple albums.

    I’m using this shortcode
    [photonic type='flickr' view='photosets' filter='72157715533622898,72157715091385016,72157715092589778,72157714955804927' user_id='xxxxx' columns='4' title_position='below' popup='hide' layout='square' tile_size='c' load_mode='js']

    and the page I’m seeing testing on is : https://manatmachine.com/flickr-multi-gallery-test/

    Thanks!

    Plugin Author Sayontan Sinha

    (@sayontan)

    Try this:

    .photonic-thumb a img { margin: 0 auto; }

    Plugin Author Sayontan Sinha

    (@sayontan)

    @twofatsheep (Lea),
    I went back and checked my code – it looks like the problem here is Flickr itself rather than my code. Basically, as per Flickr’s documentation the “Small” size (letter code “m”) can be up to 240px on its longer side.

    But, it looks like Flickr is messing up specifically with this size. To give you an example, for your first album, the thumbnail is supposed to be https://live.staticflickr.com/1777/42292320214_f4980cb523_m.jpg – this is a 240px wide thumbnail. However, when I ask Flickr specifically to return the dimensions for the “m”-sized image, it is telling me that the image is 500px × 333px, and is returning a slightly different URL (https://live.staticflickr.com/1777/42292320214_f4980cb523.jpg – without the “_m” at the end of the file name). This is what is throwing off the calculator, as it is trying to rely on the stated width for positioning the title.

    While there is not much I can do here, the patch I have given you should work regardless.

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

The topic ‘title under gallery thumbnails have moved’ is closed to new replies.