bold text on thumbnail page description? bold text on thumbnail page description?
 

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Main Menu

bold text on thumbnail page description?

Started by crl, January 24, 2007, 05:10:57 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

crl

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]

Gizmo

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.
Did you read the manual first???? Taking 2 minutes to backup your files can save you hours of wondering what you screwed up.
Billy Bullock - BullsEyePhotos Blog of Indecision

Nibbler

#2
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>" : '';
        }

crl

Thank you Nibbler!
Just what I was after, working fine now!
:D

crl

#4
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 [/Edit]