What URL is accessing the image?
What prefix is being removed before the match?
Assuming the prefix is handled properly:
- "imgtest.jpg" accesses "imgsrc/test.jpg"
- "img/test.jpg" accesses "imgsrc//test.jpg".
Is this the desired functionality?
The code is typically:
<map:match pattern="**/img/*.jpg">
<map:read type="image" src="imgsrc/{2}.jpg" mime="image/jpeg">
HTH,
solprovider
On 12/30/08, Gaurav Kalia <[email protected]> wrote:
> I am using lenya 2.0.And i am getting some problem with ImageReader.
> I have also made an entry in the sitemap:-
> <map:match pattern="img*.jpg">
> <map:read type="image" src="imgsrc/{1}.jpg" mime="image/jpeg">
> <map:parameter name="height" value="250"/>
> <map:parameter name="width" value="200"/>
> </map:read>
> </map:match>
> But the image are not coming on the webpage.
> There is no problem with the database i have checked that.
> Thanks for the help.
> Regards
> Gaurav
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]