• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
1

How to optimize images for web performance?

Community Beginner ,
Apr 19, 2019 Apr 19, 2019

Copy link to clipboard

Copied

Hi guys!

 

I am using photoshop to edit all images before i upload them to my website.

I am not an expert "photoshoper" but I have some basic understanding.

 

My issue is, how do you guys prepare all your pictures before uploading them to web?

I am resizing everything (reduce 4k images size to 1280xToAnything) and then exporting it for web as a JPEG high quality format.

 

The thing is, I don't get small (less than 50kb pictures) pictures without any pixeled area (low quality, even exported as high quality jpeg).

If I would export as a PNG format, then it would be much better but also size increases.

 

I saw a lot of websites that use huge background images and they don't lose any image quality nor is it taking long for loading (website speed).

Please don't talk about using CDN (cloud delivery networks) I know them, just keep it only at the Photoshop side.

 

If you want to check the website i am working on, is [link removed by a moderator] it is a lawyer website.

As you see, i am using small images, so it is harder to see any image quality loss.

 

Thank you!

TOPICS
Web

Views

2.4K

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

Community Expert , Apr 19, 2019 Apr 19, 2019

Use File >Export > Export As.

Move the quality slider down to reudce file size.

If your image has sufficient total pixels (height x width), you should not notice much if any quality loss.

In this example, my 1x image is  900 x 900 for a total of 810,000 pixels.   File size is well below 300 KB.

PS-export2x.jpg

An online example from my Portfolio.

Votes

Translate

Translate
Adobe
LEGEND ,
Apr 19, 2019 Apr 19, 2019

Copy link to clipboard

Copied

These sites which deliver: have you downloaded and examined their files? Especially, to examine their file sizes and pixel dimensions?

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Apr 19, 2019 Apr 19, 2019

Copy link to clipboard

Copied

Yes, they have also big image size (about 1280xWhatEver or sometimes even 1920xWhatEver) but some how they are very small from 50kb to 100kb but with no quality loss. Thats exactly what happens to me when I export in photoshop to web.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Participant ,
Apr 19, 2019 Apr 19, 2019

Copy link to clipboard

Copied

Hi

Understand that when you upload Jpeg's to your Wordpress Media uploader, Wordpress automatically compress them to 82% quality.

So, don't go too drastic about optimizations.

Your images have a width of 1280px and it's container has a width of 880px net (not counting paddings). So, you could go 2x the size in pixel. (for retina display)

Your images look washed out, use Curves to give them some contrast.

Pierre

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Apr 19, 2019 Apr 19, 2019

Copy link to clipboard

Copied

Please post two links.

One to your own image, which is too big for your wishes.

One to an image of the same pixel size, from another site, which is as small as you wish.

Perhaps we can explain the difference.

Do not email the images! We will not see the true original, we need the link.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Apr 19, 2019 Apr 19, 2019

Copy link to clipboard

Copied

Use File >Export > Export As.

Move the quality slider down to reudce file size.

If your image has sufficient total pixels (height x width), you should not notice much if any quality loss.

In this example, my 1x image is  900 x 900 for a total of 810,000 pixels.   File size is well below 300 KB.

PS-export2x.jpg

An online example from my Portfolio.

Nancy O'Shea— Product User, Community Expert & Moderator

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Apr 19, 2019 Apr 19, 2019

Copy link to clipboard

Copied

There are other ways to improve page speed starting at the hosting level.  GZIP Compression makes a big difference.  Also a WordPress hosting plan is usually better than ordinary hosting because it's optimized specifically for WordPress sites.

Run your site through Google Page Speed Insights for more tips on improving performance.

https://developers.google.com/speed/pagespeed/insights/

Nancy O'Shea— Product User, Community Expert & Moderator

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Apr 19, 2019 Apr 19, 2019

Copy link to clipboard

Copied

I thought that the only difference where that wordpress is pre installed and there are some specialized functionality like easy backups and restore and so on.. I will take a look into that!

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Apr 19, 2019 Apr 19, 2019

Copy link to clipboard

Copied

Wordpress hosting example: https://www.clook.net/wordpress-optimised-hosting/  ....

I'm not a user of Wordpress but generally don't most Wordpress themes use frameworks like Bootstrap which will always add bloat and plugins will add further bloat. Maybe research and look for some 'lighter' Wordpress themes that meet your needs.

As Nancy says use the Google Page Speed Tool and it will give you a lot of information on where you can speed up your site (minification, compression of images etc).

Good hosting will have Brotli compression with GZIP compression fallback - see here for a quick test.

Paul-M - Community Expert

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Participant ,
Apr 19, 2019 Apr 19, 2019

Copy link to clipboard

Copied

Hi

I'm not a user of Wordpress but generally don't most Wordpress themes use frameworks like Bootstrap which will always add bloat and plugins will add further bloat. Maybe research and look for some 'lighter' Wordpress themes that meet your needs.

See my post #7. Leaner, meaner, faster way to use wordpress.

Pierre

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Participant ,
Apr 19, 2019 Apr 19, 2019

Copy link to clipboard

Copied

Hi

improve page speed

My 2cent, Reduce the use of plugins (probably your main problem) and use a better theme : https://diythemes.com/

I'v been using Thesis framework for more than 10 years. Focus is it's new Skin.

Pierre

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Apr 19, 2019 Apr 19, 2019

Copy link to clipboard

Copied

LATEST

My $0.02. There is huge difference in size between image 1280x something filled with solid color, a few colors and continuous tone image with million of colors, just keep that in mind. More colors bigger file size.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines