Carl Giesberts wrote:

Hi,

I currently have MMBase setup with a postgress database. I have
installed imageMagick, but somehow I only see images in mozilla.
I've put on image in through an application, and this image doesn't show
anywhere, another image that I can see, but only in mozilla, I added
through my_editors.
- MMBase 1.6.5-Final.20030829
- java 1.4.1_05
- tomcat 4.1.27
I had some problems before with the use of blobs in postgres changed
some configurations: I changed the handling of a BYTE field to type
BYTEA. This enabled us the be able to add images into the database. Now I wonder however if this is still causing problems when returning
the images. This however does not explain the fact that mozilla can show
me some images.

I've had a lot of trouble with postgresql, mmbase and images/blobs too. It's weird that mozilla does show your image... are you sure it isn't caching in mozilla? Try downloading it to disk, and see if you can view the image with a local image viewer. Often, you'll see that the contents of the corrupted image file is actually only a number (which happens to be oid/handle of the postgresql blob). Is there any reason why you didn't use mmbase 1.7? then you can use postgresql with images on disk. I upgraded from 1.5 to 1.7 and it wasn't too much work... most work had to do with converting the postgresql db and images ;) If images really only work in mozilla, it could also be related to another problem: in some cases, saving images in photoshop on a mac cannot be displayed through internet explorer. This is an old problem, I'm not sure if it still is an issue though.

Ricardo.







Reply via email to