How to zoom on in a image on click of it
We have a requirement where in we need to allow user to upload a image and or select a image from a dropdown. and on select, display the image on screen and on click of the image, it should be popped out or get maximized and there should be an option to make it again as it was. like zoom in zoom out option. i tried pyMenu_Zoom navigation rule on the click of image and menu rule gets fired, but on click of the options , zoom in zoom out doesnt happen. Also, the scripts which are configured to run on the zoom in ,zoom out option is not visible in the pega. I also explored the option of pzdisplayImage control but i am attaching the image via attachment control and with it, the file gets stored in pyAttachmentPage of Data-WorkAttach-File class. I took the pzinskey of file from this page and file type and passed it to the pzdisplay control but the image doesnt get displayed at all. - can you kindly suggest how we can achieve this.