Apr 16, 2003, 8:08 AM
Veteran / Moderator (6956 posts)
Apr 16, 2003, 8:08 AM
Post #3 of 3
Views: 1010
If you use the internal FILETYPE column, you can easily attach one item to a link. (you can attach more, but it starts to violate normalization laws, IMHO). If you want to attach a logo and an attachment, you can still use this without getting too messy. I have been playing with it again, and may release a .doc file that summarizes how to get them to work (pulled from all the old messages, and hints/tips from the forum the past 2 years).
If you need multiple attachments, there is an attachments plugin that works pretty well. I have not seen the updated version, but the version from 6 months ago worked well.
I'm still repackaging my logo, attachment, and multi attach programs as plugins. The difference between mine and the other plugin is I concentrated on image handling, and can identify the most common image types, resize them to create a thumbnail automatically, and add drop shadows and rotation to them to make them stand out. The only additions you need to your site are Image::Size and the netpbm utilities, and these can often be installed in your own home directory if you can't get them installed in your server's space.
I'm re-doing a lot of the logic, but there really is a good argument to leave the logo and a single attachment inside the Link record for performance issues.
The new plugin will do that, if you define those fields, but the configuration options will still be in a plugin.cfg file, not stored in the link record. You just won't have to 'fetch' those items from any attached table if you are running the "lite" version. The full version will use an attached table(s) that will require an additional call or two for each link display and detail page display.
PUGDOG� Enterprises, Inc.
The best way to contact me is to NOT use Email.
Please leave a PM here.