[Cartoweb-users] Plugin exportHtml

Alexandre Saunier alexandre.saunier at camptocamp.com
Wed Jul 6 10:26:35 EDT 2005


Hello,

there's a "htdocs/" missing in your images URLs.
Perhaps some wrong setting with your cartoclientbaseUrl parameter 
(client.ini)? Considering the URLs you provide, it should be something like:
http://10.68.1.16/cartoweb3/htdocs/

Concerning your second question, 
"r.php?k=g&r=images%2F112045984682058.jpg" is the "path" to your 
resource file using the "Miniproxy" urlProvider setting. See 
server_conf/server.ini for server resource and client_conf/client.ini 
for client resources.

With urlProvider = Symlink, this path would be 
"images/112045984682058.jpg".

Note that "%2F" is the urlencoded version of "/":
urlencode('images/112045984682058.jpg') => 'images%2F112045984682058.jpg'

Have a look at the "Resources" section in the manual:
http://cartoweb.org/doc/xhtml/user.template.html#user.template.resource

Alex

Fred Bauer wrote:
> Hi,
> When I use the exportHtml plugin. The images don't appear on my page 
> (red crosses).
> The URL of the page is :
> http://10.68.1.16/cartoweb3/htdocs/r.php?k=h&pl=exportHtml&pr=DDAF12&r=export.php 
> 
> 
> The images URL are :
> http://10.68.1.16/cartoweb3/r.php?k=g&r=images%2F112045984682058.jpg
> http://10.68.1.16/cartoweb3/r.php?k=g&r=images%2F112045984682059.jpg
> 
> I don't really understand the meaning from the parameter r, and in which 
> way it is used.  Temporary images named 112045984682058.jpg and 
> 112045984682059.jpg exist in the www-data\images repertory. So what is 
> the meaning of %2F ?
> In the page Url the r is the ressource file so I don't understand why in 
> the image case it isn't directly the resource file (the generated image).
> 
> If somebody can bring me some answers,that would be sympathetic.
> 
> Fred
> 
> _________________________________________________________________
> Testez le nouveau MSN Messenger ! http://search.msn.fr/
> 
> _______________________________________________
> Cartoweb-users mailing list
> Cartoweb-users at lists.maptools.org
> http://lists.maptools.org/mailman/listinfo/cartoweb-users


More information about the Cartoweb-users mailing list