UploadDir - specify your assets upload directory -

| No Comments | No TrackBacks

A few days ago, I happened to find an old post on Movable Type.org.

It seemed he was looking for an way to specify upload directories with each assets type.

I could recommend the plugin "UploadDir" if I found it in Dec,2009.

The "UploadDir", developed by Motokazu Sekine, known as "CHEEBOW" in Japan, can specify upload directories with each asset types.

This plugin is provided by M-Logic, Inc.

When you install the plugin, you can set upload directories with each type of asset files.

uploaddir.png

Within this plugin's configuration window, you can indicate each asset type's file extensions and the directories with each.

After that it enables you to set upload directory automatically when you try to upload asset files with MT's default asset upload interface.

audio:mp3,wma,m4a,midi,wav,aiff
videos:mp4,m4v,mpeg,avi,mov,wmv
images:bmp,jpg,jpeg,gif,tif,tiff,png
text:txt
docs:pdf,doc,xls,ppt
src:pl,c,cc,pas,rb
archive:bz2,cab,gz,jar,lzh,rar,tar,taz,zip


...is a list of directories and the file types that go into them. So if you want your uploaded images to go into a directory called "my_photos", you'd just change the one line from this:

images:bmp,jpg,jpeg,gif,tif,tiff,png

to this:

my_photos:bmp,jpg,jpeg,gif,tif,tiff,png

When you select a file for uploading in the uploader dialog it will autofill the directory in the form field.

According to the document, it can be used both MT4 and MT5. You can find the download link in the plugin page, which have "zip" or "tar.gz" characters in line.

No TrackBacks

TrackBack URL: http://www.mt-j.info/mt/mt-tb.cgi/29

Leave a comment

About this Entry

This page contains a single entry by nick published on February 9, 2010 12:30 PM.

"SystemMenu" plugin was released by okayama, at the "Weeeblog+" was the previous entry in this blog.

Including a template module from the parent website is the next entry in this blog.

Find recent content on the main index or look in the archives to find all content.