We use cookies to improve your experience. No personal information is gathered and we don't serve ads. Cookies Policy.

ExpressionEngine Logo ExpressionEngine
Features Pricing Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University
Log In or Sign Up
Log In Sign Up
ExpressionEngine Logo
Features Pro new Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University Blog
  • Home
  • Forums

Image optimization

Development and Programming

Torch's avatar
Torch
40 posts
4 years ago
Torch's avatar Torch

I’m curious what people are doing to optimize images on upload. I have clients that like to upload 10MB+ size images (they don’t know any better) and out of the box, ExpressionEngine just accepts them this way. Obviously an optimization issue, but I’m curious how others handle this?

In the past I’ve used the native image manipulations, CE image addon… I’m wondering what are some more modern solutions are to this? Any new addons, or maybe resizing CDNs people are using?

Simple problem that Wordpress handles easily, I’ve just never been very happy with the way EE handles images natively, but I do love the product (user for 8 yrs).

Much appreciated.

       
Rob Allen's avatar
Rob Allen
3,105 posts
4 years ago
Rob Allen's avatar Rob Allen

I do a few things:

  1. Client education - I suggest various software tools they can use for optimising images (and PDF’s) before upload
  2. Set maximum file size in upload directory settings
  3. Reduce number of images used in UI and content
  4. Over-optimise image manipulation JPG’s, if you serve say a 960x960 image optimised to 20/30/40% you can drastically reduce file size, if you then display the image smaller, say 480x480, you’ll usually barely notice, works well for photographic images + benefit of smaller file sizes
  5. Encourage more savvy clients to use tools such as https://yellowlab.tools/ which helps pinpoint issues, not just with images
  6. Serve images from the real domain, reduces 3rd party DNS lookups
       
Tom Jaeger's avatar
Tom Jaeger
449 posts
4 years ago
Tom Jaeger's avatar Tom Jaeger

All good suggestions from Rob.

Also thought it’s worth mentioning that JCOGS Image is a drop in replacement for CE Image.

       
Torch's avatar
Torch
40 posts
4 years ago
Torch's avatar Torch

All great stuff, thank you Rob. JCOGS is something I wasn’t aware of, definitely will check that out. Thank you for such quick responses!

? 1
       
5BYFIVE Creative's avatar
5BYFIVE Creative
159 posts
4 years ago
5BYFIVE Creative's avatar 5BYFIVE Creative

Good stuff already, lately I’ve been considering using a CDN because a couple sites we manage have gigabytes of images now. Sometimes server space runs out.

       
Torch's avatar
Torch
40 posts
4 years ago
Torch's avatar Torch

I’ve always liked the Assets add-on and using an Amazon S3 bucket behind Cloudfront for storage. Still need to handle if clients upload huge images but at least you’re serving from a CDN.

       
awoodman's avatar
awoodman
1 posts
3 years ago
awoodman's avatar awoodman

Image optimization is very important for website SEO. To optimize images on your website, upload webp images. Webp images shorten the size of your images and ultimately your website loading time becomes good. I used this strategy for Dr. Maysoon one of my clients. He is running an e-commerce store and you know that on an e-commerce website there are a lot of images, and if we don’t optimize it, it will hurt the website speed. So, if you love this strategy try to implement it, this will be going to rock.

       
henrypope's avatar
henrypope
5 posts
3 years ago
henrypope's avatar henrypope

please

       
henrypope's avatar
henrypope
5 posts
3 years ago
henrypope's avatar henrypope

like

       

Reply

Sign In To Reply

ExpressionEngine Home Features Pro Contact Version Support
Learn Docs University Forums
Resources Support Add-Ons Partners Blog
Privacy Terms Trademark Use License

Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.