I suggest you ...

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.

33 votes
Vote
Sign in
Check!
(thinking…)
Reset
or sign in with
  • sso
  • facebook
  • google
    Password icon
    Signed in as (Sign out)
    You have left! (?) (thinking…)
    CharlesCharles shared this idea  ·   ·  Flag idea as inappropriate…  ·  Admin →

    5 comments

    Sign in
    Check!
    (thinking…)
    Reset
    or sign in with
    • sso
    • facebook
    • google
      Password icon
      Signed in as (Sign out)
      Submitting...
      • nancynancy commented  ·   ·  Flag as inappropriate

        I must say I don't have this problem; if I specify the image dimensions using hubl, I believe they do stay. However, you want to keep things modular for your content authors so I don't specify this ( I try surrounding the image in a div and specifying that instead when creating the template). This way, the content author could reduce/increase size dimensions on their image upload using the "adjust size" + and - buttons in the image modules. Maybe try using those?

      • ErinErin commented  ·   ·  Flag as inappropriate

        Agreed! It's hard to believe that HS has no solutions/documentation for handling retina images considering how much they emphasize the importance of responsive design.

      • Jamieson ChristianJamieson Christian commented  ·   ·  Flag as inappropriate

        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.

      • CharlesCharles commented  ·   ·  Flag as inappropriate

        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.

      Feedback and Knowledge Base