Captions not being generated

dougpetch - November 27, 2008 - 10:41
Project:Image Caption
Version:5.x-2.1
Component:Miscellaneous
Category:support request
Priority:normal
Assigned:Unassigned
Status:closed
Description

I'm stumped. Install and configuration went smoothly, I have a "captions" style available in TinyMCE, and the correct script is present in the section of my template. Even with all that going for me, though, captions are not rendering. Here's an example of the code that's generated when I insert the caption style -

It looks correct to me, but I only know enough about all this to be dangerous. With that said, I'd appreciate any troubleshooting ideas or other helpful comments anyone would like to throw my way.

#1

davidwhthomas - November 27, 2008 - 20:27

Hi there,

A couple of points:

1. The class should be 'caption' not 'captions'
2. Please use the code /code tags so I can see your example code.

regards,

DT

#2

dougpetch - November 27, 2008 - 22:31

See - I told you I only knew enough about this stuff to be dangerous....

1. The class is set as 'caption'

2. Here's the code, properly formatted for your viewing pleasure -

<img class="caption;" src="/sites/default/files/images/423560_thanksgiving_table.jpg" alt="Table" title="Image Credit: monmart" width="115" height="77" style="margin: 5px; float: left;" />

Oh, and thanks for the quick reply on a holiday!

#3

davidwhthomas - November 27, 2008 - 23:12
Status:active» fixed

take the semicolon out of the caption class.

#4

dougpetch - November 28, 2008 - 11:32

That did the trick. One last question and then I'll leave you alone - can you point me at whatever discussion will tell me what I need do in order to keep the caption under the picture when I use TinyMCE to float the image?

Thanks!

#5

System Message - December 12, 2008 - 11:41
Status:fixed» closed

Automatically closed -- issue fixed for two weeks with no activity.

 
 

Drupal is a registered trademark of Dries Buytaert.