albumlist thumbnails albumlist thumbnails
 

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

albumlist thumbnails

Started by energy0m, December 09, 2004, 07:52:24 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

energy0m

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

Casper

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 [img]http://yoursite.com/images/your_image.jpg[/img]
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

nize ... gonna try this now :) 

will it align properly with the 1st thumbnail ?

energy0m

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 ?

Casper

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

Find this code (twice);
<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;
<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>


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