including image in notification email - any control over display size?

  • Profile Image
    Masalamedia
    Asked on December 31, 2012 at 07:19 PM

    When I include {IMG:yourPhoto} in my notification email, the image is presented at its original size.

    Any way to force that image to display at a different size (i.e. 150X150px thumbnail)?

  • Profile Image
    Welvin
    Answered on December 31, 2012 at 11:09 PM

    Hi,

    Yes that's possible: To specify only the height, follow this format:

    {IMG:uploadPhoto::100}

    To specify only the width. follow this:

    {IMG:uploadPhoto:100}

    This will keep the images sent to your email in a uniform width or height, retaining the original aspect ratio.

     

    Thank you.

  • Profile Image
    Masalamedia
    Answered on January 02, 2013 at 03:58 PM

    Thanks Welvin. Double colons? Extremely obscure! but will put it to use. Thanks.

  • Profile Image
    Mike_T
    Answered on January 02, 2013 at 04:15 PM

    Double colons can be used to auto-calculate missing dimension.

    So the following formats are fine:

    {IMG:uploadPhoto:100:100} - width and height specified;

    {IMG:uploadPhoto:100} - width specified;

    {IMG:uploadPhoto::100} - height specified.

    Thank you.

  • Profile Image
    zemboe
    Answered on May 16, 2015 at 09:00 AM

    Hi Support, I want to ask something additional to this question, is there a way to reduce the image resolution when we include {IMG:yourPhoto} in a notification email?

    My problem is that we ask for maximum resolution uploads for the photos and then we include the thumbnails of them in the notification email. I use the specifier of the size but I can reduce the resolution of the thumbnail so the weight of the attachment of this email sometimes is huge (some includes 20 or more photographs full resolution).

    It will be great if I find a way to make these thumbnails in a lower resolution (for ex. 100 dpi)

    Thank you!

    Eduardo

  • Profile Image
    Jan
    Answered on May 16, 2015 at 11:02 AM

    @zemboe

    This is an old thread. I can see that you already created a new thread. We'll reply to you on your new thread. Thank you.