• Resolved Philbeaux

    (@philbeaux)


    Ok, I’m having an issue with thumbnails in a gallery generated by attachment tags. I don’t know if it’s a theme problem, plugin problem or me-problem but I figured I’d start here.

    This is the code I use for the gallery:
    [mla_gallery attachment_tag="archie-manning" posts_per_page=21 mla_caption="{+title+}" size="my-thumbnail"]

    “my-thumbnail” is an image size I created using

    add_image_size('my-thumbnail', 160, 0, FALSE);

    in my functions.php and it actually works just fine, until I use the Post Thumbnail Editor plug-in to change the crop of the thumbnail. The thumbnail height changes. If you go to http://www.nosaintshistory.com/no_saints_galleries/image-gallery-archie-manning/ you’ll see what i mean. It’s pretty obvious the thumbs that have been edited.
    Is there something in the code I’m using that’s wrong or should I look at something else?

    https://ww.wp.xz.cn/plugins/media-library-assistant/

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author David Lingren

    (@dglingren)

    Thanks for your question and for posting the details of your shortcode. application code, other plugins used and the link to an example.

    I’m not quite sure what to look for on the example page, but I looked at the HTML markup for several of the links and images in the gallery display. There are quite a few attributes that look like they affect the thumbnail display.

    MLA uses a standard WordPress function, wp_get_attachment_link to get this portion of the gallery markup. As far as I can tell, your theme or another plugin might be modifying the markup returned by this function. I do not believe MLA is playing a part in the results you are getting.

    I am marking this topic resolved because it looks like MLA is working correctly. If you uncover any additional information that MLA is involved, let me know and I will investigate further. I hope you will find an answer without too much trouble.

    Thread Starter Philbeaux

    (@philbeaux)

    Just an update to this.
    It seems disabling the Photon Module of Jet Pack solved my problems. Thumbnails are cropped right at 160X160 now.

    Plugin Author David Lingren

    (@dglingren)

    Thanks for your update with the resolution to the problem you reported. It will be useful to me and to other MLA users in the future.

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

The topic ‘Thumbnail Issues’ is closed to new replies.