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).
Nov 1, 2016 9:27 AM - edited Feb 7, 2019 10:51 AM
Have you seen how images load in popular apps such as WhatsApp, Instagram, or on Medium's website? This technique is called "progressive image loading" or "the blur up technique" and it's actually not hard to accomplish on HubSpot's COS thanks to it's auto image resizing capabilities.
I wrote a blog post on how to do it, but in short, all you have to do is add a URL parameter to the end of an IMG's src attribute "?width=20" and then you can fade it out once the full size image loads with some javascript. For more details on how to implement this with full width background images, read my blog post.
I'd love to see other ways this can be used or if anyone has tried anything like this in HubSpot.
Jan 25, 2019 1:28 AM
Hi Stefen,
unfortunately the blog article is no longer availabe at the provided link.
Can I find it elsewhere?
Thanks a lot!
Fabian
Feb 7, 2019 10:52 AM
Sorry about that, @FabianP. I've updated the link to a working version.
Feb 8, 2019 12:41 AM
Hey stefen,
thanks a lot for that!
Nov 2, 2016 6:33 AM
Great tip @stefen!
Nov 1, 2016 12:26 PM
Sweet tip @stefen. Thanks for sharing! Definitely bookmarking this for my next project.
Nov 1, 2016 12:55 PM
Thanks @vishnu! You could try and take it a step further and write a script that works with content images rather than just on backgrounds 😉