I am uploading a CAD file from a program called "Revit" that has an RVT extension. No mater what I try in the Thumbnail Manager, I cannot get it to assign my custom thumbnail to this new file type. Can you give me some pointers? I don't really know how the mime types are supposed to work. These are the Mime Types I've tried:
application/revit (rvt)
data/revit (rvt)
*.rvt
(rvt)
rvt
Does the extension have to be recognized by gallery somehow? When I actually download an RVT file, it actually had been renamed to *_rvt instead of *.rvt. Not sure if this is some security issue that is effecting it.
Thanks!
Gallery version = 2.3 core 1.3.0
API = Core 7.54, Module 3.9, Theme 2.6, Embed 1.5
PHP version = 5.2.6 cgi
Webserver = Apache
Database = mysqli 5.0.67-community-log, lock.system=flock
Toolkits = Gd, Ffmpeg, Thumbnail, ImageMagick, LinkItemToolkit, jpegtran, NetPBM, Dcraw
Acceleration = none/21600, none/21600
Operating system = Linux biz42.inmotionhosting.com 2.6.18-92.1.13.el5PAE #1 SMP Wed Sep 24 20:07:49 EDT 2008 i686
Default theme = matrix
gettext = enabled
Locale = en_US
Browser = Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US) AppleWebKit/532.0 (KHTML, like Gecko) Chrome/3.0.195.27 Safari/532.0
Rows in GalleryAccessMap table = 50
Rows in GalleryAccessSubscriberMap table = 322
Rows in GalleryUser table = 5
Rows in GalleryItem table = 296
Rows in GalleryAlbumItem table = 60
Rows in GalleryCacheMap table = 0
Posts: 6138
If apache does not know what it is, then chances are neither will gallery
look for a file called mime.types on your server mine is in /usr/local/etc/apache2/mime.types
You need to add your mime and extension ie.
video/x-flv flv f4v
video/quicktime qt mov
...
and restart apache
-s
FlashYourWeb and Your Gallery with The E2 XML Media Player for Gallery2
Posts: 16
Thanks for the response!
I did it all except for restarting apache... since it is a hosted site. Is there anything I can do besides wait for it to be restarted someday? Also, will the new mime type that I added show up in the drop down list in the Thumbnail Manager, or will I still have to type it in?
Posts: 6138
You really need to restart apache.
You can also try adding your extension to an existing mime of similar type.
Install the Mime maintenance module then gallery admin -> mime types
-s
FlashYourWeb and Your Gallery with The E2 XML Media Player for Gallery2