Hi,
I don't succeed to add a new MIME type to gallery, using the mime type module. I want to add GPX files to albums and have a special thumbnail (with the thumbnail module) attached to this mime type.
I did the following administrator modifications:
In the MIME Types administration, I added a mimetype (application/gpx-xml) with extension gpx and checked the allow upload checkbox (tried viewable, but this had no effect and I prefer to leaf it off).
In the Thumbnails administration, I added a JPG file and attached that to my new MIME type.
After uploading a GPX file, the thumbnail isn't visible. When I did a little reverse engineering looking in the database (g2_DataItem table), I saw that the GPX got a text/plain MIME type.
Just to be sure, I added the same mime type to /etc/mime.types on my Linux box.
Is there something that I do wrong or forgot. Can anyone help me with this?
Thanks in Advance.
Erwin van der Horst
Gallery version = 2.2.3 core 1.2.0.5
PHP version = 4.3.10-19 apache2handler
Webserver = Apache/2.0.54 (Debian GNU/Linux)PHP/4.3.10-19
Database = mysqlt 4.1.11-Debian_4sarge7-log, lock.system=flock
Toolkits = ArchiveUpload, Exif, NetPBM, Gd, ImageMagick, LinkItemToolkit
Acceleration = none, none
Operating system = Linux six01 2.6.8-2-386 #1 Tue Aug 16 12:46:35 UTC 2005 i686
Default theme = carbon
gettext = enabled
Locale = en_US
Posts: 32509
please don't cross post. topic locked.
the discussion is continued at http://gallery.menalto.com/node/71716 .
--------------
Documentation: Support / Troubleshooting | Installation, Upgrade, Configuration and Usage