In Expression Engine, the only place - not taking the Gallery Module into account - to upload files, is in the ‘Publish’ section. I decided that wasn’t good enough, so I built this straight forward module to improve the file handling, without having to resort to your FTP client.
* View the files in your Upload Destinations
* Batch delete files from your Upload Destinations
* Batch upload files to your Upload Destinations (6 at a time)
What won’t File Manager do (yet)?
* Create or delete directories on the server
* Change directory or file permissions (chmod)
* Move or copy files on the server
I tested the module on three installations of Expression Engine 1.2.1 build 20050123 without problems. There might be some issues if your server has safe_mode enabled, so use at your own risk!
Added to the [ur=http://www.eewiki.com/index.php?title=Category:Modules]EEWiki: List of Modules]. I hope you’ll keep that up to date if there are any changes. =)
Thanks for releasing this. There was a recent thread in Feature Requests about a file manager, you may want to point them to this. =)
The one bit of additional functionality that would be great is to have the uploader resize the image if it is larger than what you’ve defined as the maximum file size.
Example:
*
mf_By_the_North_Sea22.jpg
The image you are attempting to upload exceedes the maximum height or width
I’d like to see: Resize image?
The error message could be changed to specify *what* the maximum height or width is. In this case, I had only set the maximum width.
The image you are attempting to upload is 640 pixels by 480 pixels. The maximum width is set to 400. You have exceeded the file size based on maximum width. Resize image?
Other than wanted more functionality than is currently available, this is great!
Lodewijk, did you forget to increment the version number? I uploaded the new one and see the image manipulation, but the modules page still lists it as 1.0. =)
Nope, in order for that to change you need to uninstall and then re-install the module. The version number is stored in the database upon installation…
Say your upload destination has a maximum width of 400 and maximum height of 500 px. If you want to upload a jpg or png (gif is not supported) which is larger than that (say 640x480 = too wide), than it takes the maximum width (400) and - if you have checked ‘maintain aspect ratio’ - it calculates the appropriate height. The script then resizes the uploaded image.
The three ‘sizes’ are in fact not sizes but relate to the quality of the image: the jpg compression. You’d probably want to keep that to ‘high’.
Do you get any error messages? And do you have the gallery module up and runnig? If so, what are your image library settings there?
I deliberately chose not to add too much image manipulation options to this module. I think that belongs to the Gallery module instead… (although I just found this schnazzy php class to read/write exif data from jpgs and am tempted to do something with that)