Skip to main content
Inspiring
July 15, 2008
Answered

cfimage - image gets cropped or stops showing

  • July 15, 2008
  • 1 reply
  • 671 views
In our oracle database we are storing the employee photos (blob). When I read the record to get the photo and display it in the browser most of the photos show fine. The photos that display are usually under 10KB. The photos that are getting cut off are > 50kb. When I save the problem photos to a file thru a database program I can open it in fireworks and it looks fine. When I use cfimage or cffile the image gets cut off.
Has anyone run into this type of problem? Any ideas?

The photo is getting the top of their head or down to their eyes or nose.

thanks,

BJ


    This topic has been closed for replies.
    Correct answer BJ_-_CF
    CF_output thanks for the reply. Yes, I did try the action="resize" and I also tried the ImageResize tag.

    I finally found the answer. In the datasource area on the CF admin I went to the datasource and clicked on the Show Advanced Settings on the datasource I was using. There are two options for BLOB. I checked the BLOB checkbox and I also increase the Blob Buffer size. Once I did that, the photos that were large were now showing the full picture.

    thanks to Mike Dawsonfor directing me to this.

    1 reply

    July 17, 2008
    Have you tried adding the resize attribute to the cfimage tag?

    action="resize"
    BJ_-_CFAuthorCorrect answer
    Inspiring
    July 17, 2008
    CF_output thanks for the reply. Yes, I did try the action="resize" and I also tried the ImageResize tag.

    I finally found the answer. In the datasource area on the CF admin I went to the datasource and clicked on the Show Advanced Settings on the datasource I was using. There are two options for BLOB. I checked the BLOB checkbox and I also increase the Blob Buffer size. Once I did that, the photos that were large were now showing the full picture.

    thanks to Mike Dawsonfor directing me to this.