Skip to main content
Inspiring
November 19, 2010
Question

cfimage on whole folder

  • November 19, 2010
  • 1 reply
  • 975 views

Is it possible to tell CFimage to perform a function on every image in a particular folder, rather than stating a specific image name? The files I'll be receiving will never have a consistent naming convention, so I can't just loop over "image1.jpg", "Image2.jpg", etc.

    This topic has been closed for replies.

    1 reply

    ilssac
    Inspiring
    November 19, 2010

    Not by itself.

    But it would be darn simple to put inside of a loop [<cfloop query=....> OR <cfoutput query=...> that was looping over the record set created by a <cfdirectory...> tag.

    Squiggy2Author
    Inspiring
    November 19, 2010

    Thanks, I'll try that now.