Page 1 of 1

Export HTML picture without Backslash

Posted: 2013-06-04 16:01:22
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

Posted: 2013-06-04 16:10:32
by antp
Hi,
What did it put as image link? The subfolder + \ + picture name?
How were picture originally stored in the catalog?

Posted: 2013-06-04 17:00:37
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)

Posted: 2013-06-05 10:33:41
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 ;)

Posted: 2013-06-05 14:15:35
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.

Posted: 2013-06-07 22:15:41
by davidam2
Thanks Soulsnake!!!!