https://www.icyphoenix.com/viewtopic.php?f=26&t=3055 ----------------------------------- sympatico Mon 05 Nov, 2007 15:59 FAP CUSTOMIZATION - Image Border ----------------------------------- hi, i would like to set border="1" on thumbnails in posts; i don't know how.... thank you for your help! ----------------------------------- Artie Fri 09 Nov, 2007 01:01 Re: Image Border ----------------------------------- Just so I understand .... Do you mean the thumbnails that are added to forum post using the [albumimg] bbcode ? ----------------------------------- DR Wed 05 Dec, 2007 23:30 Re: Image Border ----------------------------------- You just have to add a simple line after the img code [code linenumbers=false][img align=left style="border:solid 1px silver;padding:5px;margin-right:10px;"]http://www.icyphoenix.com/files/images/1603/vaca2.jpg[/img][/code] [img align=left style="border:solid 1px silver;padding:5px;margin-right:10px;"]http://www.icyphoenix.com/files/images/1603/vaca2.jpg[/img] ----------------------------------- Mighty Gorgon Sun 16 Dec, 2007 00:54 Re: Image Border ----------------------------------- [quote user="DR" post="22017"]You just have to add a simple line after the img code [code linenumbers=false][img align=left style="border:solid 1px silver;padding:5px;margin-right:10px;"]http://www.icyphoenix.com/files/images/1603/vaca2.jpg[/img][/code] [img align=left style="border:solid 1px silver;padding:5px;margin-right:10px;"]http://www.icyphoenix.com/files/images/1603/vaca2.jpg[/img][/quote] But that won't be possible in standard phpBB. I guess he has to create an extra class in the CSS and then specify it in the bbcode.tpl. Anyway thanks for showing how to add a border using BBCodes. I guess only few peoples knew that! :wink: ----------------------------------- sympatico Fri 21 Dec, 2007 23:15 Re: Image Border ----------------------------------- [quote user="Artie" post="21278"]Just so I understand .... Do you mean the thumbnails that are added to forum post using the [albumimg] bbcode ?[/quote] yes Artie, that's what i mean; thank you for your help! ----------------------------------- Artie Sat 22 Dec, 2007 23:21 Re: Image Border ----------------------------------- For a standard phpBB (Non Icy) board ... OPEN [b]templates/YOUR_TEMPLATE/bbcode.tpl[/b] FIND [codeblock]Image {IMG_NUM} Image {IMG_NUM} Image {IMG_NUM} Image {IMG_NUM}
Image {IMG_NUM}
[/codeblock] REPLACE (where desired) [codeblock]border="0"[/codeblock] WITH [codeblock]border="1"[/codeblock] or use DR's suggestion and replace [b]border="0"[/b] with the style attributes