[Cartoweb-users] exportPdf: relative url for logo

Emmanuel Belo emmanuel.belo at microgis.ch
Fri Dec 16 08:21:07 EST 2005


Hello,

is it true that in exportPdf.ini it should be written instead of:

blocks.logo.content = "projects/projectname/htdocs/gfx/layout/img.png"

this:

blocks.logo.content = "htdocs/gfx/layout/img.png"

?

In the documentation, it is written (12.3.3.4): "It is also possible to 
use a relative file path based on the CartoClient root directory (eg. 
htdocs/gfx/layout/c2c.png)."

The problem is that if i use the second relative url, this error occurs:

message:   Error [2, 
fopen(c:\wamp\www\cartoweb3/htdocs/gfx/layout/img.png) [function.fopen]: 
failed to open stream: No such file or directory, 
c:\wamp\www\cartoweb3\include\fpdf\fpdf.php, 1522]

My image is there: 
c:\wamp\www\cartoweb3/projects/projectname/htdocs/gfx/layout/img.png


The first works fine, but this is not really clean...


Best regards,

Emmanuel Belo

-------------- next part --------------
A non-text attachment was scrubbed...
Name: emmanuel.belo.vcf
Type: text/x-vcard
Size: 294 bytes
Desc: not available
Url : http://lists.maptools.org/pipermail/cartoweb-users/attachments/20051216/07c26d88/emmanuel.belo.vcf


More information about the Cartoweb-users mailing list