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

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

-enzo-’s picture

Attached you can find a a patch to add support to shadowbox

-enzo-’s picture

Attached 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.

Insert with Shadowbox

quicksketch’s picture

Title: Support to shadowbox » Support to add Insert integration for shadowbox
Project: Insert » Shadowbox
Version: 7.x-1.x-dev » 7.x-4.0-beta4
Status: Active » Needs review

Thanks, 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.

-enzo-’s picture

Hello quicksketch

Thanks for you recommendation

Attached now the maintainer can find the patch against shadowbox module

manfer’s picture

Shadowbox 7.x-4.x is organized in a way that is better to add new funtionality in submodules. So this is my proposed patch

manfer’s picture

This version works for image and file fields

manfer’s picture

manfer’s picture

manfer’s picture

Status: Needs review » Fixed

Pushed to 7.x-4.x development version

Status: Fixed » Closed (fixed)

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

Anonymous’s picture

Issue summary: View changes

update description

  • Commit d8a39fa on 7.x-4.x, 8.x-1.x by manfer:
    Issue #1886464 by manfer: insert integration