I'd like to automatically use a default picture for empty albums so my users have something to click on other than "no thumbnail".
I found what I need to replace in albumBody.tpl on line 103
{g->text text="no thumbnail"}
but what do I replace that line with to show an image I have put in the gallery2/images directory called empty_album.jpg? I still need it to use the album frame and generate a link to the album.
Posts: 8601
<img src="{g->url href="images/empty_album.jpg"}" alt=""/>
see the code already in albumBody.tpl for how to wrap this in the imageframe.
Posts: 2
Perfect, thx! Looks so much better now.
Posts: 239
I intend to eventually implement either a css solution, or "no thumbnail" derivative that will size correctly to your current albums thumbsize. I agree, just the words "no thumbnail" doesn't look good aesthetically.