Hello,
I have been trying for about 2 days now how your img_assist support might work, but I didn't work it out.
I took the latest acquia distribution of drupal.
I enabled img_assist and lightbox.
I made a new image node with an image.
I wrote a second node and inserted an img_assist tag.
I enabled the filter inside the input type.
The Picture is showing fine in both nodes, the link from story to image node also works fine.
Lightningbox2 works fine if I set automated catching of Image nodes. and shows the klicked image in the story inside a Box.
But it does not work if I enable the img_assist automatic filter, Not in img_assist 1.0 nor in current 2.0alpha2.
Might you leave some word how it is supposed to work?
Regards
Comments
Comment #1
stella commentedHmmm it's been a while since I looked at this integration, so I can't remember how it works exactly. However, you should only need to do one of the following:
or if using custom size images
The 2nd one is needed for 'custom sized' image assist images. However it may not work with img_assist 2.x due to #303945: Add consistent CSS class name for custom sized images That issue is for img_assist 5.x-2.x - I'm not sure if it also applies to the 6.x-2.x version.
Cheers,
Stella
Comment #2
musko commentedI've been trying to get this to work as well, and no luck.
I've tried every angle I can possibly think of;
lightbox will *not* catch image assist links, or classes used within.
Has this issue been assessed at all?
Comment #3
nonproffessional commentedDisabling custom sizes for img_assist allowed lightbox to work for me again.
Ordinarily an image with a link has the href pointing to the original file. When using a custom size img_assist sets this href to the image *node* instead of it's source file and it is this which confuses lightbox. Unfortunately img_assist will convert named sizes like "preview" or "thumbnail" to custom sizes whenever it can, disabling access to custom sizes forces it to use the names once more.
If custom sizes are to be allowed then it is img_assist, and not lightbox2, that needs to be fixed.
Comment #4
simohell commented> If custom sizes are to be allowed then it is img_assist, and not lightbox2, that needs to be fixed.
I find this point of view rather strange. Lightbox2 claims to support img_assist custom image sizes. It does not, and you appear to say that the solution would be that the "supported" application should be changed so, that actual support in Lightbox2 would appear without changing it to support the current img_assist.
I'd rather say that support for custom sized images should be added or the fieldset for custom sized images should be removed from the gui, since the functionality is not supported.
Am I missing something here?
EDIT: Ah, I see now. The support existed for img_assist 5.x 2.x but is in 6.x img_assist changed. Perhaps to be said, that img_assist 6.x is not supported. I guess 6.x 3.x will get (perhaps even has got) it back to old style eventually...
For some idea of a solution see: http://drupal.org/node/303945 (the post #22 works Ok)
Comment #5
stella commentedduplicate of #303780: Image Hander fails on custom image presets