Re: How do I make images show up?

In-reply-to: Your message of Tue, 14 Mar 2000 20:34:46 -0500."
             <Pine.LNX.4.21.0003142027040.26884-100000@merlin.sccs.swarthmore.e
du>
> Hi,
> I'm adapting amaya to work with my own XML language and I'm having a
> problem with images.  I've added a PICTURE terminal element to my S file
> and put an entry in the element table for my language in fetchXMLname.c
> that maps img tags to the PICTURE_UNIT element.  After processing an img
> tag and successfully creating a PICTURE_UNIT element I set the text
> content of that element to the file name of the image source.  When I run
> amaya and load a page with an image, no errors occur but the image does
> not appear.  When I force the PICTURE_UNIT to have 200x200 dimensions in
> my P file and load the page again, I can see a bitmap with the word
> "picture" and a rectangle and a circle in grey and white, but my image
> still doesn't appear.  Do you have any suggestions of things I may have
> forgotten or done wrong?  Thanks.
> 
> -Chris Cutler
> 

The Thot library needs to have a local copy of the image file for being able
to display it. Have you seen the code in Amaya/amaya/HTMLimage.c that does
this part of the work.
  Irene.

Received on Wednesday, 15 March 2000 10:02:09 UTC