I am trying to enter a bold type text into the description on the page with the thumbnails.
I have tried entering the following code
[b] [/b]
, which only works only on the full size image page description.
So is there a way to achieve this on the thumbnail page as well?
[modified to show bbcode tags - Nibbler]
You forgot to list your code so it's hard to tell exactly what you mean my "description". If you're talking about the caption underneath the thumbnails, you can edit .thumb_caption in the style.css file. If you want to add the same bold text to each thumbnail, that's different so please be more precise in your request.
bbcode is disabled there. You can re-enable it by modifying include/functions.inc.php
Note: corrected to avoid double space.
if ($CONFIG['caption_in_thumbview']){
$caption .= $row['caption'] ? "<span class=\"thumb_caption\">".strip_tags(bb_decode($row['caption']))."</span>" : '';
}
to
if ($CONFIG['caption_in_thumbview']){
$caption .= $row['caption'] ? "<span class=\"thumb_caption\">".$row['caption']."</span>" : '';
}
Thank you Nibbler!
Just what I was after, working fine now!
:D
One thing I have noticed is that there is a blank line only on the thumbnail page from the description and the bb coded line.
It would be nice to get the line without a blank space if possible?
sample shown below:
http://img267.imageshack.us/img267/551/gallerysamp1ux7.jpg
http://img58.imageshack.us/img58/5447/gallerysamp2tb6.jpg
[Edit GauGau] Replaced hotlinked images with attachments as per Board rules / Forum policies: Add Attachments (http://forum.coppermine-gallery.net/index.php/topic,55415.msg270617.html#msg270617) [/Edit]