I want the prettyPhoto plugin to be invoked by clicking the div class = 'image'.
Necessarily you should be clicking the div in which I have the image without adding link elements or others.
Someone to help me please. I share the code.
<link rel="stylesheet" type="text/css" href="css/prettyPhoto.css">
<script type="text/javascript" src="js/jquery.prettyPhoto.js"></script>
<div class="image" style="background-image: url(../image.jpg);" rel="prettyPhoto">
</div>