Removing image filenames from album pages

WiZeR

Joined: 2005-09-26
Posts: 10
Posted: Mon, 2009-02-09 21:19

Hello

I am trying to get rid of the file name field on the album pages. I just want it to show the date. But I can't seem to find an option to turn off the file name display. Can someone please tell me what code needs altering in album.tpl ?

I'm using Gallery2.3 and Matrix

TIA

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 27300
Posted: Tue, 2009-02-10 01:44

I guess you are talking about the title?
<h2> {$theme.item.title|markup} </h2>

Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team

 
WiZeR

Joined: 2005-09-26
Posts: 10
Posted: Tue, 2009-02-10 09:48

That's the odd thing. I found that when I was googling. But it doesn't exist in my album.tpl file??

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 27300
Posted: Tue, 2009-02-10 14:47

URL?
Theme?
Cache?

Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team

 
WiZeR

Joined: 2005-09-26
Posts: 10
Posted: Tue, 2009-02-10 15:32

URL is http://woodpassion.net/gallery2
Theme is Matrix (as above)
Not sure what you mean by Cache? If you mean have I tried clearing it, then yes.

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 27300
Posted: Thu, 2009-02-12 21:35

Add

p.giTitle {
display: none;
}

to theme.css

Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team

 
WiZeR

Joined: 2005-09-26
Posts: 10
Posted: Thu, 2009-02-12 21:42

Thanks Dave that worked. However it also removed the Album titles. Is there a way around this?

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 27300
Posted: Fri, 2009-02-13 00:35

album.tpl remove:
{$child.title|markup}

Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team

 
WiZeR

Joined: 2005-09-26
Posts: 10
Posted: Fri, 2009-02-13 09:40

Dave that worked perfectly. Thanks very much for taking the time to help me.

For reference to others:

Remove the above code:

p.giTitle {
display: none;
}

From Theme.css to make Dave's last post work.

Thanks again!

 
mikecnichols

Joined: 2009-03-13
Posts: 10
Posted: Fri, 2009-03-13 16:24

I have read this and countless other tutorials and tried to implement this for my gallery, but nothing seems to work. I would like the image names to not show but the album name to show. The code above is in my theme.css "p.giTitle {display: none;}", but the other code "{$child.title|markup}" is not in my album.tpl page. It may because I am using ajaxian theme, but I am not sure. Can someone please help me out on this? Thank you!

My gallery can be found at: http://mikecnichols.com/gallery/gallery2/main.php

Mike

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 27300
Posted: Sat, 2009-03-14 04:17

It has worked for other so please start a new thread with your issue.
Read some of the FAQs about cache.

Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team

 
mikecnichols

Joined: 2009-03-13
Posts: 10
Posted: Sat, 2009-03-14 04:47

I have read and read and read and read. I cannot seem to find anything other than this thread that remotely touches what I'm trying to do. I will start a new thread about this problem as well as a couple other problems I'm having in the AM.

 
lingate
lingate's picture

Joined: 2003-08-21
Posts: 46
Posted: Mon, 2010-03-22 05:10
floridave wrote:
Add

p.giTitle {
display: none;
}

to theme.css

Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team

Is this for photo file names ?

TT ( karl )

 
lingate
lingate's picture

Joined: 2003-08-21
Posts: 46
Posted: Mon, 2010-03-22 05:18

That all so removes the Album name

I would like to remove just the file names like so

http://gallery.rockinghamgateway.com/main.php?g2_itemId=107

file name is dave_s-fish2, I would like the Album name to remain in place

any idea please

TT ( karl )

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 27300
Posted: Mon, 2010-03-22 13:25

You could just remove the title from the User Interface.
or
edit photo.tpl of the theme you are using and remove <h2> {$theme.item.title|markup} </h2>
clear cache.

Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team