Featured New Release

Studio: Archangel
Release date: 8/23/2019


All smartbuydisc.rus > Tech Talk > Image display (resize stuff)
AuthorPost

Senior Member

1178 Posts
12/12
Posted - Feb 2 2019 : 4:22AM
Since the new image server is active, I often come around lots of really blurry images in the smartbuydisc.ru.
Upon inspection I see that the blurry images are only 320px in width, and only when I maximize my browser window, I get the sharp one (full size).
e.g.
https://img1-ps.adultdvdtalk.com/x2c95faf0b398428cb850-320.pagespeed.ic.K0scHNQCpQ.jpg
vs
https://img1-ps.adultdvdtalk.com/x2c95faf0b398428cb850.pagespeed.ic.O48B53lplq.jpg
That changeover happens when the table gets wider than 1186 pixels (or the image itself gets wider than 986 pixels)
I usually have my browser ~1200pixels wide (which means the table is 1128 px wide), and I think itís not that uncommon that you donít always surf in maximized mode.
I know the reason for doing so, but would it be possible to lower the threshold? Or add in another intermediary lever, e.g. a 640px or 800px wide image?
Cheers,
Lex

Always hopeful yet discontent

Changes aren't permanent
933 Posts
9/99
Posted - Feb 2 2019 : 8:12AM
There are a few other sizes presented to your browser to choose from based on the size of the original image. The code generates alternates of 320, 640, 800, 1024, and 1280 up to the width of the original image. (If the image that was uploaded is only 800px wide then it won't create the 1024 and 1280 versions.)
The browser is ultimately responsible for deciding which image it fetches from the list of options.
Edited by - Drew Black on 2/2/2019 9:14:19 AM

Always hopeful yet discontent

Changes aren't permanent
933 Posts
9/99
Posted - Feb 2 2019 : 8:23AM
I do see a bug in the code. There are two images in the srcset list for 1280w. I'll check it out later today.


img src="https://img1-ps.adultdvdtalk.com/x5a2eab2200eb4740b.pagespeed.ic.JNjlU-hcZs.webp" height="853" width="1280" alt="99576_354.jpg"
srcset="https://img1-ps.adultdvdtalk.com/x5a2eab2200eb4740b.pagespeed.ic.JNjlU-hcZs.webp 1280w,
https://img1-ps.adultdvdtalk.com/x5a2eab2200eb4740b-320.pagespeed.ic.cvg5EtMaen.webp 320w,
https://img1-ps.adultdvdtalk.com/x5a2eab2200eb4740b-640.pagespeed.ic.zhJqtVbStg.webp 640w,
https://img1-ps.adultdvdtalk.com/x5a2eab2200eb4740b-800.pagespeed.ic.kz2r8CXKDW.webp 800w,
https://img1-ps.adultdvdtalk.com/x5a2eab2200eb4740b-1024.pagespeed.ic.0pcHwoW-cp.webp 1024w,
https://img1.adultdvdtalk.com/5a2eab2200eb4740b-1280 1280w"
sizes="(min-width:1260px) 1280px,
(min-width:300px) 320px,(min-width:620px) 640px,(min-width:780px) 800px,(min-width:1000px) 1024px,(min-width:1250px) 1280px" class="forumimage"
[/code]


Always hopeful yet discontent

Changes aren't permanent
933 Posts
9/99
Posted - Feb 2 2019 : 9:50AM
I think it should be better now.

Always hopeful yet discontent

Changes aren't permanent
933 Posts
9/99
Posted - Feb 2 2019 : 9:54AM
And thanks for bringing this up. I had no idea it was broken. Things look much better now.



Jump To:

Online porn video at mobile phone