You might want to consider giving them FTP access to a folder to streamline
the upload technique. In windows for example, uploading could then simply be
a matter of dragging files onto a folder on the desktop.

Then you could have a cfschedule task that checked the folder and made the
thumbnails. I'd suggest you set it to do this job gradually (say up to 5 at
a time every five minutes or whatever).

-----Original Message-----
From: Tim Do [mailto:[EMAIL PROTECTED]
Sent: Wednesday, 28 January 2004 9:17 a.m.
To: CF-Talk
Subject: RE: Image-Gallery Managment

That would take a while to run... Uploading 300 images would a long time let
alone the resizing, thumbnails.  I wonder how other sites are doing this.

-----Original Message-----
From: Rick Faircloth [mailto:[EMAIL PROTECTED]
Sent: Tuesday, January 27, 2004 12:32 PM
To: CF-Talk
Subject: RE: Image-Gallery Managment

What about putting all the photos to be uploaded
into a folder,  running CFDIRECTORY to make a list
of all the photo files, then looping over the list
with a CFFILE upload inside the loop?

Rick

  -----Original Message-----
  From: Tim Do [mailto:[EMAIL PROTECTED]
  Sent: Tuesday, January 27, 2004 11:49 AM
  To: CF-Talk
  Subject: RE: Image-Gallery Managment

  I also have an admin page that uploads, creates thumbnail, scales, and
  inserts into db.  The client now wants upload multiple images at once
now...
  up to 300 images and add a watermark.  Can anybody recommend how to go
about
  this?

  Thanks

  -----Original Message-----
  From: Josen Ruiseco [mailto:[EMAIL PROTECTED]
  Sent: Tuesday, January 27, 2004 7:33 AM
  To: CF-Talk
  Subject: Re:Image-Gallery Managment

  I have an admin interface where the user uploads the image and the code
  drops it into a specific directory (all using cffile). The image path and
  filename are written to the database at that time.

  When using the imageCr3 tag you want to call the image path and filename
in
  the database. The imageCr3 tag will automatically store a cached version
of
  the image in a directory you specify (I use d:\cacheimages and add it as a
  virtual directory to my websites that use the tag) and will only pull,
  resize, and cache the orginal if there is no cached image in the
  "cachimages" directory.

  As far as updates and deletes, all you will want to do is update and
delete
  the database record and use the cffile delete action on the original image
  to delete it. As far as I know there is no delete function for the cached
  image. It can be done programatically, but I am going to suggest to
Efflare
  that they ought to automatically delete cached files not in use after x
  days. I don't know how they would do that, but perhaps there is a way.

  >
  > "It can truly be said that nothing happens until there is vision. But
  > it is equally true that a vision with no underlying sense of purpose,
  > no calling, is just a good idea - all "sound and fury, signifying
  > nothing."  The Fifth Discipline - Peter Senge
  >
  >
  >
  > ---------- Original Message ----------------------------------
  > From: Josen Ruiseco <[EMAIL PROTECTED]>
  > Reply-To: [EMAIL PROTECTED]
  > Date:  Mon, 26 Jan 2004 19:19:37 -0400
  >
  > >Dwayne,
  > >
  > >I use the cfx_imageCr tag extensively. It is a great little tag that
  > does far and away more than just resize an image. Nonetheless, all I
  > store in the database is the directory path and image name. ImageCr
  > will do all the rest for you (ie. get the size, attributes, etc.) You
  > will want to use version 3 as version 2.x is limited in functionality,
  > and if I recall correctly, won't even get the image dimensions.
  > >
  > >My site http://www.gomotorbids.com/ <http://www.gomotorbids.com/>
<http://www.gomotorbids.com/>  uses
  the tag exclusively. Every
  > image except for the header images and category buttons are huge and
  > then get resized accordingly. I am about to purchase the ImageFlare
  > tag from them so that I can watermark my images dynamically and
  > actually embed text onto the images.
  > >
  > >Hope this helps. Feel free to email me offlist if you need a hand.
  > >
  > >Regards,
  > >
  > >Josen
  > >[EMAIL PROTECTED]
  > >
  > >
  > >> I working on an image gallery managment system that will allow
  > users
  > >> to upload and manage a collection of image files. I'm storing
  > >> information such as directory location and description attributes
  > of
  > >> the image in a database. I do not want the users to be concerned
  > with
  > >> the size of the image becuase we plan to use "imagecr" to resize
  > the
  > >> image dynamically.  Does anyone here know of a solution that might
  >
  > >> help?
  > >>
  > >> Dwayne Cole, MS in MIS, MBA
  > >> Certified Advanced ColdFusion Developer
  > >> 850-591-0212
  > >
  > >>
  >
    _____
  _____

  _____
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]

Reply via email to