Jump to content


Photo

HTML Alt img


  • Please log in to reply
2 replies to this topic

#1 ChristianC123

ChristianC123
  • New Members
  • Pip
  • Newbie
  • 2 posts

Posted 17 July 2017 - 12:59 AM

[[ split from HTML Alt img --requinix ]]

When i seen this question ,can we use alternative image for an image.means if actual  image not load  due to slow connection or any other issue,is there any chance to load alternative image with less size.
 
Regards,
Christian

Edited by requinix, 17 July 2017 - 07:27 AM.


#2 requinix

requinix
  • Administrators
  • Lazy Administrator
  • 9,255 posts
  • LocationWA

Posted 17 July 2017 - 07:31 AM

How do you know the connection is slow? You have to wait some amount of time and check if the image loaded. If not then you try another image? What if that's too slow? What if you interrupted the image while it's loading? You know that common image types have a special behavior for when they're being loaded slowly? You'll be throwing that away.

People with slow connections are used to stuff being slow. If you want to help out those on mobile connections then try CSS's media queries: you can load smaller images for smaller devices and larger images for larger (and presumably faster) devices.
The Reimann Zeta Function Trolley Problem | "Summer is when I, the great ice fairy, can show my true power!"

#3 irrfanahmed

irrfanahmed
  • New Members
  • Pip
  • Newbie
  • 1 posts

Posted 08 September 2017 - 08:04 AM

You can use CDN for your image load time or website load time speed. I have used for my client design agency & now the client is happy with this. 
You should use CloudFlare for this.

Edited by requinix, 08 September 2017 - 08:12 AM.
removing links





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users