What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Skype & Technology » Tech Talk » Click- Image enlarge

Click- Image enlarge
Author: Message:
CookieRevised
Elite Member
*****

Avatar

Posts: 15519
Reputation: 173
– / Male / Flag
Joined: Jul 2003
Status: Away
RE: Click- Image enlarge
So am I....

The 500KB is the "extra" data needed to load for the thumbnails only.


Example 1: without the aid of a thumbnail

blah1.png to blah10.png are 1024x1024x32b images which are 2MB in filesize each.

<a href="blah1.png"><img src="blah1.png" width="100" height="100"></a>
<a href="blah2.png"><img src="blah2.png" width="100" height="100"></a>
etc...

Yes, after a extremely long wait the images are preloaded and when you click on a thumbnail the image appears instantly, but everyone (broadband users as well as 56K'ers) will load ALL the images at once. That is 10x2MB=20MB of data, just to see the thumbnails only!!! Imagine the long wait for 56K'ers...



Example 2: with the aid of a thumbnail

blah1.png to blah10.png are 1024x1024x32b images which are 2MB in filesize each.

blah1THUMB.png to blah10THUMB.png are 100x100x4b images which are 500 bytes in filesize each.

<a href="blah1.png"><img src="blah1THUMB.png" width="100" height="100"></a>
<a href="blah2.png"><img src="blah2THUMB.png" width="100" height="100"></a>
etc...

When the page is loaded, only 10x500 bytes= 5KB is to be loaded. This is both for 56K'ers as well as for broadband user extremely faster then the 20MB needed in the first (bad) example.

When the users wants to view an image in full, he clicks on the 500 byte thumbnail and the original full image is loaded. This is each time 2MB.

In the end, and when the user clicked on every thumbnail (which in practice very rarely occurs) he will have loaded 20MB+5KB in data. That's only 5KB data more then in the first example, yet he had a very quick viewing experience when the page initially loaded.

5KB is also something a broadband user will not feel at all, especially compared to 20MB. And even a 56K'er will not feel the extra 5KB much.

---------

Using the HTML resize elements width and height on big pictures to simulate thumbnails is ALWAYS a bad thing to do. There are no advantages for example 1 at all, it is simply a very bad practice...

This post was edited on 08-16-2005 at 11:47 AM by CookieRevised.
.-= A 'frrrrrrrituurrr' for Wacky =-.
08-16-2005 10:22 AM
Profile PM Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
Click- Image enlarge - by Supersonicdarky on 08-15-2005 at 02:17 PM
RE: Click- Image enlarge - by Veggie on 08-15-2005 at 02:20 PM
RE: Click- Image enlarge - by absorbation on 08-15-2005 at 02:20 PM
RE: RE: Click- Image enlarge - by Supersonicdarky on 08-15-2005 at 02:23 PM
RE: Click- Image enlarge - by Ezra on 08-15-2005 at 02:27 PM
RE: RE: Click- Image enlarge - by Supersonicdarky on 08-15-2005 at 02:28 PM
RE: Click- Image enlarge - by Concord Dawn on 08-15-2005 at 02:35 PM
RE: Click- Image enlarge - by Supersonicdarky on 08-15-2005 at 02:43 PM
RE: Click- Image enlarge - by Rubber Stamp on 08-15-2005 at 03:36 PM
RE: Click- Image enlarge - by CookieRevised on 08-15-2005 at 03:40 PM
RE: Click- Image enlarge - by Rubber Stamp on 08-15-2005 at 03:46 PM
RE: Click- Image enlarge - by Veggie on 08-15-2005 at 03:49 PM
RE: Click- Image enlarge - by Millenium_edition on 08-15-2005 at 03:57 PM
RE: RE: Click- Image enlarge - by CookieRevised on 08-15-2005 at 04:19 PM
RE: Click- Image enlarge - by Veggie on 08-15-2005 at 04:00 PM
RE: Click- Image enlarge - by Millenium_edition on 08-15-2005 at 04:23 PM
RE: Click- Image enlarge - by CookieRevised on 08-16-2005 at 10:22 AM
RE: Click- Image enlarge - by L. Coyote on 08-16-2005 at 11:40 AM
RE: Click- Image enlarge - by Rubber Stamp on 08-16-2005 at 04:48 PM
RE: Click- Image enlarge - by Ezra on 08-16-2005 at 04:54 PM
RE: Click- Image enlarge - by Rubber Stamp on 08-16-2005 at 04:57 PM


Threaded Mode | Linear Mode
View a Printable Version
Send this Thread to a Friend
Subscribe | Add to Favorites
Rate This Thread:

Forum Jump:

Forum Rules:
You cannot post new threads
You cannot post replies
You cannot post attachments
You can edit your posts
HTML is Off
myCode is On
Smilies are On
[img] Code is On