PDA

View Full Version : A hidden featured photo?


brjphoto
Dec-17-2008, 06:42 AM
I have several HTML-only galleries. The only problem is, the gallery shows up as empty on the page. I would like to have a featured photo for that gallery so it doesn't show the "Empty Gallery" graphic on the preceding page.

See here for example:
http://brjphoto.smugmug.com/Info

I have a featured photo for the Calendar gallery, but because the photo is hidden in the gallery, the "Empty Gallery" graphic shows up when I am logged out.

Any ideas?

Allen
Dec-17-2008, 07:02 AM
I have several HTML-only galleries. The only problem is, the gallery shows up as empty on the page. I would like to have a featured photo for that gallery so it doesn't show the "Empty Gallery" graphic on the preceding page.

See here for example:
http://brjphoto.smugmug.com/Info

I have a featured photo for the Calendar gallery, but because the photo is hidden in the gallery, the "Empty Gallery" graphic shows up when I am logged out.

Any ideas?
Add a photo to the gallery and feature it. Change the two galleries to
journal style so they are a set width.

Add this to your CSS to hide the photo.

.gallery_2180945 .journal_entry,
.gallery_6787190 .journal_entry {display:none;}

You can also add one of these for each of these html type galleries.

.notLoggedIn .gallery_xxxxxxx #breadcrumb {display: none;}

brjphoto
Dec-17-2008, 07:04 AM
OK, I figured it out.

Use this command in your CSS:
.gallery_2067543 #photos {display: none;}

AND...

DON'T CHECK "Hide Photo"

Piece of Cake