Asset Gallery
Asset Gallery lets you easily create collections for your entries, such as photo galleries. Combining MT4's built-in asset manager with powerful custom fields capabilities, you simply upload your files using the familiar Movable Type interface and the plugin does the rest, even offering a fancy carousel view of your images right within the MT interface. Asset Gallery supports non-photo uploads, too, supporting display of video files, Word documents, PDFs or anything else on any page on your site.
To display the assets on your blog, Asset Gallery gives you a new custom template tag with the -Assets block/container tag (within which you can use any MTAsset tag).
For example, if you had created a custom field with a custom tag of MTEntryPhotoGallery, you could use the following code to display the images in your gallery:
<mt:EntryPhotoGalleryAssets>
<a href="<mt:AssetURL>" title="<mt:AssetLabel>"><img src="<mt:AssetThumbnailURL>" /></a>
</mt:EntryPhotoGalleryAssets>

Richard Benson
July 10, 2008 6:26 AM | Reply
This looks brilliant, however I get the following error as soon as this plugin is intalled:
"Publish error in template 'error.tmpl': Unknown tag found: setvarblock"
Any ideas?
(running 4.2rc3)
Chris
July 10, 2008 10:16 AM | Reply
I am experiencing the exact same problem with the same release version of MT as Richard Benson.
Richard Benson
July 15, 2008 9:46 AM | Reply
ok, I have narrowed the actual error generated to /tmpl/cms/error.tmpl (or at least whatever is parsing it) and it can't handle a single MT tag, not one, hence the useless error message.
Now, has the asset gallery also broken the error reporting, or was the error reporting broken anyway and when Asset Gallery generated an error MT can no longer handle it?
Has anyone got this working? If so on what set up?
Richard Benson
July 25, 2008 7:37 AM | Reply
If you change line 62 of /plugins/AssetGallery/lib/AssetGallery.pm to:
The tagging instructions above look like they are completely off, and in facvt following them will mean nothing will happen to your assets. I called mine "entryphotogallery" in the template tag and the basename. You also HAVE to specify a folder to place the uploaded images.
To get it to display, you do the following:
But that doesn't do thumbnails like it specifies there. I will keep digging until such time as Arvind or someone else involved lets us know what's going on!
Looks like the sub names were changed.
Interestingly, it breaks my YUI plugin :(
Richard Benson
July 25, 2008 7:49 AM | Reply
all the code there is wrong, i still haven't worked out what MT.org does to code!
smitty1140
August 6, 2008 12:40 PM | Reply
Where do I upload these files too?