We use cookies to make HubSpot's community a better place. Cookies help to provide a more personalized experience and relevant advertising for you, and web analytics for us. To learn more, and to see a full list of cookies we use, check out our Cookie Policy (baked goods not included).
HubSpot automatically compresses images, CTAs - either custom image or the out of the box Hubspot stylings -- do not look crisp, clear and high-res on retina displays.
Add support for retina and otherwise address the image quality loss in CTAs.
Interesting, thanks for confirming @jhachquet. That sounds like a good plan, we'll be in touch with support on our side and get to the bottom of what you're seeing. Thanks again!
Hi @jhachquet, @mitchellkp, @AnastasiaSG, @Annie_B, looping back on this, this is indeed a brand new feature, but I should have mentioned in the original post that it's part of the new CTA app specifically, not available in the legacy version. All customers should have the ability to move to the new editor since Feb 20th via a message in the bottom-right of the old CTA app, but if you're seeing any issues with that definitely let me know. (Some more info on the new app can be found here).
Some details on what actually changed here, previously even if you uploaded a 2x image into CTAs (let's say a 200x200px image for a 100x100px CTA) the moment that the CTA was sized to it's final dimensions (100x100px) the original image would then be resized down to 100x100px too. This is what made things so fuzzy. With this update to the CTA rendering engine, if an image is uploaded at 200x200px for a 100x100px CTA, we store the original size, and made a second copy of it at 100x100px and serve both versions with the CTA when it's rendered on your site and in email. We take advantage of a HTML attribute called srcset which allows us to provide two separate URLs for two different images, one at 100x100px and another at 200x200px and then the browser/device picks which one it's going to use to load the image depending on the pixel density of the screen it's loading on. This scrset attribute works for both websites and most major email clients so it should kick in across the board.
This also works for button-based CTAs (the out of the box CTAs) when used inside emails too. When building a button-based CTA, it's turned into an image to be used in the email, and provided at a 1x, 2x, 3x and 4x resolution in the mail to be sure it shows up as crisp as possible. A note on buttons in emails though, right now button CTAs show up in emails as images, this is due to a limitation on the options to render standard HTML in email clients, a lot of HTML isn't supported so the only way we can be sure it'll look correct is by turning it into an image. We're actively looking into creating a way for customers to build proper HTML buttons for emails that are built using email-safe HTML and at that point buttons will always render as HTML and never require an email, but in the meantime these buttons are also rendering as retina-supported images, no work needed from you, that part's automatic.
I hope this helps shine a little light on it, if there's anything I can clarify or if you have any follow up quesitons definitely let me know.
Hi all, this update to CTAs is now available to everyone. To learn a little more about how it works and to try it out, check out the top section of our guide here: https://knowledge.hubspot.com/cta-user-guide-v2/how-to-create-a-call-to-action-cta-with-a-custom-image
Thanks!
Hi all, some really good news here, after a substantial amount of research and work to rebuild CTAs we now have a beta of a re-implemented image rendering for CTAs that supports retina optimisation right out of the box. We'll be rolling this out to all customers over the course of the next few weeks. Stay tuned
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.