Page 1 of 4

Image zoomable?

Posted: Wed Jan 29, 2014 8:09 pm
by Victor Fagerström

Can I/HOW can I make an image zoomable?

As of now I'm opening a popup when clicking on a image. the popup contains only a image with size h 100% / w 100%. I want user to be able to zoom on this image.

V


Image zoomable?

Posted: Wed Jan 29, 2014 8:16 pm
by Victor Fagerström

I've read some posts on the same topic and it seems I have to downoad a zoom plugin, right? this one for example http://www.elevateweb.co.uk/image-zoo...
Say I download this plugin from their webpage, how do I get the downloaded files into Appery project?
Looking at photoswipe tutorial, provided by you, I can add http://www.photoswipe.com/latest/code... and http://www.photoswipe.com/latest/lib/... as external resourses to project. Is this the way i should add my plugin as well, in that case, which url should be used?

I feel really confused right now, please enlighten me :)


Image zoomable?

Posted: Wed Jan 29, 2014 8:52 pm
by Kateryna Grynko

Hi Victor,

For example, for elevateZoom download a file jquery.elevatezoom.js and add it as custom JS. Then on page Load event run:preAppery("myimage").attr("data-zoom-image", path);
Appery("myimage").elevateZoom();/preWhere 'myimage' is name of Image component,
'path' is a path to an enlarged image.


Image zoomable?

Posted: Wed Jan 29, 2014 10:11 pm
by Victor Fagerström

Amazing, once again, blown away by this service.


Image zoomable?

Posted: Tue Apr 01, 2014 12:40 pm
by Donald Charity

Hello, I did exactly what was said to do here and I still get:

TypeError: Appery(...).elevateZoom is not a function

"For example, for elevateZoom download a file jquery.elevatezoom.js and add it as custom JS."


Image zoomable?

Posted: Tue Apr 01, 2014 1:00 pm
by Donald Charity

Hello, I did exactly what was said to do here and I still get:

TypeError: Appery(...).elevateZoom is not a function

"For example, for elevateZoom download a file jquery.elevatezoom.js and add it as custom JS."


Image zoomable?

Posted: Tue Jun 17, 2014 4:25 am
by romo

Dear Katya

My Zooming image not work!, i just follow the code above and use jquery.elevatezoom.js.

path not define?
Image

Here my load event js
Image

Here my jquery.elevatezoom.js. as a custom JS
Image

Plz help me...

regards
Romo


Image zoomable?

Posted: Wed Jun 18, 2014 3:39 am
by romo

Dear Appery.

Any update!


Image zoomable?

Posted: Wed Jun 18, 2014 6:00 am
by Evgene Karachevtsev

Hello Romo,

Change variable path to path to an enlarged image.
ie instead of

codeAppery("mobileimage_mapHSC").attr("data-zoom-image", path);/code

Should be something like this

codeAppery("mobileimage_mapHSC").attr("data-zoom-image", Appery.getImagePath('mybigimage.jpg'));/code

If you loaded enlarged image in app via pictures assets.
Or like this

codeAppery("mobileimage_mapHSC").attr("data-zoom-image", 'http://my.site/some/path/to/image/mybigimage.jpg');/code

If enlarged image is somwhere in internet


Image zoomable?

Posted: Tue Sep 02, 2014 7:56 pm
by Daniel Purtill

victor, could you describe how you got this to work for you?

i'm having a lot of trouble with getting elevatezoom to work.