Log in

View Full Version : Attachment image and text - help


www.tfw2005.com
08-25-2004, 10:13 PM
Hey guys,

I am trying to find the code/template where the $attachment image string is created. Right now, whenever you call $attachment in the code, it creates a linked thumbnail (going to the larger image). However, this makes it so that if you call $attachment, you cannot insert it within an image tag, and therefore cannot align text next to it.

For example, if you did ...$attachment $ news.... it would put the news text info next to the image, but starting at the bottom of the image.

What I am looking for is a way to top left align all text next to attachment images and thumbnails automatically. If there is a code I can apply to $attachment via PHP that I do not know about, cool. Otherwise, whatever template or file that needs to be modded at the core so that the equivalent of

< a href=attachmentimagefull >< img src=attachmentthumbnail align=left></a> text text text......

can be outputted would be great. Ive tried looking in functions_images.php, functions_file.php, attachments.php, and global.php , but could find no HTML based output strings.

This is for use with VBAdvanced, and a mod for images in news on the main page.

Quick help would be greatly appreciated.