The custom gallery value currently uses the default values for the machine_name type, which allows only alphanumeric characters and underscores.

The default gallery value for Colorbox images inserted using the Insert module is "gallery-all", so if I want my inserted images to group together with images from another field I would have to set my custom gallery value to "gallery-all", which is not allowed.

There are of course ways around this, but this adds an unnecessary obstacle and I see no reason why hyphens should be disallowed in this place.

CommentFileSizeAuthor
#1 colorbox_custom_gallery_1877060.patch3.11 KBfrjo
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

frjo’s picture

Status: Active » Needs review
FileSize
3.11 KB

Please test this patch that should allow only lowercase letters, numbers, hyphen and underscores.

frjo’s picture

Issue summary: View changes
Status: Needs review » Fixed

Status: Fixed » Closed (fixed)

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