I would definitely be interested in this module if it supported ImageField. What is the the plan for adding ImageField support?

Thanks!

Comments

miruoss’s picture

I could give it a shot when I get to it. Such integrations are actually not that hard to do. So I assume your setup is as follows, correct me if I'm wrong: You use one node per gallery which has X images attached as CCK fields?

kirilius’s picture

Not necessarily. There are two scenarios:
- The way you describe it: one node per gallery and all images are in a multi-value ImageField in that node.
- A node for the gallery (with some text description only) and multiple other nodes linked to the main node with nodereference. Each image is in a separate node.

This is the back-end. For the presentation I see two ways of doing it:
1) The way Lightbox works - it cycles through all the image links on the page with a special "rel" attribute, e.g.:
<a href="path to the image" rel="lightbox">
This method does depend on any back-end implementation - Lightbox takes whatever is on the page and shows it in a nice way.

2) Implement Overlay Gallery as a Views style plugin. Using views the site creator can define an arbitrary set of images (a View is just a SQL statement after all) and then can use a style pluging to show that in a better way. You can see Views Gallerific for example - it works pretty well.

I believe (2) above is the way to go for the future. Imagefield + ImageCache gives you the most flexibility for storing images. Views gives you the greatest flexibility for selecting a group of images (by gallery, taxonomy, location, etc.). A view style plugin gives you a great flexibility to change the output of the view with simple configuration only.

miruoss’s picture

I was talking about the backend only. This module provides a special way of presenting galleries and hence the presentation is already defined.

Overlay Gallery gets its information through AJAX calls so far. Still, I will have a thought about your input about the Views style plugin. However, as a first step I will integrate AJAX the backends for the two ways you described:

  • One image per node, each node attached to the gallery node
  • X images directly attached to the gallery node.

There are actually so many ways of implementing a gallery and it's hard to imagine all of them. So I'm happy for any input and will try to implement integrations step-by-step.

miruoss’s picture

Component: Miscellaneous » Code
Assigned: Unassigned » miruoss
kirilius’s picture

Bump!

design.er’s picture

I'm sure a lot of more people will use your great module as soon as this feature is implemented. To speak for myself, I can't remember when I've used the image module last time (~2 years ago?)... it's inflexible and the usability is more than horrible. Imagefield is the future so switching on it will bring a lot of new users because your module rocks! :)

miruoss’s picture

Hi there. Thanks for the feedback and sorry for letting you people wait for so long - but I'm very busy at the moment. Good thing is, I'm currently working on Drupal around the clock and I might find some time to solve this soon.

design.er’s picture

Great news, thank you very much for your valuable time on this.

BTW: I was working on some Drupal projects in Zürich for one of my clients and also was on vocation in some other regions... I really felt in love with this beautiful country.
So regards to Switzerland! :)

miruoss’s picture

Hi there

First of all: Sorry to let you wait for so long but I was really busy, we started up a company this summer. But I finally found some time to start on this request. In the next development release (not rc3) you'll find a not yet complete integration of the imagefield module. See the following list for a quick summary:

  • New submodule imagefield_integration
  • Once enabled, configure it under /admin/settings/overlay_gallery
  • Requires imagecache and comes with two presets
  • Comes with a view providing a list of available galleries under /imagefield_galleries
  • Currently only supports one node per gallery, each containing multiple images in one imagefield
  • One node per image is not yet supported!

So please try it out if in your setup you attach all the images of a gallery using a single imagefield.

Greetings from Zurich. ;)
Michael

kirilius’s picture

Thanks, I'll give it a try when it is available!