C9

A full service development agency

0.00/5 (0 Reviews)
About C9
C9 is a team comprised of experienced developers and reliable designers that aims to provide businesses with solutions that will enable the businesses to thrive. Located in Brisbane, Queensland, Australia, C9 can offer a service at a local, national and international level. ...
read more
NA
2 - 9
2006
Australia
C9
A full service development agency
0.00/5 (0 Reviews)
Services

Software & App Development, Web Design & Development, Business Intelligence & Reporting, Dashboards & Web Portals, Integration (Software & Systems), Graphic Design & Branding

Focus
Service Focus
Discussions
You should actually avoid doing this using CSS or JavaScript. I will explain to you why.When the browser starts loading a page, it starts preloading all the images before the loading of the main parser and the interpretation of the page’s CSS and JavaScript. In general, that mechanism seems useful to reduce page-loading times, but it does not help with the responsive images. Hence, you have to create a solution in this case like ‘srcset’. For example, you could not load the ‘img’ element, then detect the viewport using JavaScript, and then make the dynamic changes to the source image to a smaller one if needed. By then, the original image would have already been loaded, and you will attempt to load the small image as well, which is even destructive in terms of a responsive image.  
You should actually avoid doing this using CSS or JavaScript. I will explain to you why.When the browser starts loading a page, it starts preloading all the images before the loading of the main parser and the interpretation of the page’s CSS and JavaScript. In general, that mechanism seems useful to reduce page-loading times, but it does not help with the responsive images. Hence, you have to create a solution in this case like ‘srcset’. For example, you could not load the ‘img’ element, then detect the viewport using JavaScript, and then make the dynamic changes to the source image to a smaller one if needed. By then, the original image would have already been loaded, and you will attempt to load the small image as well, which is even destructive in terms of a responsive image.  

You should actually avoid doing this using CSS or JavaScript. I will explain to you why.

When the browser starts loading a page, it starts preloading all the images before the loading of the main parser and the interpretation of the page’s CSS and JavaScript. In general, that mechanism seems useful to reduce page-loading times, but it does not help with the responsive images. Hence, you have to create a solution in this case like ‘srcset’. For example, you could not load the ‘img’ element, then detect the viewport using JavaScript, and then make the dynamic changes to the source image to a smaller one if needed. By then, the original image would have already been loaded, and you will attempt to load the small image as well, which is even destructive in terms of a responsive image.  

Contact information
au
C9
1 Eagle Street Brisbane, Queensland, Australia, Brisbane, Queensland 4000
Australia
730717442
GoodFirms