Template Image Mime Type


Tyson Oshiro

3rd Party (Free)

Creative Commons Attribution Non-Commercial Download v1.0

EE Version Support

  • ExpressionEngine 2


If an item is crossed out, it might be untested, not applicable or incompatible. Contact the developer to be sure.

  • Updater
  • Multi Site Manager
  • Stand Alone Entry Form
  • Low Variables
  • Content Elements
  • Better Workflow
  • Matrix
  • Grid
  • Webservice
  • Publisher


  • jQuery for the Control Panel

Add-On Type(s)



This extension simply adds four image types to the template preferences type drop-down: .jpg, .png, .gif, and .swf.

Not sure how useful this extension will be for others.  However, we had the need for EE to serve a template as an image.  Thank goodness the EE developers had the foresight to include a hook to add template types.  There are four MIME types that are available upon installing this extension; .jpg, .png, .gif, .swf.  Feel free to add or remove the MIME types within the module as you need within the “_settings” method.  Perhaps, later I’ll add a settings page for this extension to add/remove MIME types within the CP.

Upload this extension in the third_party directory in your expressionengine folder, enable, and your done.  Your templates will now have image types available under the “preferences” section.

Hope this helps someone in a similar situation I found myself in.


GIT Repo: https://github.com/tyzy/template-image-mime-type

Download Template Image Mime Type

EE Support Downloads Add-On Version Release Date
Not Specified Download 1.0 Feb 20, 2014

Hooks Used

If the add-on is an extension, and ties into ExpressionEngine's core files, it will use ExpressionEngine hooks. We are listing any hooks the add-on uses for developers to have an easier time locating other add-ons that they can reference for their own work.

  1. template_types

This entry was created February 21, 2014, 11:42 am.
This entry was last updated July 1, 2014, 12:06 am.

Disclaimer: Information about ExpressionEngine add-ons is provided as a service to you, the user, and every member of the ExpressionEngine community. devot:ee is not responsible if you hose, mangle, wreck, or otherwise destroy your EE website by installing an add-on that you found out about at this site, regardless of its rating, Favorites status, commercial or free status, or general popularity. Caveat EEmptor!

Returns: devot:ee has a 30-day return policy on all commercial add-ons sold through devot-ee.com. If you need to return an add-on, do not go to the developer or the developer's site, but rather visit our returns page at https://devot-ee.com/returns to initiate your return. If you have questions, email support@devot-ee.com.

There are no reviews for this add-on yet.

What are you waiting for? Rate it and review it!