How to change size of uploaded image in my email notification

  • Profile Image
    straypetalert
    Asked on July 20, 2015 at 01:56 PM

    I have a form that allows the customer to upload pictures of missing pets. Some come through extra Large in size and they are hard to view in emails. Is there a way to control the size of photos submitted?

  • Profile Image
    BJoanna
    Answered on July 20, 2015 at 03:36 PM

    Thank you for contacting us.

    Unfortunately it is not possible to change size of images that are shown inside of your Email Notification. 

    You can try to use Image Upload Preview widget where you can set width and height of your uploaded images.

    Hope this will help. Let us know if you need further assistance.

  • Profile Image
    BJoanna
    Answered on July 21, 2015 at 05:16 PM

    My colleague mentioned me that it is actually possible to change size of uploaded image in email notification.

    To specify the height of image inside of email notification, follow this format:

    {IMG:uploadPhoto::100}

    To specify only the width of image inside of email notification, follow this format:

    {IMG:uploadPhoto:100}

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

    To specify width and height both use this format {IMG:uploadPhoto:100:100}.

    Please note that 'uploadPhoto' is representing name of your field. Probably in your case this name will be different. To find out what is name of some field, click on the field and inside of Properties you can find name of the field.

    Hope this will help. Let us know if you need further assistance.