I'd like to suggest to add a Picasa interface for Galleria in the way, that a Gallery in picasa can be shown in a Drupal node.

Looking at the documentation for Galleria http://galleria.aino.se/docs/1.2/plugins/picasa there is a plugin for Picasa. When installing the Drupal module this plugin is already present but there's no way to activate it (as far as I can see)

Greets DaMa

Members fund testing for the Drupal project. Drupal Association Learn more


kroimon’s picture

Yeah, support for Galleria plugins is still a missing feature and on the todo list.

kroimon’s picture

Title: Add Picasa interface for Galleria module » Add support for Galleria plugins (Picasa, Flickr, etc.)
Version: 7.x-1.0-beta2 » 7.x-1.x-dev
kroimon’s picture

Hm I thought about how to implement this.
Just adding the possibility to add plugins to Galleria instances won't do the job, as the normal Galleria instances are based on an image field and therefore locally uploaded images. But the picasa and flickr plugins provide a way to load remote images into the gallery.

So maybe we have to add a custom content field which shows up as a Galleria instance with the selected content-plugin? Maybe we should do this as a separate Drupal sub-module?

kroimon’s picture

Referencing #1336144: Hystory plugin integration.
We must not forget the history plugin.

stephen Piscura’s picture

Hey kroimon,

Thanks for your hard work on this module. Just wanted to add a few thoughts.

I'm running galleria 7.x-1.0-beta2 along with media 7.x-2.0-unstable2 / file_entity 7.x-2.0-unstable2 / media_flickr 7.x-1.0-alpha1 and, although these modules are still under heavy development, [1] i am still able to populate a Galleria gallery with Flickr images. I'm not sure how familiar you may be with the world of Media/Media: [third-party-service] modules, but basically these translate third-party media into fieldable entities and, through the witchcraft of stream wrappers, [2] treat them as if there were stored locally.

So while these Flickr images are not generating image styles (instead the "Large" resolution from Flickr is being scaled via the <img> height and width attributes), they are nevertheless displaying via Galleria.

I realize that these modules represent a completely different approach than the Flickr, Picasa and History plugins that ship with Galleria, but i thought there might be value in pointing out some of the overlap.

Honestly, i would be overjoyed if support were added for the Galleria plugins. My hope is to employ the Media / Media: Flickr solution for single image usage, while i would like to use this module with the Galleria Flickr plugin to display photosets (and titles/captions, etc.) directly from Flickr.

Also, i think the idea of a sub-module makes sense, since the need to pull images/sets from third party services is quite specialized.

[1] The Media: Flickr module, which hasn't seen a commit in quite a while, is particullarly unstable.
[2] Truthfully, i have no idea what a stream wrapper is.

kroimon’s picture

Hey Stephen, thanks for the reply!

Yeah, I already saw the media_flickr module, but didn't know it actually works (because I also noticed the lack of commits).
This looks like a clean solution at first, but I think it greatly increases server load and traffic, so there should be the possibility to unleash the full power of Galleria ;-)

I'll look into the submodules for flickr and picasa as soon as I have the time.

stephen Piscura’s picture

The lack of development on Media: Flickr and other Media-specific modules is due to a lot of complex factors, i'm sure, but surely the most tragic is Aaron Winborn's illness. As a husband and father of young children, he surely has more important things to do with his time right now...

I agree with you, i'd love to see Galleria firing on all cylinders! Thanks in advance for your work on this, whenever you do find the time. Let me know if you need any help with documentation, testing patches or anything else apart from coding.

evNN’s picture

Status: Active » Needs review
5.55 KB

Here's a patch that adds plugin support to Galleria module. This will add an extra multi-select into the Configuration for each Option Set that pulls from libraries/galleria/plugins/

davidwatson’s picture

Had a chance to review this during a sprint here before it was posted to d.o, seems solid. Another for RTBC?

EDIT: I should say that this was tested using an in-house plugin to enable iframe embeds. I can't speak for any other plugins, and we would appreciate the additional testing.

kroimon’s picture

Status: Needs review » Fixed

Just committed and pushed the patch with minor improvements. Thanks for your work, evNN!
Please report bugs in a new issue if you find them :-)

Amon_Re’s picture

How does this actually work? Besides enabling the plugins you'd still need to pass the proper data to the plugins such as flickr sets or api keys & what not.

kroimon’s picture

Status: Fixed » Needs work

Yeah, you're right.

The problem is that plugin options are stored in sub-arrays, like

    someOtherOptions: true,
    flickr: 'set:308783',
    flickrOptions: {
        sort: 'date-posted-asc'

while we only have a flat form for entering options.

I'm thinking of something like keeping the flat hierarchy and using a dot-syntax like "flickrOptions.sort"...
Any better ideas?

Amon_Re’s picture

I can live with that.

remkovdz’s picture

I see that it is now possible to enable a plugin (fi Picasa) per optionset. But I'm not sure on how to actually show those pictures from Picasa? Where do I type in the Picasa variables?

sgurlt’s picture

Someone got Vimeo videos working?

tclnj’s picture

48.75 KB

Having trouble with this also... my Galleria options configuration is as shown in the attached image (picasa plugin is installed and selected).

When I configure a content type to use the option set for the picasa album, nothing is displayed.

Lionsharz’s picture

Great work on this module - galleria is super. Subscribing to the above too - I'm also looking to get Vimeo mixed with images as in the folio demo.

30equals’s picture

Any progress on this ?

psychonaute’s picture

"Option set" bug?
When i'm enabling the galleria plugins no options are added. (screenshot of the issue)

I tried everything: refresh, clear all cc, uninstall and reinstall, create new option set, etc...

I install the last galleria module (7.x-1.0-beta3) and download the last galleria libraries.

Any guess for lost newbie?

zwerg’s picture

Issue summary: View changes


Same issue. The plugins are enabled (all and in single tests) but there are no options available.