function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Tanya ShahTanya Shah 

How to enlarge image ?

  I have an image where i need to zoom in and zoom out the image . How do i go about it . Not getting proper solutions until now .
            
<apex:image id="theImage" value="https://s3.amazonaws.com/{!bucketToList}/{!obj.key}?AWSAccessKeyId=AKIAJGN4J4RSRNW26IEA&amp" width="100" height="100"> </apex:image>
  Please help .
PratikPratik (Salesforce Developers) 
Hi Tanya,

You can write the logic of image enlage/zooming in <apex:image> tag with onmouse event. 
Here is one example, same logic you can apply for this with the help of script.

https://developer.salesforce.com/forums/ForumsMain?id=906F000000095LKIAY

Hope this will help you!

Thanks,
Pratik

 
Tanya ShahTanya Shah
I do not want to add static resources .The images are dynamically added from Amazon S3 . Could you please help me out with the above link to achive ,

http://stackoverflow.com/questions/21479102/how-to-add-zoom-in-out-on-click-to-all-img-html-tags

Thank you !