hey there,

I've noticed a bug when using this module with Colorbox: clicking a colorbox thumbnail causes adaptive images to spawn duplicates, even before closing the overlay.

Fancybox, on the other hand, causes adaptive images to disappear.

this error doesn't show up with neither Shadowbox or Yoxview though.

cheers,
Luciano

CommentFileSizeAuthor
#4 cs_adaptive_image_colorbox.patch440 bytesnullstatement

Comments

luco’s picture

oh and you can also use Lightbox2, but not Pirobox.

David Lesieur’s picture

I have not tested or considered using Client-side Adaptive Image with any lightbox-style module yet. Since those tend to manipulate the images with JavaScript, they are bound to conflict with Client-side Adaptive Image's own image insertions/replacements. I'm afraid that any solution won't fit all...

quiptime’s picture

Here is the Pirobox maintainer.

Correction to post #1

It is possible to use Client-side adaptive image formatted images and Pirobox formatted images at the same page without problems.

nullstatement’s picture

Component: Miscellaneous » Code
Issue tags: +patch, +colorbox
StatusFileSize
new440 bytes

Here is a patch specific to the Colorbox spawning duplicate images. If anyone can generalize this for Fancybox that would be great.

zenlan’s picture

Does the patch here help at all? http://drupal.org/node/1585342

selinav’s picture

How do you do to choose Colorbox and adaptive image in the node display fields?
I can even choose Colorbox even Adaptive image but not the combination.

david.gil’s picture

Hi,

Yes zenlan, patch http://drupal.org/node/1585342, solves the problem with colorbox.

selinav, a hint to manually add colorbox in your tpl:

      $img = field_view_field('node', $node, 'field_obra_imagen', 'default');
      $img[0]['#path']['options']['attributes'] = array('class' => 'colorbox-load');
      print drupal_render($img);

Best!
David

patrickmichael’s picture

Hi selinav
Did you ever resolve this, i am also trying to work out how to use colorbox and adaptive images together.
Help much appreciated

David Lesieur’s picture

Status: Active » Closed (duplicate)

Duplicate image issues should have been resolved with #1667874: Image inserted twice when ajax form submitted on page with CS adaptive images, which has been fixed in the dev version. Please re-open this issue if colorbox or fancybox still fail.

FuXXz’s picture

Issue summary: View changes

So is there a way to use both, Client-side adaptive image and a Imagebox?
I can choose adaptive or colorbox off course. But i want Colorbox for normal page size 980px+
and for lower resolutions only adaptive stile without any boxes.