Respect linked_image width and height when adding new image to email
Currently when I set the width and height of a linked_image using HubL that width and height will be overwritten as soon as an end user plugs a new image into their email.
In a responsive design world we need to be able to specify image widths and heights and have those attributes honored even when a newly uploaded image is twice the specified size.
We can’t expect the email creators to understand the design aspects of a responsive email and retina 2x images during the creation process, it’s not their job to have to resize multiple images to sizes that mean nothing to them.
Please honor the specified width and height in the template.
Jamieson Christian commented
Agreed! Email content authors should not have to worry about whether their image is going to cause the email layout to blow up. Unfortunately, it's far to easy for that to happen now.
Lydia Dugger commented
Agreed - I expected the behavior that Charles describes.
It should be noted that specifying the width/height of an image in a template has the same end result as not specifying the width/height in a template -- the width/height of the uploaded/linked image is used by default.
Specifying the width/height of linked_image should force the dimensions to persist.
Not specifying the dimensions should force the uploaded image's dimensions to be used instead.
What should not happen is the same thing regardless of whether or not the parameters are used.