have a look at imagekit.io.
You can store the image in the original format, and then they will create versions on the fly as they are accessed. It then also caches the result and acts as a CDN.
Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.
Hello. I'm currently managing an ecommerce store built on Laravel featuring thousands of products. When adding a product, we store the image, create multiple sizes, watermark them and host them all in DigitalOcean Spaces. This causes massive headaches with maintainability, for example if we want to add a new image size or a watermark.
Is there a better way, from a maintenance point of view to host these assets? Should we stick to creating thumbnails during upload and storing in cloud object storage, or would it be better to spin up a new DigitalOcean droplet, host the assets there and then use a CDN such as Cloudflare or BunnyCDN to do the resizing, watermarking, etc?
Just curious to know what other people are doing and/or if there is anything within the Laravel ecosystem that helps with this. Any advice would be massively appreciated. Thanks
Please or to participate in this conversation.