4 Replies Latest reply on Mar 31, 2010 9:15 AM by 759167

    Upload image to blob and resize to 3 different sizes

      Hi all,
      I currently have a form where people can upload an image to a blob via a form (Oracle Portal, version 9). The table has the following fields (amongst others)


      I plan to change this so that when the user uploads a photo, the following happens:

      1) Original photo is resized to 400 pixels wide, with the ratio kept the same to determine the height
      2) A new copy made at 200 pixels wide, with the ratio kept the same to determine the height. Stored in a 2nd blob.
      3) A new copy made at 32x32 pixels (thumbnail), cropped so that image subject is still clear. Stored in a 3rd blob.

      I will probably update by database fields to:


      Reading these forums it looks like I need to be using process() and processCopy()

      There sre some pl/sql examples given, but I'm struggling as I'm a beginner.
      Would someone be able to help me with the code?

      Also, do we need additional software to use process/processCopy, or is it integrated already?