hi, i would like to set border="1" on thumbnails in posts; i don't know how....
thank you for your help!
FAP CUSTOMIZATION - Image Border
Subject: Re: Image Border
Just so I understand ....
Do you mean the thumbnails that are added to forum post using the [albumimg] bbcode ?
Do you mean the thumbnails that are added to forum post using the [albumimg] bbcode ?
Subject: Re: Image Border
You just have to add a simple line after the 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]
Subject: Re: Image Border
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:
DR wrote: [View Post]
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:
Subject: Re: Image Border
Last edited by sympatico on Fri 21 Dec, 2007 23:15; edited 1 time in total
Last edited by sympatico on Fri 21 Dec, 2007 23:15; edited 1 time in total
Subject: Re: Image Border
For a standard phpBB (Non Icy) board ...
OPEN templates/YOUR_TEMPLATE/bbcode.tpl
FIND
REPLACE (where desired)
WITH
or use DR's suggestion and replace border="0" with the style attributes
OPEN templates/YOUR_TEMPLATE/bbcode.tpl
FIND
<!-- BEGIN fullalbumimg --><a href="album_showpage.php?pic_id={IMG_NUM}" target="_blank" class="postlink"><img src="album_picm.php?pic_id={IMG_NUM}" alt="Image {IMG_NUM}" title="Image {IMG_NUM}" border="0" /></a><!-- END fullalbumimg -->
<!-- BEGIN albumimg --><a href="album_showpage.php?pic_id={IMG_NUM}" target="_blank" class="postlink"><img src="album_thumbnail.php?pic_id={IMG_NUM}" alt="Image {IMG_NUM}" title="Image {IMG_NUM}" border="0" /></a><!-- END albumimg -->
<!-- BEGIN albumimgl --><a href="album_showpage.php?pic_id={IMG_NUM}" target="_blank" class="postlink"><img src="album_thumbnail.php?pic_id={IMG_NUM}" border="0" align="left" alt="Image {IMG_NUM}" title="Image {IMG_NUM}" /></a><!-- END albumimgl -->
<!-- BEGIN albumimgr --><a href="album_showpage.php?pic_id={IMG_NUM}" target="_blank" class="postlink"><img src="album_thumbnail.php?pic_id={IMG_NUM}" border="0" align="right" alt="Image {IMG_NUM}" title="Image {IMG_NUM}" /></a><!-- END albumimgr -->
<!-- BEGIN albumimgc --><center><a href="album_showpage.php?pic_id={IMG_NUM}" target="_blank" class="postlink"><img src="album_thumbnail.php?pic_id={IMG_NUM}" border="0" align="center" alt="Image {IMG_NUM}" title="Image {IMG_NUM}" /></a></center><!-- END albumimgc -->
<!-- BEGIN albumimg --><a href="album_showpage.php?pic_id={IMG_NUM}" target="_blank" class="postlink"><img src="album_thumbnail.php?pic_id={IMG_NUM}" alt="Image {IMG_NUM}" title="Image {IMG_NUM}" border="0" /></a><!-- END albumimg -->
<!-- BEGIN albumimgl --><a href="album_showpage.php?pic_id={IMG_NUM}" target="_blank" class="postlink"><img src="album_thumbnail.php?pic_id={IMG_NUM}" border="0" align="left" alt="Image {IMG_NUM}" title="Image {IMG_NUM}" /></a><!-- END albumimgl -->
<!-- BEGIN albumimgr --><a href="album_showpage.php?pic_id={IMG_NUM}" target="_blank" class="postlink"><img src="album_thumbnail.php?pic_id={IMG_NUM}" border="0" align="right" alt="Image {IMG_NUM}" title="Image {IMG_NUM}" /></a><!-- END albumimgr -->
<!-- BEGIN albumimgc --><center><a href="album_showpage.php?pic_id={IMG_NUM}" target="_blank" class="postlink"><img src="album_thumbnail.php?pic_id={IMG_NUM}" border="0" align="center" alt="Image {IMG_NUM}" title="Image {IMG_NUM}" /></a></center><!-- END albumimgc -->
REPLACE (where desired)
WITH
or use DR's suggestion and replace border="0" with the style attributes
Page 1 of 1
You cannot post new topicsYou cannot reply to topics
You cannot edit your posts
You cannot delete your posts
You cannot vote in polls
You cannot attach files
You can download files
You cannot post calendar events
This is a "Lo-Fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Powered by Icy Phoenix based on phpBB
Generation Time: 0.1605s (PHP: 12% SQL: 88%)
SQL queries: 10 - Debug Off - GZIP Enabled