Re: [reason-discussion] Resizing of Feature images

11 views
Skip to first unread message

Nathan White

unread,
May 10, 2013, 10:39:14 AM5/10/13
to reason-d...@googlegroups.com
Hi Travis -

By default Reason CMS resizes anything that has height or width
greater than 500. These thresholds can be changed instance wide - in
reason_settings.php see:

REASON_STANDARD_MAX_IMAGE_HEIGHT
REASON_STANDARD_MAX_IMAGE_WIDTH

There isn't a way to control these site by site as of now - but
hopefully this is helpful.

Best,


Nate

On Thu, May 9, 2013 at 8:14 AM, Travis <thui...@gmail.com> wrote:
> Hi,
>
> We have a question regarding features and their larger image size of 716 by
> 288. By default, Reason will downsize any image that is larger than 500
> pixels wide. As such, with feature images uploaded by users that aren't
> aware of this, their images are then downsized from 716 to the default 500.
> Is the only way to prevent this at the moment is with the "do not resize"
> toggle? Or does something need to be changed in our Reason settings?
>
> Thank you.
>
> --
> You received this message because you are subscribed to the Google Groups
> "Reason Discussion" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to reason-discuss...@googlegroups.com.
> To post to this group, send email to reason-d...@googlegroups.com.
> Visit this group at
> http://groups.google.com/group/reason-discussion?hl=en-US.
> For more options, visit https://groups.google.com/groups/opt_out.
>
>

Nathan White

unread,
May 10, 2013, 10:54:20 AM5/10/13
to reason-d...@googlegroups.com
Hi Travis - another note on this ... Mark just reminded me that
feature images use the sized_image.php class, which attempts to use
the original image file when available. When you upload an image to
Reason CMS, it stores the resized 500 pixel sized version (which is
what typically shows up to the user), but we also store the original.
If you go to the "preview" view of an image, there will be a link to
see the original image file.

The sized_image.php class uses that original full dimension image as
the source material when it resizes to the feature default size. So
... even though the image content manager create the 500 pixel
version, your feature images should be sized down from the original,
not up from the 500 pixel version.

If this isn't happening, perhaps some prior version of the
sized_image.php class used the downsized version instead of the
original.

Nate
Reply all
Reply to author
Forward
0 new messages