I have a prettyphoto implementation in my site.And my problem is that according to the size of image prettyphoto layout always changes.I would like to make it a fixed size. I have tried making the href
of link to a specific size image.But it is not working. The code as far as i tried
<a class="zoom" id="zoom-image" height="290" width="267" href="/images/imagehandler.ashx?path=/product-images/334.jpg" >
<img id="large-image" src="/images/imagehandler.ashx?path=/product-images/334.jpg&width=267&height=290">
</a>
In prettyphoto.js script change the code
pp_dimensions = _fitToViewport(imgPreloader.width,imgPreloader.height);
to this code -
pp_dimensions = _fitToViewport(800, 800);
Collected from the Internet
Please contact [email protected] to delete if infringement.
Comments