1 of 4
1
File Manager Module
Posted: 25 May 2005 05:31 AM   [ Ignore ]  
Research Assistant
Avatar
RankRankRank
Total Posts:  371
Joined  10-18-2004

Hello there,

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.

Download the module from my site.

What can File Manager do?

  * 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!

 Signature 

Low: the Pro Network member who brought you the File Manager Module, Yearly Archives Plugin, Find & Replace Plugin, Akismet Combo, and more…

Profile
 
 
Posted: 25 May 2005 10:21 AM   [ Ignore ]   [ # 1 ]  
Moderator
Avatar
RankRankRankRankRankRankRankRank
Total Posts:  32773
Joined  05-14-2004

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. =)

 Signature 
Profile
MSG
 
 
Posted: 25 May 2005 10:21 AM   [ Ignore ]   [ # 2 ]  
Moderator
Avatar
RankRankRankRankRankRankRankRank
Total Posts:  32773
Joined  05-14-2004

EEWiki: List of Modules.  Oops. =)

 Signature 
Profile
MSG
 
 
Posted: 25 May 2005 07:02 PM   [ Ignore ]   [ # 3 ]  
Research Scientist
Avatar
RankRankRankRankRankRank
Total Posts:  7534
Joined  08-05-2002

Pretty darn cool.  I like it.  Neat way of formatting your code too (took a quick look under the hood).

 Signature 
Profile
 
 
Posted: 25 May 2005 10:53 PM   [ Ignore ]   [ # 4 ]  
Research Assistant
Avatar
RankRankRank
Total Posts:  371
Joined  10-18-2004

@LisaJill and Paul: Thanks! smile I’ll try and keep things up to date.

 Signature 

Low: the Pro Network member who brought you the File Manager Module, Yearly Archives Plugin, Find & Replace Plugin, Akismet Combo, and more…

Profile
 
 
Posted: 26 May 2005 03:28 AM   [ Ignore ]   [ # 5 ]  
Moderator
Avatar
RankRankRankRankRankRankRank
Total Posts:  12272
Joined  04-29-2002

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!

 Signature 

Quick Reference - EE Trial Options - EE Wiki - Docs for updating a build

Profile
MSG
 
 
Posted: 26 May 2005 09:30 AM   [ Ignore ]   [ # 6 ]  
Research Assistant
Avatar
RankRankRank
Total Posts:  324
Joined  02-06-2004

Pretty slick! I love it, this is real handy!

 Signature 

hello! yoshi
hello! food |

Profile
 
 
Posted: 30 May 2005 11:33 AM   [ Ignore ]   [ # 7 ]  
Research Assistant
Avatar
RankRankRank
Total Posts:  371
Joined  10-18-2004

Well Sue, looks like you got your wish. smile

Check out version 1.1: my first attempt at image manupulation.

 Signature 

Low: the Pro Network member who brought you the File Manager Module, Yearly Archives Plugin, Find & Replace Plugin, Akismet Combo, and more…

Profile
 
 
Posted: 30 May 2005 11:41 AM   [ Ignore ]   [ # 8 ]  
Moderator
Avatar
RankRankRankRankRankRankRankRank
Total Posts:  32773
Joined  05-14-2004

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. =)

 Signature 
Profile
MSG
 
 
Posted: 30 May 2005 11:46 AM   [ Ignore ]   [ # 9 ]  
Research Assistant
Avatar
RankRankRank
Total Posts:  371
Joined  10-18-2004

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…

Oh, and pardon me for my typo… Manupulation… Hee… smile

 Signature 

Low: the Pro Network member who brought you the File Manager Module, Yearly Archives Plugin, Find & Replace Plugin, Akismet Combo, and more…

Profile
 
 
Posted: 30 May 2005 11:52 AM   [ Ignore ]   [ # 10 ]  
Moderator
Avatar
RankRankRankRankRankRankRankRank
Total Posts:  32773
Joined  05-14-2004

You, sir, need an upgrade script.  You can look at the linklist module, or the poll module, for examples of how they handled it. =)

 Signature 
Profile
MSG
 
 
Posted: 30 May 2005 12:29 PM   [ Ignore ]   [ # 11 ]  
Research Assistant
Avatar
RankRankRank
Total Posts:  371
Joined  10-18-2004

Aye, ma’am. It is done. The upgrade script is there. smile

 Signature 

Low: the Pro Network member who brought you the File Manager Module, Yearly Archives Plugin, Find & Replace Plugin, Akismet Combo, and more…

Profile
 
 
Posted: 30 May 2005 12:32 PM   [ Ignore ]   [ # 12 ]  
Moderator
Avatar
RankRankRankRankRankRankRankRank
Total Posts:  32773
Joined  05-14-2004

Thank you.  That’ll make support easier for you, and tracking easier for me. *winks*

 Signature 
Profile
MSG
 
 
Posted: 30 May 2005 01:59 PM   [ Ignore ]   [ # 13 ]  
Moderator
Avatar
RankRankRankRankRankRankRank
Total Posts:  12272
Joined  04-29-2002

Lodewijk, I have support for GD2, but my photo wasn’t resized..

You mention three sizes - what do they mean?

 Signature 

Quick Reference - EE Trial Options - EE Wiki - Docs for updating a build

Profile
MSG
 
 
Posted: 30 May 2005 10:05 PM   [ Ignore ]   [ # 14 ]  
Research Assistant
Avatar
RankRankRank
Total Posts:  371
Joined  10-18-2004

Resizing should work like this:

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?

 Signature 

Low: the Pro Network member who brought you the File Manager Module, Yearly Archives Plugin, Find & Replace Plugin, Akismet Combo, and more…

Profile
 
 
Posted: 30 May 2005 10:21 PM   [ Ignore ]   [ # 15 ]  
Lab Technician
Avatar
RankRankRankRank
Total Posts:  1628
Joined  05-13-2004

Groovy, I got this installed. THanks.

 Signature 

CreateSean - My journey to pro web designer
currently improving my CSS, XHTML, JQuery & photoshop kung fu skills
I am the poster formally known as The Linguist.

Profile
 
 
Posted: 31 May 2005 02:52 AM   [ Ignore ]   [ # 16 ]  
Moderator
Avatar
RankRankRankRankRankRankRank
Total Posts:  12272
Joined  04-29-2002

Ahhh… I understand now. I didn’t have a restriction of size, but was wanting the ability to resize after the upload.

 Signature 

Quick Reference - EE Trial Options - EE Wiki - Docs for updating a build

Profile
MSG
 
 
Posted: 31 May 2005 03:08 AM   [ Ignore ]   [ # 17 ]  
Research Assistant
Avatar
RankRankRank
Total Posts:  371
Joined  10-18-2004

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)

Anyhoo, no actual problems then? smile

 Signature 

Low: the Pro Network member who brought you the File Manager Module, Yearly Archives Plugin, Find & Replace Plugin, Akismet Combo, and more…

Profile
 
 
Posted: 31 May 2005 03:59 AM   [ Ignore ]   [ # 18 ]  
Moderator
Avatar
RankRankRankRankRankRankRank
Total Posts:  12272
Joined  04-29-2002

No actual problems. I’m just used to the Flickr uploader that allows you to pick a smaller size dynamically if the image is big.

EXIF data would be cool. smile

 Signature 

Quick Reference - EE Trial Options - EE Wiki - Docs for updating a build

Profile
MSG
 
 
   
1 of 4
1
 
Post Marker Legend
New Topic New posts Hot Topic Hot Topic with new posts New Poll New Poll Moved Topic Moved Topic Sticky Topic Sticky topic
Old Topic No new posts Hot Old Topic Hot Topic with no new posts Old Poll Old Poll Closed Topic Closed Topic Announcement Announcements
Theme
Change Theme
Visitor Statistics
The most visitors ever was 1149, on July 16, 2007 09:33 AM
Total Registered Members: 64505 Total Logged-in Users: 19
Total Topics: 81064 Total Anonymous Users: 11
Total Replies: 436273 Total Guests: 156
Total Posts: 517337    
Members ( View Memberlist )