Hi,

Possibly, I am not sure. I have another question, can use 
(mime-type="image/bmp") for bmp formatted images?

Thanks,
Halgurt

-----Urspr�ngliche Nachricht-----
Von: Upayavira [mailto:[EMAIL PROTECTED] 
Gesendet: Montag, 29. September 2003 09:22
An: [EMAIL PROTECTED]
Betreff: Re: AW: ImageReader not working?

Mustafa Ali, Halgurt wrote:

>Thank you I solved it, it was stupid from me, I don't know how I wrote such a 
>pipeline, here is the correct pipeline:
>
>
><map:pipeline>
>   <map:match pattern="munich/images/*">
>     <map:read type="image" src="munich/images/{1}/>
>   </map:match>
></map:pipeline>
>  
>
You should really do:
<map:match pattern="munich/images/*.gif">
  <map:read src="munich/images/{1}.gif" mime-type="image/gif"/>
</map:match>

<map:match pattern="munich/images/*.jpg">
  <map:read src="munich/images/{1}.jpg" mime-type="image/jpg"/>
</map:match>

So you're just using the normal reader, not the image reader. The image 
reader is intended specifically for resizing images, which you don't 
really seem to want.

Regards, Upayavira

>thanks,
>Halgurt
>
>-----Urspr�ngliche Nachricht-----
>Von: Mustafa Ali, Halgurt 
>Gesendet: Montag, 29. September 2003 08:26
>An: [EMAIL PROTECTED]
>Betreff: AW: ImageReader not working?
>
>Hi,
>
>I generated a page with some images, I defined the source attribute of the image 
>element relativly to my sitemap directory, but they havn't been represented, so I 
>thought I have to define a Pipeline for the Images and I did this below:
>
>
><map:pipeline>
>   <map:match pattern="**.jpg">
>     <map:read type="image" src="munich/images/*.jpg/>
>   </map:match>
></map:pipeline>
>
>I don't know whether it was the right way to do that or not. Can you help so that I 
>can show Images in my generated pages?
>
>Thanks,
>Halgurt
>-----Urspr�ngliche Nachricht-----
>Von: Tony Collen [mailto:[EMAIL PROTECTED] 
>Gesendet: Freitag, 26. September 2003 16:35
>An: [EMAIL PROTECTED]
>Betreff: Re: ImageReader not working?
>
>Mustafa Ali, Halgurt wrote:
>  
>
>>Hi,
>> 
>>I want to use the ImageReader, but I am getting an error:
>> 
>>Invalid system ID.
>> 
>>Is it working at all? Or how shall one use it?
>> 
>>Thanks,
>>Halgurt
>>    
>>
>
>Hello Halgurt,
>
>How are you specifically using the reader in your sitemap?
>
>
>Regards,
>
>Tony
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]
>
>
>  
>



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to