• Gear
  • Shots
  • Photo Craft
  • Video
  • Wide Angle
  • Support
  • New Stuff
  • More
Support SmugMug Customization Recent photos - captions missing!

FAQtoid

Ever wanted to create an Avatar? Creating an Avatar!

Searching Dgrin with Google Searching with Google

Dgrin Challenges

Congratulations to the Winner of DSS #128 (Sunrise or Sunset), ShootingStar.

The next Dgrin Challenge DSS #129 (Silhouette Revisited ) is open for entries through May 27th, 2013 at 8:00pm PDT.

As always, we look forward to your participation but please do take a moment to read through the rules before posting your entry.

Past DSS Challenge Winners, DSS Challenge Rules, and other important DSS Challenge information is here.

Need some help with Accessories?

Tutorials

Ever find yourself wondering just how someone managed to create an image using different effects?

Here are three simple tutorials we hope will encourage you to try something new.

The Hot Seat

A lifelong interest in landscape photography has led Eyal Oren to make a study of his adopted hometown of Marblehead, MA. As you can see, his dedication is paying off!

Africa!

Dgrinners Harryb, Pathfinder, and others joined Andy Williams and Marc Muench on Safari in East Africa recently. Here are some awesome threads to check out!

 
Thread Tools Display Modes
Old Jul-05-2012, 09:16 AM
#1
iamback is offline iamback OP
Grinning back!
iamback's Avatar
Recent photos - captions missing!
After working long and hard to make galleries and homepage/category gallery lists display and behave like I want, I thought some of the other 'boxes' available for the homepage would be easy. Ooops. NOT.

The one that was easy was Featured Galleries - it should be, because it's just another list of galleries, so adding #featuredBox to some places in my CSS and scripts was all that was needed - just another box to behave the same.

But in the same way 'Most Popular Photos' and 'Recent Photos' are just other lists of photoboxes, right? At first glance they are, until you look at the code :(

For a start, even though the titles have 'Photos' in them and what is shown is thumbnails of photos, the thumbnails do not link to the photo they display, but instead to the gallery. That's pretty annoying, but I can probably change it.

Another difference between the two is that #popularPhotos has an extra wrapper around the thumbnails within .boxBottom (just like a gallery in allThumbs view has), but #recentPhotosBox does not - so I'd have to add an extra wrapper there first to be able to use (from then on) the same code to style and center the thumbnails. Also, an image in #popularPhotos sits in a box with class "photo" while one in #recentPhotosBox sits in a box with class "photo tiny" (and just removing that "tiny" class already changes the layout).

But why this difference? I'm sure it makes for more code on your side too, to deal with all the differences in coding (just the fact that removing 'tiny' change the layout means that you are using different styling rules for #popularPhotos and #recentPhotosBox!).

All of that I can repair, so it will all look the same as a box with photo thumbnails in a gallery does.

But one thing escapes me.

The thumbnails in #recentPhotosBox have NO alt attribute, NO title attribute, and NO caption - even though there is an empty div below it that seems to be intended for the purpose:
HTML Code:
<div class="caption"></div>
How do I get the captions for these thumbnails to show up? The corresponding photos all have captions - they exist. They are just not present in 'Recent Photos'.

I cannot show this to my visitors without the captions present - I don't care whether it's in alt, title or the caption div, but I need it at least in one place to make to show where and how I want!

I searched and poked around till I'm blue in the face but I cannot find anywhere to configure this. What am I missing? Do I need to use the API to pull in the captions? I will if I have to, but would appreciate a (JavaScript) code example in that case.

Please help!
__________________
Marjolein Katsma
Look through my eyes on Cultural Surfaces! - customizing... currently in a state between limbo and chaos
Old Jul-06-2012, 07:33 AM
#2
iamback is offline iamback OP
Grinning back!
iamback's Avatar
PLEASE NOTE

I originally put this quite deliberately not in the Customization section. That is because I am not at all sure the fact that captions are missing has anything at all to do with customization. It's possible, of course, but I tend to think that unlikely.

So I am not happy that this thread was moved to the customization section, where it may fail to capture the attention of those who might be able to explain why those captions are missing in the first place.

I'll try to put up another post pointing to this one in the hope it gets seen by the right eyes...
__________________
Marjolein Katsma
Look through my eyes on Cultural Surfaces! - customizing... currently in a state between limbo and chaos
Old Jul-06-2012, 07:46 AM
#3
Andy is offline Andy
panasonikon
Andy's Avatar
I put it here because if anyone can figure out how to add the captions there, and do some of the advanced customizing you want, it's our smart customizers. Right now, there are no alt tags on the recent photos thumbnails, and I apologize for the differences in the way the boxes are handled. I'm sorry :(
__________________
Andy
Moon River PhotographyWorkshopsGoogle+FacebookTwitter
Old Jul-06-2012, 09:50 AM
#4
iamback is offline iamback OP
Grinning back!
iamback's Avatar
Quote:
Originally Posted by Andy View Post
I put it here because if anyone can figure out how to add the captions there, and do some of the advanced customizing you want, it's our smart customizers. Right now, there are no alt tags on the recent photos thumbnails, and I apologize for the differences in the way the boxes are handled. I'm sorry :(
Thanks Andy, but I really want to know why they are missing in the first place! (Never mind what customization I want to do - I need the data first.) I'm not asking how to add the captions - I'm asking why they are missing!

Put differently, I'm not going to mess with the API if this is actually a bug on the server side. But we don't know that yet, do we? And I don't know who to ask...
__________________
Marjolein Katsma
Look through my eyes on Cultural Surfaces! - customizing... currently in a state between limbo and chaos
Old Jul-06-2012, 10:16 AM
#5
Andy is offline Andy
panasonikon
Andy's Avatar
They just weren't coded to be there, Marjolein. I'm sorry I don't have a better answer for you on this. We'll make sure we do the right thing as we redesign the site for our future release.
__________________
Andy
Moon River PhotographyWorkshopsGoogle+FacebookTwitter
Old Jul-06-2012, 11:25 AM
#6
iamback is offline iamback OP
Grinning back!
iamback's Avatar
Quote:
Originally Posted by Andy View Post
They just weren't coded to be there, Marjolein. I'm sorry I don't have a better answer for you on this. We'll make sure we do the right thing as we redesign the site for our future release.
OK, but it's odd, given that there even is a div apparently precisely for receiving a caption! Plus not missing alt and title attributes, but empty alt and title attributes.

Where do I report this as a bug then?
__________________
Marjolein Katsma
Look through my eyes on Cultural Surfaces! - customizing... currently in a state between limbo and chaos

Last edited by iamback; Jul-06-2012 at 11:44 AM.
Old Jul-06-2012, 11:29 AM
#7
Andy is offline Andy
panasonikon
Andy's Avatar
Quote:
Originally Posted by iamback View Post
OK, but it's odd, given that there even is a div apparently precisely for receiving a caption!

Where do I report this as a bug then?
No need to report it, we're aware. Thanks.
__________________
Andy
Moon River PhotographyWorkshopsGoogle+FacebookTwitter
Tell The World!  
Tags
captions , recent photos , thumbnails
Similar Threads Thread Starter Forum Replies Last Post
New Photos Don't Show up / Unlisted Photos Not Hiding leftquark SmugMug Support 7 Jul-03-2012 11:52 PM
Lightroom workflow (example) kbevphoto Finishing School 10 Aug-17-2011 03:59 PM
new recent photos box on homepage everydaymemories SmugMug Support 33 Nov-12-2009 11:36 PM
Recent Photos on Homepage not working Pupator SmugMug Customization 6 Nov-02-2009 07:17 AM
Ordering photos by most recent comment? bonerific SmugMug Customization 1 Jan-21-2007 02:40 AM


Thread Tools
Display Modes

Posting Rules  
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump