Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #305511

    In the Portfolio Grid, what does the Portfolio Grid Image Size and Custom Image Size settings really do? Is there really any difference between, say, 180×180 and 450×450?

    It seems that the width of an image being displayed in the grid is simply set, no matter what, to the width of the container divided by the number of columns. The height is then cropped to match the ratio (not the actual size) set by the Portfolio Grid Image Size (if image size is being set manually). If that’s right, then the image will appear the same size for any of the square settings. No?

    I expected the image to be no larger than the Custom Image Size (or the image’s actual size when No Scaling is selected)—scaled down when necessary, but never scaled up. But that is not what happens.

    #305512

    Part of an answer:

    The Custom Image Size setting determines the dimensions of the image sent to the browser, not the size at which it is displayed.

    A file sent at 180×180 will be grainier than one sent at 450×450, if the image has to be up-scaled in the browser to fill the column’s width.

    I still don’t see the algorithm used to create the image file. Sometimes the image is cropped and sometimes it is not.

    #305753

    Hey!

    The cropping is handled by WordPress based on the dimensions set in the functions.php. You can check that file or use this plugin to see their dimensions and crop settings: http://wordpress.org/extend/plugins/simple-image-sizes/

    It will take the longest edge and shrink the image from there if no crop is set which can make very tall or very wide images seem to load in very poorly cropped but its not a theme option we can adjust unfortunately.

    Regards,
    Devin

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.