Page 1 of 1

[solved] Uploads module question/suggestion

Posted: Fri Feb 14, 2014 10:04 pm
by 10010110
I’m currently trying out the Uploads module and in the settings I’ve added “tif, tiff, TIF” to the image files to create thumbnails for and uploaded a file with the ending “TIF”. I’m getting the message “We do not recognize this image format”.

Now, I found that string in /lib/filemanager/ImageManager/Classes/Transform.php and saw that there is a case for “tiff” which seems to indicate that TIFF files mandatorily need the ending “tiff” and “tif” is not accepted/recognized. Then, that error message appears on the public site as blank text right before the template is parsed (i. e. before the HTML comment “Start Upload Summary Template”) which is kind of annoying because 1) I can’t manipulate it in any way (e. g. hide it or style it differently) and 2) it is therefore confusing visitors because that’s a message that shouldn’t be relevant to them, only to site editors/admins. At least this message should be in some HTML element so that it can more easily be manipulated.

Is there any way this could be fixed?

Now a suggestion: Usability wise it is better to incorporate the description textarea in the first section because it is confusing the way it is currently and it is unnecessary.

And lastly, I understand the intention on the main “Files” page/tab that not all files are shown because it could be a very long list but usability wise this is also not an ideal solution because it is confusing when you upload a file in a category that is not the first/selected one, and it will not show up automatically after you have uploaded. At least it confused me, and I wouldn’t consider myself a total n00b. The same principle is applied in the CGCalendar module, by the way (probably because they both are by calguy1000).

From a usability point of view it would be better to show a (paginated) list of all files by default (with a choice of newest or oldest fils first) and only limit the items shown by manually applying a filter.

I hope my suggestions are heard.

Re: Uploads module question/suggestion

Posted: Sat Feb 15, 2014 6:02 pm
by calguy1000
a: PHP's GD library does not support tiff so you're kinda out of luck with that.

b: Your issue with uploading files cannot be reproduced

c: As far as user interface suggestions, they are not in my current priority list.

Re: Uploads module question/suggestion

Posted: Tue Feb 18, 2014 8:44 pm
by 10010110
Thanks, calguy1000. I can certainly add manually created thumbnails for TIFF images, just wanted to know.