Page 1 of 1

Problems with the image name when exporting to html

Posted: 2013-09-02 22:02:04
by s0ulboy05
Hi,

I am creating an HTML template and I have a problem I hope someone can help me with.

I have all my images linked to the movies in an external folder and I have selected in the preferences the option so that the pictures are named using the formatted movie title.

So, for movie 221: El Desvío (Detour), instead of having the image saved as Pelis_221.jpg, I get Pelis_El Desvío (Detour).jpg which is exactly what I need.

My problem is that when I export my catalog I can't get the correct link for the images:

If I use the tag $$ITEM_PICTURE or $$ITEM_PICTUREFILENAME I get the "default" picture filename (i.e. <catalog name>_<movie number>) instead of the formatted title name.

On the other hand, if I try to manually construct the src attribute of the img tag, I can do it for most of the movies except for those that have a system character in the title:
For instance, History of the World: Part I is exported as Pelis_History of the World- Part I.jpg and I don't know how to transform the name to remove the :

Somebody knows how can I get around this?

Thanks

Posted: 2013-09-02 23:37:37
by soulsnake
Hi,

Do you have changed the same option for export in preferences too ?

Soulsnake.

Posted: 2013-09-03 19:05:20
by s0ulboy05
In the Export preferences the closest option is to use the movie title, but the option I am using in the Picture importation preferences is the formatted title, which is not the same.

Posted: 2013-09-03 23:06:33
by soulsnake
Hi,

You should try AMC 4.2.0 beta to do what you want: viewtopic.php?t=4844
You will have many more options to name pictures during import and export.

Soulsnake.

Posted: 2013-09-04 09:23:40
by s0ulboy05
That worked :D

Thank you