MudCrab
July 9th, 2007, 04:01 PM
I've done some searching, but haven't found any direct answer to what I'm trying to do.
Say I have an image loaded into Post #8 of the thread I'm working on. I then want to redisplay that same image in Post #25.
I can't reupload it because it says the file is already in use. I know I can resize/rename the file and reupload to make it work, but that shouldn't be necessary since the file already exists.
Is there any easy way to use forum tags (ATTACH or IMG tags, for instance) to reference the image in the previous post (or even if it's in a different thread) and have it display the image (not a link)?
I know the IMG tags can reference an image file, but what do I reference?
If I look at the html source code for the page I can see how the attachment is coded, but I don't see how to use that to make the image show in the new post since it's using PHP.
<img src="http://www.wilderssecurity.com/attachment.php?attachmentid=191300&d=1183852463" border="0" alt="Name: linux_lf.jpg
Views: 37
Size: 190.3 KB" style="margin: 2px" /><br />
I've tried just putting in the ATTACH tags (from the original post), but it doesn't work. It just makes the post say Attachment.... with a link and does this to ALL the attachments (even the new ones I've uploaded for the new post). I then have to close out the thread, reopen it and reupload the new images to get them to display correctly.
Any help would be greatly appreciated. Thanks.
Say I have an image loaded into Post #8 of the thread I'm working on. I then want to redisplay that same image in Post #25.
I can't reupload it because it says the file is already in use. I know I can resize/rename the file and reupload to make it work, but that shouldn't be necessary since the file already exists.
Is there any easy way to use forum tags (ATTACH or IMG tags, for instance) to reference the image in the previous post (or even if it's in a different thread) and have it display the image (not a link)?
I know the IMG tags can reference an image file, but what do I reference?
If I look at the html source code for the page I can see how the attachment is coded, but I don't see how to use that to make the image show in the new post since it's using PHP.
<img src="http://www.wilderssecurity.com/attachment.php?attachmentid=191300&d=1183852463" border="0" alt="Name: linux_lf.jpg
Views: 37
Size: 190.3 KB" style="margin: 2px" /><br />
I've tried just putting in the ATTACH tags (from the original post), but it doesn't work. It just makes the post say Attachment.... with a link and does this to ALL the attachments (even the new ones I've uploaded for the new post). I then have to close out the thread, reopen it and reupload the new images to get them to display correctly.
Any help would be greatly appreciated. Thanks.