Note that there are some explanatory texts on larger screens.

plurals
  1. POBatch resizing 50+ large images in ColdFusion
    primarykey
    data
    text
    <p>I'm trying to upgrade a photo gallery system we have to be able to take a folder of 50-100 large (~500K-1MB) images and batch process a thumbnail, medium, and high-resolution version for each (and add a record for each to a database).</p> <p>I wrote a <code>&lt;cffunction&gt;</code> that does exactly that. It works well with a small folder of smaller images, however a larger folder of large images will generate serious performance issues and throw random errors (timeouts or file permission issues) after only completing about 10 of the 50 or more I throw at it.</p> <p><strong>My question:</strong> how do I accomplish something this intensive while minimizing the performance affect on the entire server? Is it even possible with ColdFusion alone, or do I need to look into other server plugins? (I don't have any experience in this area.)</p> <p><strong>Update:</strong> With my shared hosting limitations, I'm currently redirecting my attention to client-side resizing (Flash) before uploading so the server only has to upload/move and create the db records. However, I would need something that resizes the original images into a thumb/medium/large version for each and uploads them all. Right now I'm only seeing examples that upload one resized image, but I'll try playing around with the sources.</p> <p><strong>Update 2:</strong> I've seen some pretty cool demos that showcase resizing images using the HTML5 <code>&lt;canvas&gt;</code> and I'm going to try my hand at that. I'll post back any results.</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload