Get rid of filename in album display.
| jamzyamz  
      Joined: 2004-01-12 Posts: 154 |  Posted: Fri, 2005-05-06 07:55 | 
| Is it possible to remove filename under thumbnail without also removing album names, from parent directories? | |



 
 
 
 
 
 
 
Posts: 16504
Yes, quite easily. You need to edit the albumBody.tpl for your layout.
(assume's you're using the Matrix theme)
1) Create a local directory here:
/gallery2/layouts/matrix/templates/
2) Copy the albumBody.tpl from /gallery2/layouts/matrix/templates/ to here /gallery2/layouts/matrix/templates/local/
3) Edit it in your favorite editor and change this (it's in about the middle of the page around line 110:
{if !empty($child.title)} <p class="giTitle"> {if $child.canContainChildren} {g->text text="Album: %s" arg1=$child.title|markup} {else} {$child.title|markup} {/if} </p> {/if}to this:
{if !empty($child.title)} <p class="giTitle"> {if $child.canContainChildren} {g->text text="Album: %s" arg1=$child.title|markup} {/if} </p> {/if}Posts: 25
how can I remove the bold title from the randompictures then ?
http://www.lov-wow.com/test2/gallery2//main.php?g2_view=imageblock:External&g2_blocks=randomImage
Posts: 16504
It looks like you can edit your them.css for you theme, Matrix and edit the giDescription portion. Be sure to create a local directory as I stated before. This way upgrading will not overwrite your changes.
Posts: 8601
For imageblock, check the instructrions in Site Admin / Random/Popular.
Posts: 25
thank you.