added decodeURIComponent to querystring image urls