taglib uri="http://jakarta.apache.org/taglibs/image-1.0" prefix="img" %> Tag libaray has image reading problem .. frequent error for some images (10%) was below .. Even all the images had been displayed normally in browser using server. Exception was "sun.awt.image.ImageFormatException: JPEG datastream contains no image" All the images which had problem again corrected number of times in photoshop but still failed to work using image taglibaray. My code was <img:image src="/itemimages/10343.jpg" dir="itemimages" name="10343.jpg" refresh="true"> <img:resize scale="25%"/> </img:image>
Created attachment 12352 [details] This is one image among all was giving me problem.
Created attachment 13238 [details] Image Tag example using the image mentioned in the bug report
I tested the image with the PMIW and the Image tag. It is working fine. I used Tomcat 5.0 with Java 1.4.2. I have attached the image-examples war file with the "problem" image. Please check this at our end and let me know if it works fine. Check the same with any old webapp/setting you had (just to check if it was due to a bug in an older version). If you still find an error somewhere, send me the required files to test it here. Abey Mullassery