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

Development and Programming

Ryan M.'s avatar
Ryan M.
1,511 posts
17 years ago
Ryan M.'s avatar Ryan M.

Thanks, tpayton. I just reverted and everything works fine. This is one reason I always keep the last 2-3 versions of any module, plugin or extension!

       
tpayton's avatar
tpayton
172 posts
17 years ago
tpayton's avatar tpayton

Mark (Huot), any chance you could but up a link for 2.1.0 on your first entry of this thread for those poor folks who don’t keep backups.

       
Mark Bowen's avatar
Mark Bowen
12,637 posts
17 years ago
Mark Bowen's avatar Mark Bowen
those poor folks who don’t keep backups.

Yep that would be me as you know Mr T!! 😊

Mark

P.S. Thanks for mentioning my name about the resize thing although maybe Mark could let us know exactly what I have done there and whether or not it is causing any other problems behind the scenes at all?

       
james Brown's avatar
james Brown
492 posts
17 years ago
james Brown's avatar james Brown

how do you access the created thumbnails???

       
Hop Studios's avatar
Hop Studios
459 posts
17 years ago
Hop Studios's avatar Hop Studios

The error seems to be in the part of the code where File fetches the max_height and max_width from the module preferences – it’s not pulling back the set values, even if those are blank or greater than 500, so it’s using the default, which is 500/700.

I couldn’t figure it out, so I disabled the resizing code by just commenting it out.

TTFN Travis

       
Alex Rubin's avatar
Alex Rubin
2 posts
17 years ago
Alex Rubin's avatar Alex Rubin

I’m looking for a way to set single or multiple uploads per weblog. I saw a feature request on page 6 or 7 for it but I couldn’t find any responses for that request. I’ve got an instance where I’d like to limit a users ability to get into trouble by uploading multiple images. I know I could just not display the multiple images on the front end but I’d prefer to be able to set it in the admin.

I guess the other option would be to duplicate the extension and create a ext.file_single and therefore create a second field type where the settings were set for single file uploads only.

Thoughts?

Thanks!

-Alex

       
rick.prince's avatar
rick.prince
111 posts
17 years ago
rick.prince's avatar rick.prince

Erm I’m having issues with 2.1.2 as well, getting an error thrown when I try to upload:

Warning: getimagesize() [function.getimagesize]: open_basedir restriction in effect. File(/tmp/php_upload/phphiCoDf) is not within the allowed path(s) in /home/ki/kir/kirradive.com/public/www/system/extensions/ext.file.php on line 494

Warning: getimagesize(/tmp/php_upload/phphiCoDf) [function.getimagesize]: failed to open stream: Operation not permitted in /home/ki/kir/kirradive.com/public/www/system/extensions/ext.file.php on line 494
Error The filetype of the field ‘courses_gallery’ was not allowed, please make sure it is an image.

I figure my best bet is to revert to 2.1.0 as suggested - can someone upload it hear so others can use it as well? Thanks!

       
Treemeat's avatar
Treemeat
3 posts
17 years ago
Treemeat's avatar Treemeat

Soooooo, anyone have that copy of 2.1.0 that everyone needs? PLEEEEASE somebody post it somewhere. What happened to Mark Huot?

       
Mark Huot's avatar
Mark Huot
587 posts
17 years ago
Mark Huot's avatar Mark Huot

Sorry about the lack of conversation lately guys. I’ve been quietly trying to get version 3.0.0 out the door which should address all these issues. It’s coming, hopefully sooner rather than later.

       
Treemeat's avatar
Treemeat
3 posts
17 years ago
Treemeat's avatar Treemeat

Awesome! Thanks, Mark. People are only clamoring so much because your extension is so good, and pretty much as important as the rest of Expression Engine to me.

In the meantime, think I can get 2.1.0 from you?

       
Mark Huot's avatar
Mark Huot
587 posts
17 years ago
Mark Huot's avatar Mark Huot

Alright, for anyone still following this thread, I have a beta of version 3.0.0 up on my site. You can grab it here: http://docs.markhuot.com/ee/extensions/file/. Enjoy!

       
rick.prince's avatar
rick.prince
111 posts
17 years ago
rick.prince's avatar rick.prince

Woot! Thanks Mark.

       
Gabriel's avatar
Gabriel
130 posts
17 years ago
Gabriel's avatar Gabriel

Big thanks Mark for an update!

       
Dane Thomas's avatar
Dane Thomas
139 posts
17 years ago
Dane Thomas's avatar Dane Thomas

Mark - I just revisted this thread after having some issues with files with spaces in them and I noticed that version 3 has a clean files option that will solve this problem.

I’ve just enabled the extension though and there is no settings section in the extensions page as there was previously? Any ideas?

       
Dane Thomas's avatar
Dane Thomas
139 posts
17 years ago
Dane Thomas's avatar Dane Thomas

Ah my mistake - I see the parameters now have been moved to the Image Properties tag rather than a settings section.

Do you know of a hack that when using the clean_filename option that it could remove & symbols as well? I’m using phpThumb with my images and I just came across a problem where a filename had spaces and an & symbol in the name. Using clean_file_names it removed the spaces, but phpThumb was still getting caught up on the & symbol expecting that there sure be a phpThumb centric parameter after it.

       
First 16 17 18 19 20 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.