I am using the imagefield approach to display my galleria. I have a CCK custom content type that has two imagefiels in it.

When I create a view that queries both of these fields at the same time, both of them show up, but only one "large viewing area" exists. There are two rows of thumbnails below it (one for each field). Both thumbnails control the content in the single main area.

The expected behavior is that two main content areas would exist.

Comments

smithn.nc’s picture

While I don't have an immediate solution to the issue of multiple Gallerias on a page, I did notice that Y2, the developer for the WP-Galleria plugin has modified the Wordpress Galleria to support multiple galleries on the same page. His site is down, however I'm attaching the last version of the plugin that I could find. Perhaps the additional functionality could be ported over. It looks like this version of Galleria has some other reasonable changes dealing with layout and image sizes as well.

smithn.nc’s picture

Oops! Didn't mean to post that twice. Looks like the ZIP didn't attach, either. I'll try again. :(

smithn.nc’s picture

D.O seems to be having issues tonight. I get the following error error when attempting to upload the zip. I'll try again later. In the mean time, there is a slightly older version of the plugin available at wordpress.org. It still indicates that it can do multiple galleries on one page. http://wordpress.org/extend/plugins/galleria-wp/

Error 503 Service Unavailable

Service Unavailable
Guru Meditation:

XID: 2027294278
Varnish

gasolinehobo’s picture

I'm not sure I have the same issue, but it sounds very similar to my situation. In my case, I've got two different gallerias in two different nodes displaying as "story" posts on the front page of my site. As soon as I published the second one, the main window of the first galleria post disappeared entirely (thumbnails were still there), and the photo that was in that first galleria showed up as the main photo in the SECOND (latest) galleria. Clicking a thumbnail from the first galleria updates the main window of the second galleria.

Very strange!

fschaff’s picture

Same issue here.
A solution ?
Thanks !

derrickknight’s picture

Same issue as gasolinehobo above. Multiple galleries on same page using same identifier name for primary image display. Maybe append the node id to the name of the container for the image for each gallery?
-Derrick

cameronjb’s picture

Has anyone found a fix for this? I am currently trying to figure out how to do this as well.

jbkc85’s picture

I am currently trying to debug this situation (though I cant say how much time I can devote, or even manage to pull it off). The thought is that during the Galleria creation, it tags on or appends a specific variable to the Main Image in which Galleria is controlling. Then, the galleria.next and .prev functions would need to be passed that variable as well in the JavaScript to move along the correct Image.

However easy this may sound, the unfortunate thing is I believe the main-image is controlled in the CSS. So the only way to get the CSS dynamic is to actually make a div surrounding the image intake all of the items inside of the div...maybe? That is where I am stuck on.

Anyhow, as I said I am currently trying to debug this information and will provide any other information about how I am trying to look into the situation.

EDIT
The Div #main-image is in fact NOT in the CSS, so if we can manage to append a variable, node, or whatever onto this we should then be able to pass on into the JavaScript specifics on what '#main-image' we want to manipulate.
/EDIT

~Jason

jesse4216’s picture

Hello All, Any idea on how to fix this? append the node id to the insert : '#main-image', in line 13 of the galleria.js ? Any ideas or pointing me in the right direction would be appreciated. =-)

varac’s picture

Help ! This is just the gallery solution I was looking for, but i really need multiple galleries on one page. So please, could anybody fix this annoying bug ? I'm not a php/js/whatever coder.

btw: great module !

Varac

floptikal’s picture

Subscribing

trickyricky26’s picture

Subscribing - I really need this to work as well. Seems adding the node ID would be easiest solution.

Anonymous’s picture

Seems like we have a critical mass of people subscribed to this issue and a potential solution. Can someone create a patch?

nico heulsen’s picture

I have changed the selector for every gallery, but that didn't solve my problem. I've read on other forum that the problem is that the galleria-settings are shared over all galleries. I would indeed be very nice to have this work.

drew reece’s picture

I haven't resolved this either, but there is the views_galleria module that may do what you need…?
http://drupal.org/project/views_galleria < I haven't used this, it may need the dev version on galleria to work !

A workaround is to use lightbox2, set the view to show teaser views (if you are listing full nodes not fields).
Then you can set the content type to use a lightbox2 slideshow to show the images. The node title can still be clicked to see the galleria version on a single page layout.

kriscs66’s picture

Issue tags: +galleria, +multiple galleria galleries on same page, +$galleria
avpaderno’s picture

Issue summary: View changes
Issue tags: -galleria, -multiple galleria galleries on same page, -$galleria
avpaderno’s picture

Version: 6.x-1.0 » 6.x-1.x-dev
Status: Active » Closed (outdated)

I am closing this issue, which is for a not supported Drupal version.