How can I optimize images on my site?
DanielKeith 23 Light Poster
cellalpha commented: Here's how to optimize images for the web: Name your images descriptively and in plain language. Optimize your alt attributes carefully. Choose your i +0
simon01 commented: 5 steps. #1 – Prepare The Image and Make Sure It’s Saved Properly #2 – Run the Image Through a Compression Tool #3 – Upload the Image to Your Website +0
Digital_Muneer commented: If you are using WordPress then try Gzip compression plugin to optimize the images +0
Recommended Answers
Jump to PostUse next-gen image formats. Photos should be JPEGs, animated images should be GIFs, icons and vectors that need to scale should be SVGs, and everything else shoudl be PNGs.
Jump to PostOh, the latest version of Google Chrome also now supports
<img loading="lazy">
to lazy load images without javascript.
Jump to PostWondering why nobody has mentioned webp?
Jump to PostName your images descriptively and in plain language.
Optimize your alt attributes carefully.
Choose your image dimensions and product angles wisely.
Reduce the file size of your images.
Google recommends using WEBP format images which are better in compression with same quality like jpeg , png etc
Jump to Post-Save images as JPEGs whenever possible.
Try .webp actually :)
Another alternative (that's a bit more brute force or heavy handed) is to use a CDN such as Cloudflare, which serves all your images from its super fast servers, and automatically optimizes them as .webp to boot. Cloudflare …
All 55 Replies
Dani 4,084 The Queen of DaniWeb Administrator Featured Poster Premium Member
nikitacod 0 Junior Poster in Training
Dani 4,084 The Queen of DaniWeb Administrator Featured Poster Premium Member
Mediamavericks 0 Newbie Poster
chiragm984 -3 Newbie Poster Banned
aarticod 0 Junior Poster in Training
boxing 0 Newbie Poster Banned
pritaeas 2,194 ¯\_(ツ)_/¯ Moderator Featured Poster
Shailender_1 0 Newbie Poster
Microsys 0 Newbie Poster
kavitabhaskar -3 Newbie Poster
subhodip 0 Newbie Poster Banned
ianwallace79 0 Newbie Poster
Jack_62 0 Newbie Poster
jamesbrown93776 -3 Newbie Poster Banned
rakeshkapoor992 15 Newbie Poster
kevinthomppsonn 0 Newbie Poster
chrisjames 0 Newbie Poster Banned
seigell971 0 Newbie Poster Banned
katebonner 0 Newbie Poster
Himanshu77 0 Newbie Poster
JeanMilburn 15 Newbie Poster
priyanka_38 0 Newbie Poster
MikeHunterr 0 Newbie Poster
_1_1 -3 Newbie Poster
rproffitt commented: Make this a tutorial on Daniweb rather than buried on page 2 of a very old discussion. -3
Doodledigital 0 Newbie Poster Banned
Rushba 0 Newbie Poster
geekinformatic 0 Newbie Poster
bracknelson445
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.