Page 1 of 3

Photoswipe no longer works, and photoswipe tutorial is gone?

Posted: Mon Mar 31, 2014 10:19 pm
by Kapow36

Yeah, so where did it go? I had photoswipe in my app, it worked one day and then the next, it says the links could not be resolved.


Photoswipe no longer works, and photoswipe tutorial is gone?

Posted: Mon Mar 31, 2014 10:54 pm
by Alena Prykhodko

Hello,

What exactly doesn't work?
Do you test it as native or in browser?
Let me check tutorial question, we'll update asap.


Photoswipe no longer works, and photoswipe tutorial is gone?

Posted: Mon Mar 31, 2014 11:12 pm
by Alex GG

Hello Kapow,
I had the same problem:
https://getsatisfaction.com/apperyio/...

What I did was to add this new links as external resources:
//cdnjs.cloudflare.com/ajax/libs/photoswipe/3.0.5/klass.min.js and adding the icons from media manager on the CSS file..

Hope this helps you...BTW I ended up using the carousel for images instead of photoswipe...


Photoswipe no longer works, and photoswipe tutorial is gone?

Posted: Tue Apr 01, 2014 5:50 am
by Kapow36

Thanks Alex, here is the link the the whole library. Instead of importing the libraries using the links, I just copy and pasted the code from code.photoswipe.jquery and Klass to javascript files in my project.

http://cdnjs.com/libraries/photoswipe/


Photoswipe no longer works, and photoswipe tutorial is gone?

Posted: Tue Apr 01, 2014 6:48 am
by ciccio

You showld copy the icon in your assets and modify your photoswipe css too


Photoswipe no longer works, and photoswipe tutorial is gone?

Posted: Tue Apr 01, 2014 2:47 pm
by Kapow36

Right, sorry I had done that as well.


Photoswipe no longer works, and photoswipe tutorial is gone?

Posted: Tue Apr 01, 2014 4:55 pm
by Maryna Brodina

Hello!

After some research we have found that this plugin was updated over a year ago now. This plugin is not supported and doesn't work with the latest jQuery version.
You would need to search for another plugin which provides similar functionality.


Photoswipe no longer works, and photoswipe tutorial is gone?

Posted: Thu Apr 03, 2014 2:02 am
by Rashiem Page

@Alex Garcia, can you share exactly how you used the carousel for images? What steps where taken?


Photoswipe no longer works, and photoswipe tutorial is gone?

Posted: Thu Apr 03, 2014 5:33 am
by Alex GG

Hello Rashiem,

  1. Add a carousel element inside a grid. (This is to scale the image gallery to different screen sizes.)

  2. Set the number of frames you wish, In my case I set 6 frames.

  3. You have to decide if you set the height of the carousel in the properties, or add some JS on page show to scale some % of the screen.

  4. Add an Image component on each frame (and set dimension auto and 100%)

  5. If you want the image centered, add aling-center in "more properties" of the carousel item.

  6. Pass the images from rest service to the image element. In my case I ́m passing the images encoded on base 64.
    I guess this is all that I did.

    this is the end result:

    Image

    Hope this helps!


Photoswipe no longer works, and photoswipe tutorial is gone?

Posted: Thu Apr 03, 2014 10:37 am
by Kateryna Grynko

Hi all,

Photoswipe tutorial is out and about!
http://docs.appery.io/tutorials/addin...