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.
Hello guys
A nice feature to have in insert module, might be to enable users to insert images with a link to so it opens up in a shadowbox overlay that displays the original image
Comment | File | Size | Author |
---|---|---|---|
#8 | shadowbox-insert_integration-1886464-8.patch | 3.27 KB | manfer |
#7 | shadowbox-insert_integration-1886464-7.patch | 3.68 KB | manfer |
#6 | shadowbox-insert_integration-1886464-6.patch | 3.52 KB | manfer |
#5 | shadowbox-insert_integration-1886464-5.patch | 1.63 KB | manfer |
#4 | insert-add_support_to_shadowbox-1886464-4.patch | 4.09 KB | -enzo- |
Comments
Comment #1
-enzo- CreditAttribution: -enzo- commentedAttached you can find a a patch to add support to shadowbox
Comment #2
-enzo- CreditAttribution: -enzo- commentedAttached you can find a a patch to add support to shadowbox.
New insert styles are added based in Drupal Image Styles as you can see in this image.
Comment #3
quicksketchThanks, as is the case with Colorbox and Lightbox2, I'm not adding support for any lightbox-like module directly in Insert. I know Lightbox2 provides support for Insert already, and your patch is already almost perfectly written so it could be a drop-in to Shadowbox module.
It looks like this issue should replace #665208: Add neccessary hooks to work with Insert module, which doesn't have an actual patch attached.
Comment #4
-enzo- CreditAttribution: -enzo- commentedHello quicksketch
Thanks for you recommendation
Attached now the maintainer can find the patch against shadowbox module
Comment #5
manfer CreditAttribution: manfer commentedShadowbox 7.x-4.x is organized in a way that is better to add new funtionality in submodules. So this is my proposed patch
Comment #6
manfer CreditAttribution: manfer commentedThis version works for image and file fields
Comment #7
manfer CreditAttribution: manfer commentedComment #8
manfer CreditAttribution: manfer commentedComment #9
manfer CreditAttribution: manfer commentedPushed to 7.x-4.x development version
Comment #10.0
(not verified) CreditAttribution: commentedupdate description