Icy Phoenix

     
 


This forum is locked: you cannot post, reply or edit topics.  This topic is locked: you cannot edit posts or make replies. 
Page 1 of 1
 
 
Reply with quote Download Post 
Post 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!
 



 
sympaticoSend private message  
Back to topPage bottom
Icy Phoenix is an open source project, you can show your appreciation and support future development by donating to the project.

Support us
 
Reply with quote Download Post 
Post Re: Image Border 
 
Just so I understand ....

Do you mean the thumbnails that are added to forum post using the [albumimg] bbcode ?
 



 
ArtieSend private message  
Back to topPage bottom
Reply with quote Download Post 
Post Re: Image Border 
 
You just have to add a simple line after the img code

Code: [Download] [Hide] [Select]
[img align=left style="border:solid 1px silver;padding:5px;margin-right:10px;"]http://www.icyphoenix.com/files/images/1603/vaca2.jpg[/img]


vaca2
 



 
DRSend private message  
Back to topPage bottom
Reply with quote Download Post 
Post Re: Image Border 
 
DR wrote: [View Post]
You just have to add a simple line after the img code

Code: [Download] [Hide] [Select]
[img align=left style="border:solid 1px silver;padding:5px;margin-right:10px;"]http://www.icyphoenix.com/files/images/1603/vaca2.jpg[/img]


vaca2

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!
 




____________
Luca
SEARCH is the quickest way to get support.
Icy Phoenix ColorizeIt - CustomIcy - HON
 
Mighty GorgonSend private messageSend e-mail to userVisit poster's website  
Back to topPage bottom
Reply with quote Download Post 
Post Re: Image Border 
 
Artie wrote: [View Post]
Just so I understand ....

Do you mean the thumbnails that are added to forum post using the [albumimg] bbcode ?


yes Artie, that's what i mean;

thank you for your help!
 



 
Last edited by sympatico on Fri 21 Dec, 2007 23:15; edited 1 time in total 
sympaticoSend private message  
Back to topPage bottom
Reply with quote Download Post 
Post Re: Image Border 
 
For a standard phpBB (Non Icy) board ...

OPEN templates/YOUR_TEMPLATE/bbcode.tpl

FIND

Code: [Download] [Hide] [Select]
<!-- 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 -->

REPLACE (where desired)
Code: [Download] [Hide] [Select]
border="0"

WITH
Code: [Download] [Hide] [Select]
border="1"


or use DR's suggestion and replace border="0" with the style attributes
 



 
ArtieSend private message  
Back to topPage bottom
This forum is locked: you cannot post, reply or edit topics.  This topic is locked: you cannot edit posts or make replies.  Page 1 of 1
 


Display posts from previous:    

HideWas this topic useful?

Link this topic
URL
BBCode
HTML




 
Permissions List
You cannot post new topics
You 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


  

 

  cron