Advanced search  

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

Pages: [1]   Go Down

Author Topic: bold text on thumbnail page description?  (Read 4347 times)

0 Members and 1 Guest are viewing this topic.

crl

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Posts: 81
bold text on thumbnail page description?
« on: January 24, 2007, 05:10:57 pm »

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

Code: [Select]
[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]
« Last Edit: January 27, 2007, 04:22:03 pm by GauGau »
Logged

Gizmo

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 1015
    • BullsEye Photos
Re: bold text on thumbnail page description?
« Reply #1 on: January 25, 2007, 12:51:52 pm »

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.
Logged
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

  • Guest
Re: bold text on thumbnail page description?
« Reply #2 on: January 25, 2007, 01:10:02 pm »

bbcode is disabled there. You can re-enable it by modifying include/functions.inc.php

Note: corrected to avoid double space.

Code: [Select]
        if ($CONFIG['caption_in_thumbview']){
            $caption .= $row['caption'] ? "<span class=\"thumb_caption\">".strip_tags(bb_decode($row['caption']))."</span>" : '';
        }

to

Code: [Select]
        if ($CONFIG['caption_in_thumbview']){
            $caption .= $row['caption'] ? "<span class=\"thumb_caption\">".$row['caption']."</span>" : '';
        }
« Last Edit: February 10, 2007, 11:26:00 am by Nibbler »
Logged

crl

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Posts: 81
Re: bold text on thumbnail page description?
« Reply #3 on: January 26, 2007, 09:25:01 pm »

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

crl

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Posts: 81
Re: bold text on thumbnail page description?
« Reply #4 on: January 27, 2007, 07:02:37 pm »

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]
« Last Edit: November 13, 2008, 07:25:21 am by Joachim Müller »
Logged
Pages: [1]   Go Up
 

Page created in 0.017 seconds with 19 queries.