Image files missing

Peter Landgren peter.talken at telia.com
Wed Sep 10 01:45:46 MDT 2008


Robby,

> On Thursday 28 August 2008, Peter Landgren wrote:
> > 1. Image files are missing
> > If I in my gusetbook application include the images in the *.tc-file,
> > and then generate a report and save it as HTML, no images are shown.
> > I get errors like:
> > File or directory
> > /home/peter/.kde/share/apps/tellico/data/c8aaaef63a61ecb870d4f377bd67ff34
> >.png does not exist. when I try to show the image. It's just a small icon
> > in GuestBook4.html. See GuestBook4.html
> 
> Can you check the current SVN branch and see if the problem is fixed?
Works just fine now!

 
> > 2. Show the HTML on another system.
> > I would like to send this HTML file to someone else, but this does not
> > work.
> >
> > The paths to the images files are absolute in my machine. So it will not
> > work in another machine unless that has exactly the same file structrure,
> > which is unlikely. And don't think of exporting it to a Windows system.
> 
> For now, I think you might have to live with that. I've some code in there 
> that allows relative urls in a URL field, but making all the image code 
> aware of a relative image link is a bit more work. The link url is just a 
> string that gets copied.

OK. Yes, I know this might be complicated if you allow the images to be
stored anywhere. On the other hand, if you forced the HTML-files and images
to be stored in the same directory, you could just use the filename.

But it's always a pity to have such limits.

Regards from western Sweden, where we almost had the first frost night.
/Peter


More information about the tellico-users mailing list