• Hi,

    I have set thumbnail dimensions to 180×120 px with “Set fix dimension” option selected on Thumbnail settings page. New uploaded pictures are added with thumbnails of this size and “regenerate thumbnails” feature works as expected.

    But, I have an issue when using Edit Thumb action on Manage Gallery page. In Customize Thumbnail dialog, I select an area I want to be a thumbnail and press the Update button. Image thumbnail updates, as expected.

    Thing is, thumbnails customized this way do not always have size 180×120 px I set in options. I found 180×119 or 180×118 thumbnails.

    I would not notice this unless my post with a gallery shows up with corrupted layout. I think it is related to different thumbnails dimension.

    Workaround I found so far is to use Edit Thumb action to select a different area until I get 180×120 thumbnail – very annoying indeed.

    Did someone observe this behaviour? How to fix?

    (Original picture is about 1770×1200 and I select a relatively small area for thumbnail. Maybe a dimension ratio problem when selecting area for thumbnail?)

    Thanks.

    http://wordpress.org/extend/plugins/nextgen-gallery/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter qwertysimo

    (@qwertysimo)

    I made a screencapture, zoomed to pixel level:
    http://qwerty.sk/images/snap00052.jpg

    Top left image is 180×119, top right image is 180×120.

    How to make Edit Thumb action to produce thumbnail of preset size??

    Thread Starter qwertysimo

    (@qwertysimo)

    I have another workaround: I edited file edit-thumbnail.php:

    Line
    hT = coords.h;
    replaced with
    hT = Math.round( coords.w / 1.5 + 0.5 );

    (1.5 = my aspect ration (180/120)).

    I am getting exactly 180×120 thumbnails now.

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

The topic ‘"Customize thumbnail" output dimensions’ is closed to new replies.