Untitled UI logotext
Solutions
WebsitesEcommerceMobile AppsWeb AppsProduction Support & Maintenance
Our work
Company
About usBlogPodcastContact us
Book a free consultation

prettyPhoto path variable, repeat

Olivia Rhye
prettyPhoto path variable customization

So I've noticed when trying to customize the social media section of prettyPhoto many users ran into an error that made the {path} variable not work.

In trying to solve this I ran into a script that sends that variable to the social media section, but you are not capable of repeating it.

I did a simple fix on a project that allows us to use the {path} variable, as many times as we want in the socialmedia option of prettyPhoto.

Check out my alterations to the open source Pretty Photo script.

The code I added looks like this.

Ready to start a project?

Book a free consultation
Untitled UI logotext
Our work
About us
Blog
Careers
Submit a ticket
Agency Partnerships
Contact
© 2024 fjorge. All rights reserved.
Privacy