Keyword
Please note that official support for commercial extensions & templates is provided in the Subscriber Help Desk.
Support requests should ONLY be directed there and require an active subscription plan.
This forum board is to be used for archive purposes and knowledge exchange ONLY.

fix to use brackets () in image filename

  • piotr_cz
  • piotr_cz's Avatar Topic Author
  • Offline
  • New Member
More
14 years 9 months ago #32275 by piotr_cz
Hi, recently I realized that there's a problem with uploading images with filenames containing brackets () as an archive in K2 using SIG pro.

The problem is that the image filename is actually closing the tag style="background-image( filename().jpg )". I don't know if it has been fixed in SIG pro 2.0.5 but for the 1.2.x version fix is simple: in the file /plugins/content/jwsigpro.php at line 172 edit the line to add '':
background-image:url({THUMB IMAGE FILEPATH});

to be
background-image:url(\'{THUMB IMAGE FILEPATH}\');

seems to work in most browsers.
thanks for great plugin!
p

Please Log in or Create an account to join the conversation.

  • piotr_cz
  • piotr_cz's Avatar Topic Author
  • Offline
  • New Member
More
13 years 11 months ago #32276 by piotr_cz
Replied by piotr_cz on topic Re: fix to use brackets () in image filename
Hi,
this is a reminder to apply the path for the future releases of SIG (free & pro).
thanks

Please Log in or Create an account to join the conversation.

More
13 years 11 months ago #32277 by yemek tarifleri
Replied by yemek tarifleri on topic Re: fix to use brackets () in image filename
Thanks

Please Log in or Create an account to join the conversation.


Powered by Kunena Forum