Click here to Skip to main content
15,898,371 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi All,
i want to zoom my image using jquery in asp.net 4.0 i found some solutions on internet but they use two Images for that and i want do this using single image. pls help me to solve this if there is any other way to overcome this pblm pls suggest me. please i need it fast i dont have permission to go home without completing this task.
Thanks in advance
Posted

1 solution

If you take fancybox for example and look at the html source, it is correct that they use two images. This isn't actually necessary because you could use the larger image and also use that as a thumbnail by letting the browser scale it down.
The reason they use two different images is that this way the thumbnails take less bandwidth and therefor load faster. My advice would be to do it that way but if you really don't want to you don't have to of course.

http://fancyapps.com/fancybox/#examples[^]

Good luck!
 
Share this answer
 
Comments
fjdiewornncalwe 20-Jan-12 11:30am    
+5. Agreed.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900