By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
459,317 Members | 1,290 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 459,317 IT Pros & Developers. It's quick & easy.

How to enable left click on images and allow next option?

P: 1
HEY,
I am uploading some images to my website using the following for every image:

<img src="http://ghinwahachem.com/wp-content/uploads/2011/07/dsc04274-685x1024.jpg" title="chicago" width="180" height="280" class="alignnone size-large wp-image-159" />

BUT, to enlarge the image, one has to right click, go to view image and then zoom in.
I want people to be able to left click to see the image directly AND if possible go to the next images too just like we see on facebook and other social networks.
Im not sure what code I would have to add to get that.

Thanks a lot,
Ghinwah Hachem
Jul 22 '11 #1
Share this Question
Share on Google+
2 Replies


Rabbit
Expert Mod 10K+
P: 12,430
You'll want to find a good javascript tutorial and start learning that.
Jul 22 '11 #2

P: 10
You need something like this: http://www.lokeshdhakar.com/projects/lightbox2/

Or if you want to use jQuery framework, search in Google the term "jQuery lightbox". An example is this: http://fancybox.net/
Jul 23 '11 #3

Post your reply

Sign in to post your reply or Sign up for a free account.