Ah, yeah- Mark and Levi have become slightly interchangable in my mind I suppose. Both great contributors! Sorry for the mix up. Anyway- I just grabbed the file and cleaned it up a bit if you wanted to take a look. I was also supporting .mov and .wav uplaods and using custom thumbnails for each of them, and getting video resolution sizes with the php getid3 lib. As you can see on lines 1445/1447 you can either not use those file types or change the file paths if you like. I’m sure there’s other things wrong with it, but I made it quickly for a specific project and purpose. Hopefully I’m not breaching any copyrights by Mark (?) Enjoy.
Just wondering if you possibly had the language file for this one too 😉
Wouldn’t mind to get a look at this one if possible.
Heh, yeah I forgot the lang file… as I said, its been a while since I’ve worked on it. Now that you mention preferences, if my memory serves me correctly (which I wouldn’t count on) I don’t think I used the preferences page and I just set the defaults I wanted in the ext file, as we were using phpThumb to do resizing on the front end and the previews.
Anyway, here’s the language file.
If you do come across any errors please post them and I’ll be glad to make this a little more “functioning” as opposed to the “one-time” fixes I implemented.
boswebdev, I’m trying your doctored extension and am getting an error when trying to output the code.
Notice: Undefined index: thumb in /www/.../public_html/.../extensions/ext.mh_file_gal_ext.php on line 1360
I was also getting the mySQL error cody mentioned when updating the file upload preferences, but when I additionally installed the original File extension, the mySQL error went away.
Fixed “thumb” notice if no thumb exists.
Great! The “thumb” error is indeed gone. :coolsmile: Should we need to have the original “File” extension installed and active also?
Suggestions: If we could have the capability to insert images using the file browser that would be awesome, and a field for photo credits would be welcome, but it is a great improvement as-is.
Thanks again for sharing.
Fixed “thumb” notice if no thumb exists.Great! The “thumb” error is indeed gone. :coolsmile: Should we need to have the original “File” extension installed and active also? Suggestions: If we could have the capability to insert images using the file browser that would be awesome, and a field for photo credits would be welcome, but it is a great improvement as-is. Thanks again for sharing.
The original should not be needed anymore- as I tested these fixed on a fresh installation. Any other problems feel free to post them! If enough people want some sort of ‘credits’ field I suppose I could add one when I have time.
Hi, back to a question about the original file extention; I’m using 3.11;
is there a way to NOT resize images when the are smapper than Max_width, only if they are larger? Right now it resizes the images to the max_width, even if they are smaller. I need the resize only for larger images.
Any idea? Thanks in advance.
…and now a question, rather than an answer! I’ve not seen a response to this in the forums, but apologies if I’ve missed something. If I try to add a large image (over 3mb), the memory times out and I get the ‘white screen of death’ (which someone so aptly described somewhere else). I’ve got the maximum file size set to 2097152 bytes (2mb) in the file upload settings, but the file size doesn’t seem to be getting caught early enough in the proceedings? Any suggestions of getting an error message to show up rather than the system freezing? I tried uploading the file using the first party upload button, and this catches the problem in time. Any help much appreciated!
I am getting the ‘white screen of death’ when an image has an embedded colour profile. Has anyone else had this problem or does anyone know of a fix for this?
EE 1.6.6 File 3.1.1
Everything seems to be working fine except when I change the settings in File Upload Preferences for the File Gallery Settings, the changes won’t take. They just revert back to the defaults immediately. Anyone else having this issue?
I’m using boswebdev’s File Gallery Extension rather than the original File Extension.
Everything seems to be working fine except when I change the settings in File Upload Preferences for the File Gallery Settings, the changes won’t take. They just revert back to the defaults immediately. Anyone else having this issue? I’m using boswebdev’s File Gallery Extension rather than the original File Extension.
Looking at the SQL queries, I know I was right in thinking that EE should be writing File Gallery’s settings to the MySQL DB, but when I take a look at the DB, there isn’t anything in the exp_mh_file_gal table. What’s going on here?
Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.