I'm using the Node Gallery to list pictures on my website. I have noticed one thing, however: when I'm on the main gallery page (the one listing all the thumbnails), the title of the thumbnails shows up in it's right place (below the picture), and the caption is in it's right place as well (shows up after you hover over the image). However, after I click one of the thumbnails and go into Previous/Next picture mode, the opposite takes place: the title of the image appears as a caption, while the caption shows up right below the enlarged image.

Does someone have a solution? This is quite a problem from an SEO point of view, so I would really appreciate some help.

Thanks a lot

Comments

ggskygg’s picture

Assigned: ggskygg » Unassigned
dddave’s picture

I don't have a NG2 install to test it anymore so I can only try to remember what was wrong there.
Did you check the manage field settings?
I think there was some mix-up between the title/caption fields on image display so you might want to dive into the code to see what is going wrong there. What happens if you don't display the caption?

Last thought for now: Check out NG3. It is already pretty awesome.

ggskygg’s picture

Hi dddave,

Sorry for my late response. Unfortunately my php knowledge is very limited, so I would only be able to dive into the code if I at least knew where to look, then I might make some sense out of it :) sorry!

I will try installing NG3, perhaps it will solve this problem for me?

dddave’s picture

NG3 should be free of this problem. If NG3 is a viable option for you at this point you definitely should check it out (latest dev please). NG2 is not going to get any reasonable support or development in the future.

ggskygg’s picture

Understood, I'll switch to NG3. Thanks!

ggskygg’s picture

Hi again,

I installed NG3, and had the exact same problem there unfortunately. I double checked if it definitely was NG3 and not some previous version.

I also installed NG3 on a fresh new drupal installation - same problem.

Still stuck I'm afraid :( Help appreciated.

ggskygg’s picture

Status: Closed (fixed) » Active

To demonstrate things, I'm adding a link to my Drupal installation (the one that was made for testing purposes just for NG3).

<< website address removed by ggskygg >>

I've put "TITLE TEXT" and "CAPTION TEXT" into the Title/Caption fields respectively, to make things clear. As you can see, everything is ok at thumbnail level, but once you click the image, everything is backwards.

Again, this is a fresh drupal installation, with nothing but NG3 and the required modules installed and running.

aitala’s picture

I don't know that this is a mixup - it seems to me that the Caption text field is actually the node body field. I think most people would want this displayed on the node page for that image to describe what you see. Also, I think the caption field is what is displayed as a caption when you have Lightbox installed.

Eric

ggskygg’s picture

Hi Eric, thanks for the reply.

From my understanding, the purpose of caption is basically the same as the regular "alt" text in html. In this case, the caption should always in my opinion be different than the title, since "alt" is supposed to describe the image to someone who cannot view the image itself. I fail to see the reason why the caption should be displayed as anything other than a caption :) The title should be that which appears under the picture, while the caption is what appears in the palce of an image if the browser cannot access it for some reason - that is my understanding.

Am I wrong about something?

ggskygg’s picture

Also, although I admit that it might make sense for the caption to show above the image once you click it, I can't understand why would the title display as caption.

justintime’s picture

What browser are you using? I don't get any alt tags showing up on hover on your demo site on Chrome for Linux or IE for Windows. Those alt tag settings are specific to the imagefield on the image node.

Do you mean simply that the order on the image node is mixed up? I'd argue with you that there's an SEO penalty, but that's just semantics. If you don't like it, change the order at admin/content/node-type/node-gallery-image/fields.

Is that what you mean???

justintime’s picture

Eh, crossposted.

I think I understand you now. You are confusing "caption" for "alt tag". In this module's case, "caption" is simply a substitute for "body" in Drupal terms. If you want alt tags, to show up on hover, then edit the image node, and fill in an alt tag for the imagefield.

ggskygg’s picture

justintime,

I'm using FIrefox. Ok, I think I understand the problem - I simply had a different view of how the "caption" option should actually function - to me, a caption is something that displays only upon hover. But then again, I'm a complete beginner in web design, so I will not argue further and I stand corrected :)

Btw, would you mind briefly explaining about that SEO penalty - what would be the cause of the penalty?

ggskygg’s picture

Status: Active » Closed (fixed)

Crossposted too :)

Ok, I understand now, everything is clear, thanks a lot!

Status: Active » Closed (fixed)