|
Hi all,
I have a requirement to automatically make directories within another directory when it is created. For example, I open the image popup, and go to create a new folder called 'test', when I click 'go', I'd like the script to generate that folder, aswell as four folders inside it - 'thumbs', 'medium', 'large', and 'originals'.
The next part would be to have the script generate 3 different sizes of uploaded image, and place them in the relevant folders, with the original file going into the 'originals' folder.
I managed to achieve 90% of this with the standard openWYSIWYG from openwebware dot com (apart from moving the originals). But this system seems to use a completely different method and it has thrown me somewhat!
This is all in preparation for my first addition to this great editor - inserting a thumbnail linked to a larger file using Lightbox2.
Any help would be greatly appreciated.
Kind Regards
Mark
|