Problems with the image name when exporting to html

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
s0ulboy05
Posts: 3
Joined: 2013-09-02 21:31:13

Problems with the image name when exporting to html

Post 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
soulsnake
Posts: 756
Joined: 2011-03-14 15:42:20
Location: France

Post by soulsnake »

Hi,

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

Soulsnake.
s0ulboy05
Posts: 3
Joined: 2013-09-02 21:31:13

Post 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.
soulsnake
Posts: 756
Joined: 2011-03-14 15:42:20
Location: France

Post 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.
s0ulboy05
Posts: 3
Joined: 2013-09-02 21:31:13

Post by s0ulboy05 »

That worked :D

Thank you
Post Reply