At first thank you for your awesome work.

Line 90
drupal_set_message(t('Bootstrap Gallery: Selected image title field type is not supported', 'warning'));

Should be:
drupal_set_message(t('Bootstrap Gallery: Selected image title field type is not supported'), 'warning');

The closing bracket for t() function in a wrong place.

Comments

dnichols.178’s picture

Thanks for posting this.

An additional tip associated with this:

I have used this module to pull images from different nodes, including a node that only lists images (no titles) and captions. Using the caption in the Boostrap Gallery Setting for "Image Title" and recieved this particular error.

I commented out the code (lines 89-91):

else {
                         drupal_set_message(t('Bootstrap Gallery: Selected image title field type is not supported'), 'warning');
                        }

And it has worked without issue so far.

***I realize that this only puts a band-aid on a problem and its not a real fix, but for our limited needs it has given us the desired result.

kharbat’s picture

Good catch! Thanks

kharbat’s picture

Status: Active » Fixed

Status: Fixed » Closed (fixed)

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