ronakg/Awesome-Flickr-Gallery — pull request #12 by peteru (2013-11-30 02:13:24+00:00)
Title: Correct URL encoding issue in afg_get_photo_url

The existing code caused thumbnails not to be displayed. The existing code nonsensically attempted to URL encode the "http://" portion of the URL. This change wraps the individual parameters with the URLencode() function while allowing the known protocol and URI control characters to pass through unescaped.