Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Hello,
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
Comment | File | Size | Author |
---|---|---|---|
#16 | galleriaOptions.jpg | 48.75 KB | tclnj |
#8 | galleria-plugins_support-1298786-8.patch | 5.55 KB | evNN |
Comments
Comment #1
kroimon CreditAttribution: kroimon commentedYeah, support for Galleria plugins is still a missing feature and on the todo list.
Comment #2
kroimon CreditAttribution: kroimon commentedComment #3
kroimon CreditAttribution: kroimon commentedHm 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?
Comment #4
kroimon CreditAttribution: kroimon commentedReferencing #1336144: Hystory plugin integration.
We must not forget the history plugin.
Comment #5
stephen Piscura CreditAttribution: stephen Piscura commentedHey 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.
Comment #6
kroimon CreditAttribution: kroimon commentedHey 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.
Comment #7
stephen Piscura CreditAttribution: stephen Piscura commentedThe 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.
Comment #8
evNN CreditAttribution: evNN commentedHere'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/
Comment #9
davidwatson CreditAttribution: davidwatson commentedHad 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.
Comment #10
kroimon CreditAttribution: kroimon commentedJust committed and pushed the patch with minor improvements. Thanks for your work, evNN!
Please report bugs in a new issue if you find them :-)
Comment #11
Amon_Re CreditAttribution: Amon_Re commentedHow 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.
Comment #12
kroimon CreditAttribution: kroimon commentedYeah, you're right.
The problem is that plugin options are stored in sub-arrays, like
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?
Comment #13
Amon_Re CreditAttribution: Amon_Re commentedI can live with that.
Comment #14
remkovdz CreditAttribution: remkovdz commentedI 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?
Comment #15
sgurlt CreditAttribution: sgurlt commentedSomeone got Vimeo videos working?
Comment #16
tclnj CreditAttribution: tclnj commentedHaving 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.
Comment #17
Lionsharz CreditAttribution: Lionsharz commentedGreat 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.
Comment #18
30equals CreditAttribution: 30equals commentedAny progress on this ?
Comment #19
psychonaute CreditAttribution: psychonaute commented"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?
Comment #20
zwerg CreditAttribution: zwerg commented@Psychonaute
Same issue. The plugins are enabled (all and in single tests) but there are no options available.