i tried to add a thumbnail for *.ufo (Ulead Photo Impact) files in g2.
i went to "site admin", "thumbnails" and added "application/ufo" by hand in the box with the name " Default thumbnail for mime type: " after that i choosed a selfmade thumb-pic and everything seemed to be pretty fine.
but it wasn´t.
when i add *.ufo files, the selfmade thumb does not appear. did i something wrong?
many thanks in advance to all of you!
chris!
Posts: 8601
is your browser sending the file as "application/ufo" mime type? most likely G2 is assigning some other mime type to the uploaded file. you can edit the mime type list in modules/core/classes/helpers/MimeHelper_simple.class to make G2 recognize the mime type by the file extension.
Posts: 5
i am not shure if the browser does. for the upload of the files i use a ftp-client. but i will edit the mentioned file and report if i have success.
Posts: 5
i modified "MIMEHelper_simple.class" and now it works perfectly.
admittedly i had to upload the file once again because the recreation of the thumbnails did not change the appearence of the already uploaded .ufo files.
but this is not a problem at all.
thank you very much for your help.
Posts: 7994
I created a new task for this.