Discussion Forums  >  Images, Documents, File Locations

Replies: 5    Views: 158

AppBuilderUSA
Aspiring developer
Profile
Posts: 103
Reg: Feb 21, 2011
Columbus Ohio
1,730
11/12/13 12:08 PM (10 years ago)

Photoswipe Integration

Does anyone have any kind of breakdown on the steps to integrate Photoswipe into an app? Not really much of instructions on the site, especially for the programming deficient like myself. :)
 
piggilypoo
Aspiring developer
Profile
Posts: 172
Reg: Jun 28, 2011
San Diego
5,120
like
11/12/13 12:23 PM (10 years ago)
I haven't used it myself, but I think I have a pretty good idea of how you could get it done. It's about the same steps for implementing any kind of custom javascript into a buzztouch app: 1) Grab the HTML Pro plugin 2) Place all of the photoswipe files in your BT_Docs folder. 3) Setup an HTML Pro screen, pointing the document location to the html containing the photoswipe gallery. (For example, home.html in the BT_Docs folder) 4) Tweak the file paths to make sure they match what's in your BT_Docs folder. (For example: If the script is looking for the javascript files in "../photoswipe.js" but the JS file is in the BT_Docs folder with your home.html file, then you'll need to change the file path to read "photoswipe.js") Hope that helps :) play around with it and you'll get it.
 
mrDavid
BTMods.com
Profile
Posts: 3936
Reg: May 21, 2011
San Diego, CA
51,910
like
11/12/13 06:59 PM (10 years ago)
Excellent post Piggily, I would have just uploaded it via ftp to my site and used a custom URL, but your local method would be more ideal. David https://buzztouchmods.com/market
 
Niraj
buzztouch Evangelist
Profile
Posts: 2943
Reg: Jul 11, 2012
Cerritos
37,930
like
11/12/13 08:51 PM (10 years ago)
Go Bucks! :-) What he said should work -- Niraj
 
AppBuilderUSA
Aspiring developer
Profile
Posts: 103
Reg: Feb 21, 2011
Columbus Ohio
1,730
like
11/13/13 08:34 AM (10 years ago)
Thanks for the feedback, I'll look at both options! And love seeing Buckeyes all around, thanks Niraj!
 
mrDavid
BTMods.com
Profile
Posts: 3936
Reg: May 21, 2011
San Diego, CA
51,910
like
11/13/13 11:20 AM (10 years ago)
Let us know if you need any help.. but looks like you got this :-) David https://buzztouchmods.com/market
 

Login + Screen Name Required to Post

pointerLogin to participate so you can start earning points. Once you're logged in (and have a screen name entered in your profile), you can subscribe to topics, follow users, and start learning how to make apps like the pros.