How to solve the single quote problem in the image name.

If you made a template for printing or HTML export, you can offer it to the others here. You can also ask here for help about these templates
Post Reply
Epsilon

How to solve the single quote problem in the image name.

Post by Epsilon »

Hi,

I use Twink's nice template to create my movie list. Still i had a problem with titles like "charlie's angels". The single quote truncate the src url to "charlie". Therefore some adaptation was needed.

If you have the same problem, change the script part where the image is checked and eventually written with this syntax :
document.write("<img src=\""+"$$ITEM_PICTUREFILENAME"+"\" width='98' height='140'>");

This will solve the problem.

Happy new year to all ANT members. Long life to MovieCatalog!
Epsi
Post Reply