Page 4 of 4

Photoswipe Tutorial - New css doesn't import text into page

Posted: Sat Mar 15, 2014 10:46 pm
by Alex GG

Hi,
My photoswipe gallery doesn ́t work any more on browser nor device...

this is the error on console:

TypeError: Appery(...).find(...).photoSwipe is not a function

Your photoswipe tutorial seems to be modified a couple days ago...What should I change to make it works again?

I delete the external link to klass.js

and create a custom JS and paste file from this

https://github.com/ValentinGavan/Phot...

but same error...

Thanks


Photoswipe Tutorial - New css doesn't import text into page

Posted: Sat Mar 15, 2014 11:51 pm
by Alex GG

actually I tried new app just to make photoswipe tutorial, and the links
http://www.photoswipe.com/latest/exam...
http://www.photoswipe.com/latest/phot...

doesnt work any more...


Photoswipe Tutorial - New css doesn't import text into page

Posted: Sun Mar 16, 2014 12:01 am
by Illya Stepanov

Hi Alex - Please clarify you have tried this tutorial? - http://docs.appery.io/tutorials/addin...


Photoswipe Tutorial - New css doesn't import text into page

Posted: Sun Mar 16, 2014 12:21 am
by Alex GG

Hi Illya,

My photoswipe was working fine, but now I got the error posted above...

I create new app, add the JS and CSS manually, and got the same error...

TypeError: Appery(...).find(...).photoSwipe is not a function

If you can, please try this on your side and inform us if got the same error..

Regards


Photoswipe Tutorial - New css doesn't import text into page

Posted: Sun Mar 16, 2014 1:00 am
by Illya Stepanov

Ok - we'll check this.


Photoswipe Tutorial - New css doesn't import text into page

Posted: Sun Mar 16, 2014 8:44 am
by Igor

Hi Alex,

It seems that all public photoswipe links and icon not available any more. Please remove all external resource library and icons links and add this libraries and icons to your app as static files. You can download them from this repo:
https://code.google.com/p/ala-bie/sou...

We'll fix our tutorial.


Photoswipe Tutorial - New css doesn't import text into page

Posted: Mon Mar 17, 2014 3:47 am
by Alex GG

Thanks Igor,

I ended up adding this link to external resources

//cdnjs.cloudflare.com/ajax/libs/photoswipe/3.0.5/klass.min.js

and add manually the icons to media manager...

I did this way because pasting the code to a custom JS throw this error:

https://getsatisfaction.com/apperyio/...

So, now photoswipe is working like a charm =)