working with srcset(images) taking too much time. I need some advice!
-
hello,
I have created few size images and add to srcset like this:
<div class="about-page-section1-right-side"> <img src="https://webdesignmaster.info/wp-content/uploads/2023/07/auto-reparatie-360-250.webp" srcset="https://webdesignmaster.info/wp-content/uploads/2023/07/auto-reparatie-360-250.webp, 661w, https://webdesignmaster.info/wp-content/uploads/2023/07/auto-reparatie-940-550.webp 941w, https://webdesignmaster.info/wp-content/uploads/2023/07/auto-reparatie-700-350.webp 1560w, https://webdesignmaster.info/wp-content/uploads/2023/07/auto-reparatie-700-350.webp 3000w, https://webdesignmaster.info/wp-content/uploads/2023/07/auto-reparatie-1200-750.webp" sizes="(max-width: 360px) 360px, (max-width: 661px) 661px, (max-width: 941px) 941px, (max-width: 1560) 700px, (min-width:1561) 700px; 1200px" alt="auto onderhoud"></div> </div>
and it did help in google insights to perform beter regarding images with srcset (I know wordpress makes 3 different sizes).
I see also there is picture element like srcset which works the same way as srcset but it is beter.
but the problem is it is taking too much time to write srcset code when you have a lot of images .
I see there is adpative images.net which is very expensive
there is also imgix which has its free version.
I have changed my hosting provider which has litespeed cach and CDN in its packet.
the customer service of my provider wil configure litespeed cache QUIC cdn on thursday for me . I let them do only for the QUIC cdn to see how they make connection with this cdn . otherwise I configured litespeed cache myself.
I tried to find some way to solve it with javascript but it is also takes too much time with images.
I see in Gmetrix I have lower score than GoogleInsights .
I have now disabled litespeed because of problem with QUIC cdn . I see also Jetpack has some improvement.
I need your advice what I have to do to solve this problem .
because tomorrow when I start building a webshop there wil be moer than 100 images. and you can’t make everytime 5 sizes then paste every image with its 5 sizes in srcset . it is not practical.
I see some wordpress srcset plug ins .
what do you advice me to do . just go with srcset code or use srcset plug in I don’t know if srcset plug in wil solve the problem . I didn’t try yet?
is there some way in WordPress with javascript to craete more than 3 sizes images automatically in place of 3 and as default and to spread it autmatically to every resolution?
please just give me some Idea what is the best solution ?
I need only some advices or some good idea’s
thanks
The page I need help with: [log in to see the link]
- The topic ‘working with srcset(images) taking too much time. I need some advice!’ is closed to new replies.