Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
In #2387445: Add styling options in the configuration we introduced extra styling options. An encountered problem there is the positioning of the CC icons if we have a caption with a border. That brought us the idea to remove the icons from the caption where they are currently positioned and move them onto the image itself. It would save screen space, is perceived as more elegant (a personal opinion) and solves the problem above.
Comment | File | Size | Author |
---|---|---|---|
#6 | overlay_license_icon_on_image-2401215-6.patch | 11.5 KB | lolandese |
Comments
Comment #1
lolandese CreditAttribution: lolandese commentedSome considerations.
Make sure the icon has a text shadow, so it displays well on all backgrounds:
Taken from http://css-tricks.com/adding-stroke-to-web-text/.
Optionally make the icons only appear on hover to make them even less intrusive.
Comment #2
lolandese CreditAttribution: lolandese commentedComment #3
lolandese CreditAttribution: lolandese commentedComment #4
lolandese CreditAttribution: lolandese commentedPatch to save some initial work.
TODO:
Comment #5
lolandese CreditAttribution: lolandese commentedSeparated setting for caption and image.
Suggestions:
Comment #6
lolandese CreditAttribution: lolandese commentedImplemented the #5 suggestions except icons on hover for the 'Enlarge' style (disabled, see #2424119: Position child elements relative to its scaled parent (CSS)).