• Resolved fairysale

    (@fairysale)


    Hi!

    I checked all FAQ and threads for this but cannot find the answer…

    After installing the plugin it worked fine. But after I changed the css to not show the titles in the grid the thumbs arent generated propely.

    http://www.baerbelborn.com/videos/

    The thumbs are shown in a square shape on all other pages cut from the featured image correctly, but in the grid they are forced into the square from a rectangle shape.

    Sorry, I cannot describe this issue much better, my english ends here…

    https://ww.wp.xz.cn/plugins/thumbnail-grid/

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author A. Jones

    (@nomadcoder)

    Your images are resizing to 150px x 160px because of a 5px padding on the top and the bottom. By looking at it using developer tools and inspecting the element, it looks like this is a setting applied to all images and coming from your theme. I think the best way to deal with it is to disable this in your custom css. Go to Appearance and look for Custom CSS. If you don’t have that option, you can use a plugin like Simple Custom CSS. Paste in the following. This should only change image settings in the grid.

    .postimage img
    {
    padding-top:0px!important;
    padding-bottom:0px!important;
    }

    Plugin Author A. Jones

    (@nomadcoder)

    Please let me know if this works so that I can mark this as resolved.

    Thread Starter fairysale

    (@fairysale)

    I added the code and saved (because I do not like padding anyway) but the thumbs in the grid are still not shown properly.

    All thumbs behave normal, a square is cut from the center of a rectangle image. But in the grid the rectangles are squeezed into a square shape.

    Please excuse my english, normally it is ok but technical terms like this are giving my a hard time 🙂

    I google “compress” an image, but I get wrong answers for that…

    No idea why the grid works that way, yesterday I added an additional plugin to edit thumbnails but still all thumbs work fine except the grid ones.

    Thread Starter fairysale

    (@fairysale)

    PS: I could solve the problem by always adding square featured images to all posts, but for some other reasons I need to keep some images as a rectangle

    Plugin Author A. Jones

    (@nomadcoder)

    Oh, I misunderstood your issue. I think what you want is proportional sizing…set the width=”auto” in the shortocde but leave the height as “150” or whatever your height should be. Tha way, the width will stretch proportionately.

    Like this:

    [thumbnailgrid height=”150″ width=”auto”]

    Thread Starter fairysale

    (@fairysale)

    That did the job, thank you so much!

    Plugin Author A. Jones

    (@nomadcoder)

    Great!

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

The topic ‘squeezed thumbs’ is closed to new replies.