krohnathlonman
07-25-2005, 02:30 AM
What I'd like to do is use mod_rewrite to make attachments that are normally like this: http://forum.iamnotageek.com/attachment.php?attachmentid=20701&d=1121092101
look like http://forum.iamnotageek.com/attachment_20701.gif
any suggestions on how to go about doing this? I see in the attachment DB there's an extension field. Basically what I'm thinking is to add that extension to the URL through the postbit_attachmentthumbnail template using if's for both .gif and .jpg I'm thinking this should get my archives into google's image search properly which for some sites would be a huge boost in traffic.
can you guys think of any hooks already in place that would help with this?
look like http://forum.iamnotageek.com/attachment_20701.gif
any suggestions on how to go about doing this? I see in the attachment DB there's an extension field. Basically what I'm thinking is to add that extension to the URL through the postbit_attachmentthumbnail template using if's for both .gif and .jpg I'm thinking this should get my archives into google's image search properly which for some sites would be a huge boost in traffic.
can you guys think of any hooks already in place that would help with this?