create multiple versions of uploaded images

  •  09-12-2006, 4:12 AM

    create multiple versions of uploaded images

    Hi all,
     
    I've been working on a cms system for my company, and everything is nearly finished except they require that any image that gets uploaded is resized into multiple folders at different resolutions for thumbnails and supersize views etc. I'm trying to see if there's any way that cuteEditor can help me with this? I don't mind doing the resizing myself, if I had a reference to an image array or similar in the Editor1 object.
     
    Currently I'm parsing all the <img> tags in the Editor's text field, and then resizing each of these images multiple times using my own image resizing code. Is there any way I can call the editor's resizing code programatically? [I'm sure its probally better :)]
     
    to finish, I have three folders, (more in future see below)
     
       320x240
       640x480
       1024x768
     
    and I want to be able to say 'foreach (image in Editor1) {resizeImage(image);}'
     
    Thanks in advance,
     
    Jonathan
View Complete Thread