Adding caption to the thumbnail for WordPress gallery

Hello all experts.

I have this very simple WordPress website.

I have added this regular Gallery to this page: http://bit.ly/YMA3zW

I have added this code to call the Gallery:
[gallery captiontag="dd" ids="145,146,147,148,149,151,152,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178"]

Open in new window


The captiontag="dd" is supposed to pull the caption below the individual thumbnails.  And it does.

But, adding that code no longer opens any of the images as an overlay even though I have selected "Link to Media File" for the individual images.  If I remove that bit, captiontag="dd", it works as intended.

This is the CSS that I am using the style the caption, even though this may not be relevant:
.page-id-82 #content #gallery-1 .gallery-item { position:relative; margin-bottom: 40px; }
.page-id-82 #content #gallery-1 .gallery-caption { position:absolute; bottom:4px; text-align:center; width:100%; }
.page-id-82 #content #gallery-1 .gallery-icon { padding:5px 5px 40px 5px; }

Open in new window


Can someone please tell me what is going on...??  This is supposed to be native WordPress code that I am using.

Thanx in advance,

--d.
driven_13Asked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Julian HansenCommented:
The problem is that your href attributes for your images is pointing to this

http://bluediamondfloats.com.au/extras/img_0296/

Instead of this

http://bluediamondfloats.com.au/wp-content/uploads/2013/09/IMG_0296.jpg

It is opening the image - if you wait long enough but it opens the WP image gallery page not just the image (first URL above)

Somewhere you need to change it so it links to the actual image.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
driven_13Author Commented:
julianH, thanx for the response.

That is the weirdest thing.

If I take out captiontag="dd" the referencing reverts back to the correct one.

I have no idea why this would change the referencing of the Gallery image.

So, I have no idea how to fix this....[:0(

All I want is the caption to show up below the thumbnail image and so figured if I used native WordPress code and not use plugins I am in the clear.

Any ideas....???

--d.
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
WordPress

From novice to tech pro — start learning today.