Do it via Javascript. Make a or around the image and have a look here:
http://www.w3schools.com/jsref/jsref_ondblclick.asp
Maybe you want to build a display function by yourself to “disable†the link. But keep in Mind: Always provide navigation possible without Javascript enabled.
Hi,
thank you for first answers but i think i didnt describe my wish correct. I didnt mean a action on a mouse doubleclick. When clicking on a thumb image is show bigger (medium). When you click on medium image browser opens the image in original size which is very big on a eos 5d cam. So I would like that when you click on a medium image once the browser should open a new window to display image full size.
Regards Covic
I don't recommend target="_blank" because that is a broken way to do it. The target attribute is not part of either HTML 4.01 Strict of XHTML 1.0 Strict. The method I suggested opens the image in a new window if the user has javascript enabled, and the current window if he doesn't.