Open GoogleCodeExporter opened 9 years ago
Same issue, all images with parentheses aren't loaded, and with quotes too.
Original comment by aurelien...@gmail.com
on 1 Feb 2011 at 7:35
I've also found this issue. A fix is to change the slimbox2.js javascript file.
There is a piece in the code where the setting of the background image property
is failing.
Current code is -
.css({backgroundImage:"url("+n+")"
Adding single quote around the url will fix this issue. eg.
.css({backgroundImage:"url('"+n+"')"
Hope this helps.
Original comment by jamesh...@hotmail.com
on 22 Feb 2011 at 4:35
Funcionou! Obrigado pela ajuda!
It works! Thanks for help.
From Brazil.
Original comment by cis...@gmail.com
on 26 Jul 2012 at 1:07
This fixed the problem perfectly! Thank you!!
Original comment by nonea...@gmail.com
on 30 Mar 2013 at 12:17
@jamesh Nice fix thank you very much. Had the same problem, you saved me a
really bad headache :)
Original comment by johnatha...@gmail.com
on 14 Feb 2014 at 5:04
@jamesh I had to rename more than a 1000 of pictures. You saved me hours of
work. Thanks a lot!
Original comment by Evangelo...@gmail.com
on 19 Sep 2014 at 7:30
This workaround will work but the root cause is that parenthesis are invalid characters in URLs. Maybe I'll add the additional quotes in a future version.
Parenthesis are valid !!! /img/funnycat_(1).jpg is valid !!!
... only alphanumerics, the special characters "$-_.+!*'(),", and reserved characters used for their reserved purposes may be used unencoded within a URL. http://www.ietf.org/rfc/rfc1738.txt
ps. edit in filenames they're valid
Original issue reported on code.google.com by
donniel
on 11 Nov 2010 at 1:19