Mar 27, 2019 11:43 PM - edited Mar 27, 2019 11:44 PM
Hi there,
We've been having an issue where any image uploaded to Hubspot (whether it be a cta image, logo, photo etc) always displays un-crisply on retina displays.
We have tried using @2x pngs, and a bunch of others, but that doesn't change the quality. Inspecting the code, it looks like Hubpsot makes a lower-res copy of the image on their server. The filename is different in the screenshot below than what the image is actually called.
Does anyone have an idea of how to ensure images are super crisp on all types of screens?
Solved! Go to Solution.
Mar 28, 2019 5:59 PM
You could lazy load the images. That would essentially let you use Hubspot's automatic resizing for your own benefit.
This is the solution I ended up using: https://www.bluleadz.com/blog/lazy-loading-images-on-hubspot
Mar 28, 2019 4:47 PM
Thanks for the info guys. We've explored the ?noresize option, but it gets messy with mobile optimisation. Is there an easy way to disable ?noresize for mobile and keep it on larger displays?
Mar 28, 2019 5:59 PM
You could lazy load the images. That would essentially let you use Hubspot's automatic resizing for your own benefit.
This is the solution I ended up using: https://www.bluleadz.com/blog/lazy-loading-images-on-hubspot
Mar 28, 2019 8:52 AM
Mar 28, 2019 8:41 AM
Hello Peter,
HubSpot automatically resizes images to improve page speed but, if the quality of a particular image needs to be higher, you can use ?noresize at the end of the image src to override it. Details here.
I typically find it's not needed for photos, but is useful for logos, images with text... etc.
I hope that helps!
Stephanie
Stephanie O'Gay Garcia
HubSpot Design / Development
If this helped, please mark it as the solution to your question, thanks!