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: Album list view without thumbnails  (Read 5152 times)

0 Members and 1 Guest are viewing this topic.

Juanito

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 32
Album list view without thumbnails
« on: June 15, 2005, 11:07:12 pm »

is it possible to have an album list without any thumbnails? i would simply like a listing of the albums (in alphabetical order if possible), without thumbnails and any additional info like the number of files or the date added. any help is appreciated! and thanks for making such a great product!
Logged

Tranz

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Gender: Female
  • Posts: 6149
Re: Album list view without thumbnails
« Reply #1 on: June 16, 2005, 04:12:59 am »

Yes it is possible. http://coppermine.sourceforge.net/manual.php#config_album_list Show first level album thumbnails in categories
Logged

Juanito

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 32
Re: Album list view without thumbnails
« Reply #2 on: June 16, 2005, 03:44:25 pm »

but isnt this for category view? rather than album view? i switched off "Show first level album thumbnails in categories" and it stops displaying thumbnails when viewing categories, but there are still thumbnails once i enter a category to see the list of albums inside that category. is is possible to remove these thumbnails?

i have a CPG gallery with over 15,000 pictures and over 200 albums. i wanted to remove the thumbnails because they make the page look cluttered and its difficult for viewers to find specific albums. it would be easier to browse with an album listing instead of a table with thumnails.
« Last Edit: June 16, 2005, 04:02:14 pm by Juanito »
Logged

terramay

  • Coppermine newbie
  • Offline Offline
  • Posts: 9
Re: Album list view without thumbnails
« Reply #3 on: November 30, 2005, 05:22:11 am »

but isnt this for category view? rather than album view? i switched off "Show first level album thumbnails in categories" and it stops displaying thumbnails when viewing categories, but there are still thumbnails once i enter a category to see the list of albums inside that category. is is possible to remove these thumbnails?

i have a CPG gallery with over 15,000 pictures and over 200 albums. i wanted to remove the thumbnails because they make the page look cluttered and its difficult for viewers to find specific albums. it would be easier to browse with an album listing instead of a table with thumnails.

I have been wondering the same thing... I searched all over... there is something stated for the category page... but what about the album page itself?
Logged

Tranz

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Gender: Female
  • Posts: 6149
Re: Album list view without thumbnails
« Reply #4 on: November 30, 2005, 05:32:13 am »

@terramay: you should not PM supporters to reply to threads. So there is my reply to the thread as you asked.
Logged

donnoman

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 1615
  • From donovanbray.com
    • Donovan Bray
Re: Album list view without thumbnails
« Reply #5 on: November 30, 2005, 06:11:10 am »

Try turning "show first level album thumbnails in category" off, and increase the "number of levels of categories to display".

Which will keep you on the index.php (category) navigation page longer.  Once you move to an album and are on thumbnails.php, thats what you're going to get... thumbnails.
Logged

terramay

  • Coppermine newbie
  • Offline Offline
  • Posts: 9
Re: Album list view without thumbnails
« Reply #6 on: November 30, 2005, 06:15:17 am »

Try turning "show first level album thumbnails in category" off, and increase the "number of levels of categories to display".

Which will keep you on the index.php (category) navigation page longer.  Once you move to an album and are on thumbnails.php, thats what you're going to get... thumbnails.

Not really what I was looking for... This is what I was thinking... once you click on a category and you are shown the albums within that category... how do you get so it only has a title... no thumbnail for the last uploaded on that album... just a title... or is that allowed?
Logged

donnoman

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 1615
  • From donovanbray.com
    • Donovan Bray
Re: Album list view without thumbnails
« Reply #7 on: November 30, 2005, 07:20:21 am »

Override the a templates in your theme.php, and you can use html remarks to cut out what you don't want. (or remove entirely)

Look for my note of "<!--  remarks to remove album list images" below.

Code: [Select]
$template_album_list_cat = <<<EOT

<!-- BEGIN c_stat_row -->
        <tr>
                <td colspan="{COLUMNS}" class="tableh1" align="center"><span class="statlink"><b>{STATISTICS}</b></span></td>
        </tr>
<!-- END c_stat_row -->
<!-- BEGIN c_header -->
        <tr>
<!-- END c_header -->
<!-- BEGIN c_album_cell -->
        <td width="{COL_WIDTH}%" valign="top">
        <table width="100%" cellspacing="0" cellpadding="0">
        <tr>
                <td colspan="3" height="1" valign="top" class="tableh2">
                        <span class="alblink"><a href="{ALB_LINK_TGT}"><b>{ALBUM_TITLE}</b></a></span>
                </td>
        </tr>
        <tr>
                <td colspan="3">
                        <img src="images/spacer.gif" width="1" height="1" border="0" alt="" /><br />
                </td>
        </tr>
        <tr>
                <td align="center" valign="middle" class="thumbnails">
                <!--   remarks to remove album list images
                        <img src="images/spacer.gif" width="{THUMB_CELL_WIDTH}" height="1" class="image" style="margin-top: 0px; margin-bottom: 0px; border: none;" alt="" /><br />
                        <a href="{ALB_LINK_TGT}" class="albums">{ALB_LINK_PIC}<br /></a>
                -->
                </td>
                <td>
                        <img src="images/spacer.gif" width="1" height="1" border="0" alt="" />
                </td>
                <td width="100%" valign="top" class="tableb_compact">
                        {ADMIN_MENU}
                        <p>{ALB_DESC}</p>
                        <p class="album_stat">{ALB_INFOS}</p>
                </td>
        </tr>
        </table>
        </td>
<!-- END c_album_cell -->
<!-- BEGIN c_empty_cell -->
        <td width="{COL_WIDTH}%" valign="top">
        <table width="100%" cellspacing="0" cellpadding="0" >
        <tr>
                <td height="1" valign="top" class="tableh2">
                        <b>&nbsp;</b>
                </td>
        </tr>
        <tr>
                <td>
                        <img src="images/spacer.gif" width="1" height="1" border="0" alt="" /><br />
                </td>
        </tr>
        <tr>
                <td width="100%" valign="top" class="tableb_compact" >
                      <div class="thumbnails" style="background-color:transparent"><img src="images/spacer.gif" width="1" height="{SPACER}" border="0" class="image" style="border:0;margin-top:1px;margin-bottom:0" alt="" /></div>
                </td>
        </tr>
        </table>
        </td>
<!-- END c_empty_cell -->
<!-- BEGIN c_row_separator -->
        </tr>
        <tr>
<!-- END c_row_separator -->
<!-- BEGIN c_footer -->
        </tr>
<!-- END c_footer -->
<!-- BEGIN c_tabs -->
        <tr>
                <td colspan="{COLUMNS}" style="padding: 0px;">
                        <table width="100%" cellspacing="0" cellpadding="0">
                                <tr>
                                       {TABS}
                                </tr>
                        </table>
                </td>
        </tr>
<!-- END c_tabs -->
<!-- BEGIN c_spacer -->
        <img src="images/spacer.gif" width="1" height="7" border="" alt="" /><br />
<!-- END c_spacer -->

EOT;

$template_album_list = <<<EOT

<!-- BEGIN stat_row -->
        <tr>
                <td colspan="{COLUMNS}" class="tableh1" align="center"><span class="statlink"><b>{STATISTICS}</b></span></td>
        </tr>
<!-- END stat_row -->
<!-- BEGIN header -->
        <tr>
<!-- END header -->
<!-- BEGIN album_cell -->
        <td width="{COL_WIDTH}%" valign="top">
        <table width="100%" cellspacing="0" cellpadding="0">
        <tr>
                <td colspan="3" height="1" align="left" valign="top" class="tableh2">
                        <span class="alblink"><a href="{ALB_LINK_TGT}"><b>{ALBUM_TITLE}</b></a></span>
                </td>
        </tr>
        <tr>
                <td colspan="3">
                        <img src="images/spacer.gif" width="1" height="1" border="0" alt="" /><br />
                </td>
        </tr>
        <tr>
                <td align="center" valign="middle" class="thumbnails">
                <!--  remarks to remove album list images
                        <img src="images/spacer.gif" width="{THUMB_CELL_WIDTH}" height="1" class="image" style="margin-top: 0px; margin-bottom: 0px; border: none;" alt="" /><br />
                        <a href="{ALB_LINK_TGT}" class="albums">{ALB_LINK_PIC}<br /></a>
                -->
                </td>
                <td>
                        <img src="images/spacer.gif" width="1" height="1" border="0" alt="" />
                </td>
                <td width="100%" valign="top" align="left" class="tableb_compact">
                        {ADMIN_MENU}
                        <p>{ALB_DESC}</p>
                        <p class="album_stat">{ALB_INFOS}</p>
                </td>
        </tr>
        </table>
        </td>
<!-- END album_cell -->
<!-- BEGIN empty_cell -->
        <td width="{COL_WIDTH}%" valign="top">
        <table width="100%" cellspacing="0" cellpadding="0">
        <tr>
                <td height="1" valign="top" class="tableh2">
                        <b>&nbsp;</b>
                </td>
        </tr>
        <tr>
                <td>
                        <img src="images/spacer.gif" width="1" height="1" border="0" alt="" /><br />
                </td>
        </tr>
        <tr>
                <td width="100%" valign="top" class="tableb_compact">
                    <div class="thumbnails" style="background-color:transparent"><img src="images/spacer.gif" width="1" height="{SPACER}" border="0" class="image" style="border:0;margin-top:1px;margin-bottom:0" alt="" /></div>
                </td>
        </tr>
        </table>
        </td>
<!-- END empty_cell -->
<!-- BEGIN row_separator -->
        </tr>
        <tr>
<!-- END row_separator -->
<!-- BEGIN footer -->
        </tr>
<!-- END footer -->
<!-- BEGIN tabs -->
        <tr>
                <td colspan="{COLUMNS}" style="padding: 0px;">
                        <table width="100%" cellspacing="0" cellpadding="0">
                                <tr>
                                       {TABS}
                                </tr>
                        </table>
                </td>
        </tr>
<!-- END tabs -->
<!-- BEGIN spacer -->
        <img src="images/spacer.gif" width="1" height="7" border="" alt="" /><br />
<!-- END spacer -->

EOT;
Logged
Pages: [1]   Go Up
 

Page created in 0.02 seconds with 20 queries.