Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

msaad's avatar
Level 1

Image Optimization Using CDN in laravel

Hello Friends, I want to ask about image optimization using CDN for the laravel website.

I want to optimize images using CDN for the website. Can you plz help by referring best website or package in Laravel?

0 likes
8 replies
Tray2's avatar

What do you mean by image optimization?

  • Image resizing and converting
  • image hosting that supply optimization
  • or something else

If you mean the first I suggest checking out intervention http://image.intervention.io/ they have a nice package for smooth integration with laravel.

If you mean the second you can check out https://www.cloudimage.io/en/home?utm_campaign=googleads-02_Cloudimage_SE-CDN_Generic-Starters&gclid=Cj0KCQiAnaeNBhCUARIsABEee8VuDY8-TxDBjkmszLdNjux0X16dC-tkvNBB7bX3ZwN-IYUZ85nSBi4aAmDwEALw_wcB

1 like
msaad's avatar
Level 1

@Tray2 I am developing an online food delivery website that contains a lot of item images and others. These images are used at different places with different sizes so I want to use an image optimization by CDN for this instead of storing the same image with the required size on the server.

msaad's avatar
Level 1

@Tray2 Thanks But I want to store images on the self-hosting. I just want to resize images by URL parameters.

I want to do this also to increase the speed of the page & image to load.

Tray2's avatar

@msaad Then you need to store different sizes of your images.

Please or to participate in this conversation.