Couldn't get this to work. I'm loading imagecache images in a block using views. Does the class selector that needs to be entered in the "Custom Class Images" field come from the img or the link? Also do you have to include any puntuation or just the class name (e.g. '.custom_class' or 'custom_class')?
Regards,
Marius
Comments
Comment #1
mariusooms commentedHI, I figured out it reads the class of the img. I added some code to imagefield to support class. So I have it working, but as the lightbox comes up I get the missing picture displayed (The little camera with the round sign over it).
I'd like to show the node image that's linked to the thumb. How is lightbox interpreting the url to the full size image? Am I overlooking something?
Kind regards,
Marius
Comment #2
stella commentedCustom class images are meant to work so with html like :
where "customclass" can be any class name you want, as long as you've set it up on the configuration page as one of the image trigger classes.
Lightbox2 in Drupal 6 doesn't support imagecache or imagefield yet - still waiting for an official release.
Cheers,
Stella
Comment #3
mariusooms commentedThanks Stella...I guess I'm so used to most modules being in constant dev mode that I tend not to wait for things to release officially.
I see that the url of the thumb should just link to the full-size-image? How than would lightbox2 know what the link to the node is, if you want to link through from lightbox? Just curious.
Kind regards,
Marius
Comment #4
stella commentedIt can't, not for custom class images, not unless you set it as part of the caption. See the documentation at http://drupal.org/node/144488 on how to set a caption.
Cheers,
Stella
Comment #5
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.