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: albumlist thumbnails  (Read 4000 times)

0 Members and 1 Guest are viewing this topic.

energy0m

  • Coppermine newbie
  • Offline Offline
  • Gender: Male
  • Posts: 18
  • saving the world one byte at a time
albumlist thumbnails
« on: December 09, 2004, 07:52:24 pm »

I was wondering if theres an easy way to do what i need to accomplish

first take a look at the gallery:

http://quasar.hyperdrivedns.com/~hoover/gallery/index.php

now on the albums theres 1 album thumbnail instead id like to have several thumbnails to show with a "more" link at the end of the pics ...
im thinking a max of like 5 pictures and then a more link to the album itself ....
how would this be done .... please help!!! 

thanx,
energy0m
Logged

Casper

  • VIP
  • Coppermine addict
  • ***
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 5231
Re: albumlist thumbnails
« Reply #1 on: December 09, 2004, 08:02:37 pm »

Try using bb code in the album description.  You wil have to do this manually, but once done, that's it.
So for each thumb, you would put
Code: [Select]
[img]http://yoursite.com/images/your_image.jpg[/img]
Logged
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

energy0m

  • Coppermine newbie
  • Offline Offline
  • Gender: Male
  • Posts: 18
  • saving the world one byte at a time
Re: albumlist thumbnails
« Reply #2 on: December 09, 2004, 08:12:15 pm »

nize ... gonna try this now :) 

will it align properly with the 1st thumbnail ?
Logged

energy0m

  • Coppermine newbie
  • Offline Offline
  • Gender: Male
  • Posts: 18
  • saving the world one byte at a time
Re: albumlist thumbnails
« Reply #3 on: December 09, 2004, 10:00:49 pm »

utilizing BB code is there a way to apply the class thats applied to all the other images on that page the class="image" ?

i tried doing [img class="image"]http://quasar.hyperdrivedns.com/~hoover/gallery/albums/Rolex/thumb_239.JPG[/img]

but it wouldnt pasrse that at all .... any ideas ?
Logged

Casper

  • VIP
  • Coppermine addict
  • ***
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 5231
Re: albumlist thumbnails
« Reply #4 on: December 09, 2004, 10:24:57 pm »

You will have to apply it to the cell in your theme.php

Find this code (twice);
Code: [Select]
<tr height="100%">
                <td align="center" height="100%" valign="middle" class="thumbnails">
                        <img src="images/spacer.gif" width="{THUMB_CELL_WIDTH}" height="1" class="image" style="margin-top: 0px;
 margin-bottom: 0px; border: none;"><br />
                        <a href="{ALB_LINK_TGT}" class="albums">{ALB_LINK_PIC}<br /></a>
                </td>
                <td height="100%">
                        <img src="images/spacer.gif" width="1" height="1">
                </td>
                <td width="100%" height="100%" valign="top" class="tableb_compact">
                        {ADMIN_MENU}
                        <p>{ALB_DESC}</p>
                        <p class="album_stat">{ALB_INFOS}</p>
                </td>
        </tr>

And change the class="tableb" to class="thumbnails", like this;
Code: [Select]
<tr height="100%">
                <td align="center" height="100%" valign="middle" class="thumbnails">
                        <img src="images/spacer.gif" width="{THUMB_CELL_WIDTH}" height="1" class="image" style="margin-top: 0px;
 margin-bottom: 0px; border: none;"><br />
                        <a href="{ALB_LINK_TGT}" class="albums">{ALB_LINK_PIC}<br /></a>
                </td>
                <td height="100%">
                        <img src="images/spacer.gif" width="1" height="1">
                </td>
                <td width="100%" height="100%" valign="top" class="thumbnails">
                        {ADMIN_MENU}
                        <p>{ALB_DESC}</p>
                        <p class="album_stat">{ALB_INFOS}</p>
                </td>
        </tr>

Logged
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
Pages: [1]   Go Up
 

Page created in 0.018 seconds with 21 queries.