First, thanks for the awesome module :-)
I'm trying to show an image with some custom CCK fields(almost all text) in the lightbox, based on a view.
A. First, I tried using the iframe, and it works, but I could not find a way to get the auto-resize that is used when I choose image to image lightbox. I mean I could have only a NxM pixels lightbox instead of one that fits the image.
I suppose this is not possible because, by design, embeding an iframe do not let you know about the content
B. Then, I tried latest views integration(#474454: Views lightbox2 custom field handler (update)), using the actual dev, but the problem is the same: there's not a way to auto-resize based on image size.
I also suppose here it's based on the same assumption, you can not know how much space you need to use.
I'm using a view showing thumbnails(generated with imagecache) and like mentioned in B, using lightbox trigger field to show more field in the lightbox, but I still miss the auto-resize feature.
So, finally the question :-), is there a way to use autoresize in A or B scenarios?. I'm assuming the content shown in the lightbox is an image that you know the size(it's generated with imagecache), and the text shown is short enough, so you can estimate the maximum height it could take. So using image size plus a height can give us the a functional autoresize, but I really have no idea where to do that change :-(
Comments
Comment #1
marcus178 commentedI too have the same issue.I'm only using the lightbox trigger in views so that I can add custom fields to the description, but I also need it to autosize to the image. It would be great if it could do both.
Comment #2
designbyflux commentedI also have the same problem.
I'm using lightbox2 6.x-1.11 together with Image FUpload. It was a real nightmare for me to figure out but I managed to get it working perfectly in the end :)
I had to go for 1.11 because the current 6.x-1.x-dev just kept giving me errors. So I'm sticking with 1.11.
Now I've been, for some days, trying every single combination and so far lightbox trigger is the closest I've got to what I want, which I presume is what many others want as well: the ability to display node title and body/description inside lightbox. But without the autoresize feature its just not worth it.
I would appreciate if someone could please help with a patch or finding a way for autoresize to work with lightbox trigger (and something compatible with lightbox 6.x-1.11 if possible).
I'm sure there are many others in my situation who could really benefit from this!!
Thanks!
Comment #3
nodecode commentedsubscribing. i would love to know a solution for this too.