Page 2 of 3

Photoswipe no longer works, and photoswipe tutorial is gone?

Posted: Fri Apr 18, 2014 1:23 pm
by Slava Balabanov

Hi,
I've tried using the photoswipe.. the new tutorial but for me it didnt work
I get an error when my application loads
So i've tried using the newer version that i've found here
https://github.com/downloads/dimsemen...
and it worked.
Its a zip with all the data so just upload the required files from there as described in the tutorial


Photoswipe no longer works, and photoswipe tutorial is gone?

Posted: Fri Apr 18, 2014 1:52 pm
by Kateryna Grynko

Hi Slava,

Thank you for the update.


Photoswipe no longer works, and photoswipe tutorial is gone?

Posted: Fri Apr 18, 2014 3:03 pm
by Slava Balabanov

Just a small update, and i think it should go to the tutorial as well..
Once you define a photoswipe instance, its there... meaning it is present for the whole application. So for example if you would go to a page, load a photoswipe gallery instance, go to some other page and then go back to the page where you loaded the photoswipe, you would get an error stating that there already is an instance of PhotoSwipe and from that point the PhotoSwipe wont work
The solution:
Add the following code before you load PhotoSwipe.
code
var photoSwipeInstance = window.Code.PhotoSwipe.getInstance("name that you gave");
if (typeof photoSwipeInstance != "undefined" && photoSwipeInstance !== null) {
window.Code.PhotoSwipe.detatch(photoSwipeInstance);
}
/code

So it should be something like that:
code
var photoSwipeInstance = window.Code.PhotoSwipe.getInstance("MyPage");
if (typeof photoSwipeInstance != "undefined" && photoSwipeInstance !== null) {
window.Code.PhotoSwipe.detatch(photoSwipeInstance);
}

photoSwipeInstance = Apperyio("MyPage").find("ul.gallery a").photoSwipe({}, "MyPage");
/code


Photoswipe no longer works, and photoswipe tutorial is gone?

Posted: Thu May 15, 2014 2:18 am
by Kapow36

Is anyone else having the problem that the icons don't show? I have the file paths correct (in another thread) and it was working one day, but then I went back to it later after an update and the icons won't show. There aren't any errors either so this is really kind of weird.


Photoswipe no longer works, and photoswipe tutorial is gone?

Posted: Thu May 15, 2014 4:16 am
by Kapow36

Image

Image

I've included two images. One is from the browser environment and the other (without images) is from the installed app. I just don't get how compiling the ipa changes this.


Photoswipe no longer works, and photoswipe tutorial is gone?

Posted: Thu May 15, 2014 1:12 pm
by Maryna Brodina

Hello @Kapow36!

Unfortunately Photoswipe tutorial was removed due to necessity of complex support. This tutorial is no longer supported. We would recommend you to use Carousel component instead.


Photoswipe no longer works, and photoswipe tutorial is gone?

Posted: Thu May 22, 2014 12:05 am
by Kapow36

I've ended up using the plugin Glisse which works fine in case anyone wants to know.


Photoswipe no longer works, and photoswipe tutorial is gone?

Posted: Thu May 22, 2014 6:03 am
by Evgene Karachevtsev

Hello,

Thank you for the update. Do not hesitate to contact us if you need any further help.


Photoswipe no longer works, and photoswipe tutorial is gone?

Posted: Thu May 22, 2014 2:47 pm
by Alex GG

hi kapow, I ́ve photoswipe plugin working fine on my app, but I would like to give a try of this plugin you are suggesting. I ́m doing new catalog app, and want to incorporate this.

Can you post the steps to have it working?

Regards


Photoswipe no longer works, and photoswipe tutorial is gone?

Posted: Thu Oct 09, 2014 1:36 pm
by Roger Grossglauser

so, photoswipe doesn't work anymore?

my working photoswipe is version code-photoswipe-1.0.11.min.js, but it doesn't work in IE8 - which it should..

version 3.0.5 I can't get to work at all, and when downloading "latest version" on the photoswipe website, I again get the 1.0.11

does version 3.0.5 work in IE8/9 also, and if so, could you please tell me what excactly I should do?

thanks