Title: how encode {path} variable pretty photo
Last modified: August 22, 2016

---

# how encode {path} variable pretty photo

 *  [kamtcho](https://wordpress.org/support/users/kamtcho/)
 * (@kamtcho)
 * [11 years, 8 months ago](https://wordpress.org/support/topic/how-encode-path-variable-pretty-photo/)
 * Hallo, in pretty photo i need encode URL because i need use something like this:
 * [http://www.domain.com/zrkadlovo.php?img=http://domain.com/012.jpg](http://www.domain.com/zrkadlovo.php?img=http://domain.com/012.jpg)
 * [http://domain.com/012.jpg](http://domain.com/012.jpg) is from {path} variable,
   
   but it does not work because it is not encoded. I need it to be encoded in
 * jquery.prettyPhoto.js file and part: image_markup:
 * Thank you for help.
 * [https://wordpress.org/plugins/responsive-lightbox/](https://wordpress.org/plugins/responsive-lightbox/)

The topic ‘how encode {path} variable pretty photo’ is closed to new replies.

 * ![](https://ps.w.org/responsive-lightbox/assets/icon-256x256.png?rev=3460874)
 * [Responsive Lightbox & Gallery](https://wordpress.org/plugins/responsive-lightbox/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/responsive-lightbox/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/responsive-lightbox/)
 * [Active Topics](https://wordpress.org/support/plugin/responsive-lightbox/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/responsive-lightbox/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/responsive-lightbox/reviews/)

## Tags

 * [url-encode](https://wordpress.org/support/topic-tag/url-encode/)

 * 0 replies
 * 1 participant
 * Last reply from: [kamtcho](https://wordpress.org/support/users/kamtcho/)
 * Last activity: [11 years, 8 months ago](https://wordpress.org/support/topic/how-encode-path-variable-pretty-photo/)
 * Status: not resolved