Support the ongoing development of Laravel.io →
Views Packages Installation

I've got Intervention running with Bootstrap but regardless of what I do I end up loading the full image on the page even though I can access the resized and cached versions directly via the url.

I've confirmed that the images are being resized and cached.

<img alt="image" class="background-image" src="img/digital-marketing-agency.jpg" srcset="imagecache/100/digital-marketing-agency.jpg 100w,imagecache/300/digital-marketing-agency.jpg 300w,imagecache/600/digital-marketing-agency.jpg 600w,imagecache/900/digital-marketing-agency.jpg 900w,imagecache/1200/digital-marketing-agency.jpg 1200w,imagecache/1600/digital-marketing-agency.jpg 1600w,imagecache/1800/digital-marketing-agency.jpg 1800w">

Admittedly not the most elegant way to do it. At the moment, I'm just copy and pasting while I try to get it working.

What would be a good way to build out the src-set links using the src link as the base source and get this working with Bootstrap?

Last updated 3 years ago.
0

Sign in to participate in this thread!

Eventy

Your banner here too?

Baadier baadier Joined 12 Nov 2015

Moderators

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2025 Laravel.io - All rights reserved.