2 technical questions about image size?
-
hello,
1-when I resize an image in photoshop and I save it I put the width and height in naming at the same time
for example save as :
sport-auto-image 1024-1024.jpg
is this wil be enough to understand wordpress the size of the image or I have to set it also explicitly in html like this :
<img src="sport_auto 1024-1024.jpg" alt="sport auto" width="500" height="600">
2- after studying a little I have decided to use only 2 size of images when I upload it and let wordpress take care of it because I red that wordpress wil automatically give the right size for every resolution.and I see also when I open inspect elements on image and hover on src I see the exact size of delivered image .
I see in media section of wordpress that wordpress created already 3 formats automatically .
1- small 2- medium 3- large format of each image.
I see also there is a lot of opinions about the size of images in google every one telling something.
after searching a while I decided to use only this 2 formats :
1024-1024 and 1920-1080 . I see the moderator of this forum has adviced me few months ago that using 2 format wil be ok.
for last time I ask do you think this 2 formats is enough for responsiveness?
off course I wil use compression and cdn plus webP format and onother plug ins plus Gzip compression,lazyload etc.
thanks
- The topic ‘2 technical questions about image size?’ is closed to new replies.