We use cookies to improve your experience. No personal information is gathered and we don't serve ads. Cookies Policy.

ExpressionEngine Logo ExpressionEngine
Features Pricing Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University
Log In or Sign Up
Log In Sign Up
ExpressionEngine Logo
Features Pro new Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University Blog
  • Home
  • Forums

File Manager Module

Development and Programming

Low's avatar
Low
407 posts
about 20 years ago
Low's avatar Low

Hello there,

In Expression Engine, the only place - not taking the Gallery Module into account - to upload files, is in the

       
Lisa Wess's avatar
Lisa Wess
20,502 posts
about 20 years ago
Lisa Wess's avatar Lisa Wess

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

       
Lisa Wess's avatar
Lisa Wess
20,502 posts
about 20 years ago
Lisa Wess's avatar Lisa Wess

EEWiki:// List of Modules. Oops. =)

       
Paul Burdick's avatar
Paul Burdick
480 posts
about 20 years ago
Paul Burdick's avatar Paul Burdick

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

       
Low's avatar
Low
407 posts
about 20 years ago
Low's avatar Low

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

       
Sue Crocker's avatar
Sue Crocker
26,054 posts
about 20 years ago
Sue Crocker's avatar Sue Crocker

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!

       
Yoshi's avatar
Yoshi
39 posts
about 20 years ago
Yoshi's avatar Yoshi

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

       
Low's avatar
Low
407 posts
about 20 years ago
Low's avatar Low

Well Sue, looks like you got your wish. 😊

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

       
Lisa Wess's avatar
Lisa Wess
20,502 posts
about 20 years ago
Lisa Wess's avatar Lisa Wess

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

       
Low's avatar
Low
407 posts
about 20 years ago
Low's avatar Low

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… 😊

       
Lisa Wess's avatar
Lisa Wess
20,502 posts
about 20 years ago
Lisa Wess's avatar Lisa Wess

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

       
Low's avatar
Low
407 posts
about 20 years ago
Low's avatar Low

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

       
Lisa Wess's avatar
Lisa Wess
20,502 posts
about 20 years ago
Lisa Wess's avatar Lisa Wess

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

       
Sue Crocker's avatar
Sue Crocker
26,054 posts
about 20 years ago
Sue Crocker's avatar Sue Crocker

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

You mention three sizes - what do they mean?

       
Low's avatar
Low
407 posts
about 20 years ago
Low's avatar Low

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?

       
1 2 3 Last

Reply

Sign In To Reply

ExpressionEngine Home Features Pro Contact Version Support
Learn Docs University Forums
Resources Support Add-Ons Partners Blog
Privacy Terms Trademark Use License

Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.