Advanced search  


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: centering album thumbnails  (Read 2760 times)

0 Members and 1 Guest are viewing this topic.


  • Coppermine newbie
  • Offline Offline
  • Gender: Male
  • Posts: 18
  • saving the world one byte at a time
centering album thumbnails
« on: December 12, 2004, 11:24:48 am »

im using the 2bornot2b theme and i am having some trouble centering the album thumbnails on the page .....

i noticed it outputs this for the thumbnail TD

<td height="100%" valign="top" class="thumbnails">
                       <a href="thumbnails.php?album=17" class="albums"><img src="albums/Rolex/thumb_240.JPG" class="image" " height="100" border="0" alt="240.JPG"></a>

and i tried adding a <div align=center> around the TD, an alige directly to the TD tag as well as <center> tags around the image ... nothing centers the image ....

the one flaw i noticed that may be breaking the code and keeping it from centering is the extra quote mark in the img tag --->

class="image" " height="100"

this is the only explanation i have for the items not centering .... my question is this .... how/where do i remove the code that is generating that " ?
I figured it would be somewhewre in the index.php or theme.php file but not sure where... any help appreciated ....

the gallery lives at  for now

i've attached my index.php and theme.php files for review ....



  • VIP
  • Coppermine addict
  • ***
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 5231
Re: centering album thumbnails
« Reply #1 on: December 12, 2004, 12:37:35 pm »

You need to remove the table cell nect to the thumb.
Open your theme.php, find and remove both times this code;

Code: [Select]
<td width="100%" height="100%" valign="top" class="tableb_compact">

                        <p class="album_desc"></p>
                        <p class="album_stat"></p>
It has been a long time now since I did my little bit here, and have done no coding or any other such stuff since. I'm back to being a noob here

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
Re: centering album thumbnails
« Reply #2 on: December 13, 2004, 08:21:19 am »

2bornot2b is still experimental, refer to

Pages: [1]   Go Up

Page created in 0.016 seconds with 20 queries.