L
L
Lichail_Leonov2018-10-05 17:07:21
Images
Lichail_Leonov, 2018-10-05 17:07:21

What is the best/easier/correct way to compress photos for a website?

I started publishing articles on my small site and ran into the problem that it takes a long time to reduce photos using Photoshop and the size remains quite large. If you compress too much, then on retina screens you get poor quality. Usually a one-page article and 7-10 full-screen photos.
Tell me what to use and how hard to squeeze, so that everything is like people have.

Answer the question

In order to leave comments, you need to log in

4 answer(s)
S
Shinso, 2018-10-05
@Shinso

Well, I personally use it https://tinypng.com/ I didn’t notice a drop in quality after it

A
AngReload, 2018-10-05
@AngReload

Recently there was a publication https://habr.com/post/422531/
For retina, it is better to make an alternative version of the image using srcset.

X
xmoonlight, 2018-10-05
@xmoonlight

Create an extra folders in /images/ with segmentation for each stop point resolution (for different devices) and convert all original images via ImageMagick.
To load the required - specify the desired through the srcset tag.
Polyfill for older browsers - here .
It is written here as: https://habr.com/post/261625/

M
Mikhail Lyalin, 2018-10-05
@mr_jok

1. Photoshop is like a cannon here
2. Optimize for free using FileOptimizer (as well as other file formats!)
3. make separate output options for different devices

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question