As title. See attached image.Flickr-jCaption bug.

As this is a compatibility issue with a specific contrib module this is not a 'Bug' but a 'Feature request': Play nice together with the jCaption module.

This issue only exists if you set a custom 'class' or 'rel' attribute in the Flickr settings (necessary when e.g. using Colorbox). It is only then that the caption of the Flickr module itself kicks in.

Other popular caption modules like Image Caption seem to have no compatibility issues. jCaption has the advantage to just work if an image has a title attribute. It is therefore important to be able to optionally exclude the title attribute on Flickr images to be ignored by jCaption.

Thanks.

Comments

lolandese’s picture

Status: Active » Needs review

Patch attached.

lolandese’s picture

The attached patch adds a checkbox ' Do not use an image title attribute' on the Flickr module's settings page.

To select in case you use the jCaption module to avoid a double caption.

lolandese’s picture

Issue summary: View changes
lolandese’s picture

Issue summary: View changes
StatusFileSize
new786 bytes

More clever solution. Detect if jCaption module is installed to remove image title attribute. No need to add any settings that might confuse users that do not use jCaption.

lolandese’s picture

Status: Needs review » Fixed
lolandese’s picture

Issue summary: View changes

Not optional anymore as it detects cCaption module 'by itself'.

Status: Fixed » Closed (fixed)

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