Closed (works as designed)
Project:
Imagefield Gallery
Version:
5.x-1.3
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
16 Apr 2008 at 16:27 UTC
Updated:
9 May 2008 at 02:08 UTC
I've installed the module and it really looks great - one important question: How would I go about having "paging" on the blocks? For example, in the standard Drupal Gallery, as I recall, you can have, say, six pictures on a page with a [more] option to see additional pages for pictures, say, 7-12 on the next page, etc. I don't see how to implement this in Imagefield Gallery. Am I missing something?
Also, how would I get captions under the pictures? Adding a textfield in CCK does something else.
Thank in advance for your help and for the creation of a very cool module!
Comments
Comment #1
eclipsegc commentedIt doesn't do paging (yet)... I'm not sure it ever will. However, captions are easy, just enable the alt and title abilities on the imagefield itself, and fill them in. You should be doing that anyway. :-) I believe it's the title that will be captioned.
Comment #2
bcobin commentedThanks, Eclipse GC - the fields are enabled, but I still don't get captions in the thumbnails no matter what the settings (titles are shown fine in the lightbox view, I should mention.)
In fact, i can't get captions with image_attach either. I could use image assist, but I'd just as soon the client doesn't have to deal with HTML code at all. They will need captions.
I just installed the ImageField patch from here, but that doesn't seem to work either. I could be missing something, of course - but I don't know where else to look.
ImageField Gallery looks great otherwise - very classy! (though a pager would be brilliant, of course... ;-))
I'm stumped - any ideas? Thanks for getting back - it's the little things that drive ya crazy...
Comment #3
johndp commentedI would be interested in knowing how to do this as well (display the 'title' text under the thumbnails).
Any idea how to accomplish this?
Thanks,
JohnDP
Comment #4
eclipsegc commentedOK, I think it was a lack of understanding on my part what you wanted to do initially. Captions under the thumbnails is something I specifically chose NOT to do because the css is usually kind of messy. I.E. I have no clue how long your caption will end up being, but I'll see if I can put together a second gallery type that has captions for one of my future releases. Until that time you should be able to rewrite the theme function. I believe it's "theme_imagefield_gallery_lightbox2". It shouldn't be too hard to get what you want if you use that.
Patching imagefield won't do anything for you as I've completely rewritten the output so that imagefield doesn't do anything except manage what images we have on the system. I would imagine imagecache works much the same way, so if you're using those two together, chances are no patches will work for you anyway. The best option is to alter the aforementioned theme function.
Hope this works for you.
Eclipse