Export HTML picture without Backslash

You found an error in the program ? Report it here
Post Reply
davidam2
Posts: 3
Joined: 2013-06-04 15:54:43

Export HTML picture without Backslash

Post by davidam2 »

Good Evening:

I try to export an HTML and locally works OK, but on a web server can not see the cover pictures because the program introduced a backslash in the path of the image.

I use this variable ITEM_PICTURE and exported the images into a subdirectory.
How I can specify that use "/" instead of "\"?

Thanks a lot
antp
Site Admin
Posts: 9665
Joined: 2002-05-30 10:13:07
Location: Brussels
Contact:

Post by antp »

Hi,
What did it put as image link? The subfolder + \ + picture name?
How were picture originally stored in the catalog?
davidam2
Posts: 3
Joined: 2013-06-04 15:54:43

Post by davidam2 »

I have this line in Template:

Code: Select all

  <div id="caratula">
    $$ITEM_PICTURE
  </div>
To open Exported HTML document:

Code: Select all

  <div id="caratula">
    <img alt="poster" src="Catalogo_Peliculas.html_pics\catalogo_peliculas_4.jpg">
  </div>
I cant change a variable parameter in the program to specify $$ITEM_PICTURE with "/".

If I use $$ITEM_PICTUREFILENAME shows: Catalogo_Peliculas.html_pics\catalogo_peliculas_4.jpg

If Export an HTML with the pictures in same folder of HTMLs works OK.

In Catalog, I store the pictures in a:
pictures folder of catalog, and link it to catalog
(checked Creates relative link if possible)
antp
Site Admin
Posts: 9665
Joined: 2002-05-30 10:13:07
Location: Brussels
Contact:

Post by antp »

Indeed for HTML it is "/" that should be used for paths.
I guess it is a simple small bug that Soulsnake will easily correct for the next update then.
Currently he is on vacation so that will have to wait a little ;)
soulsnake
Posts: 756
Joined: 2011-03-14 15:42:20
Location: France

Post by soulsnake »

Indeed for HTML it is "/" that should be used for paths.
I guess it is a simple small bug that Soulsnake will easily correct for the next update then.
Yes, you are right.
It should be a "/" and not a "\" for HTML and SQL export.
I will fix this in next update of AMC 4.2.0 beta.

Soulsnake.
davidam2
Posts: 3
Joined: 2013-06-04 15:54:43

Post by davidam2 »

Thanks Soulsnake!!!!
Post Reply