Admiror Joomla! Community
http://www.vasiljevski.com/forum/

Bug with Slimbox and filename containing brackets
http://www.vasiljevski.com/forum/viewtopic.php?f=34&t=1029
Page 1 of 1

Author:  marcassin [ Tue Sep 10, 2013 2:40 pm ]
Post subject:  Bug with Slimbox and filename containing brackets

Hi everyone!

Just to let you know that if a filename contains brackets, the image won't appear in the slimbox once you click on its corresponding thumbnail.

In the file slimbox2.js

Code:
w(g).css({backgroundImage:"url("+n+")",visibility:"hidden",display:""});


must/should be changed to

Code:
w(g).css({backgroundImage:"url('"+n+"')",visibility:"hidden",display:""});


Cheers! :)

Author:  Vasiljevski [ Fri Sep 13, 2013 11:02 am ]
Post subject:  Re: Bug with Slimbox and filename containing brackets

Great find, thanks for letting us know. Until now I always advised people not to use brackets in file names if they use slimbox, now they can use your fix :)

P.S. Hope you don't mind adding you fix to future releases :)

Page 1 of 1 All times are UTC + 1 hour [ DST ]
Powered by phpBB® Forum Software © phpBB Group
https://www.phpbb.com/