Jump to content
Sign in to follow this  
creativeone

Image Popup Zoom in Zoom Out no right click no image save

Recommended Posts

I have added this contribution and some images look great when popped up others are stretched to wide. I believe this is the code that is the trouble maker

 

<body onload="resize();">

<div align="center">

<p><strong><font size="1" face="Verdana, Arial, Helvetica, sans-serif">Click

On Image To Zoom In</font></strong></p>

<p><font size="1" face="Verdana, Arial, Helvetica, sans-serif"><strong>Click

On Image To Zoom Back Out</strong></font></p>

<p><img src="<?php echo DIR_WS_IMAGES . $products['products_image'] ?>" width="175" height="260" onmouseover="java script:izClick(this,'<?php echo DIR_WS_IMAGES . $products['products_image'] ?>',400,420,5);" />

</p>

</div>

 

When I change the width="175" to anything the image sizes change. However, images that are square look longer and thinner. Is there a way to change this? Thanks

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×