I would like the ability to use the fgallery viewer (SimpleViewer) on node attachments instead of image galleries. As part of this I would like to be able to embed the viewer into the body of a node at an arbitrary place (possibly by theming).
This could either be achieved by activating the module for certain node types and then working on all image attachments (from the upload module), or possibly using the image_attach module.
Alternatively this could be implemented as a CCK field type. It could operate in a similar way to the image field type in that multiple images could be uploaded but the default display method would be through SimpleViewer. This I think would be a more powerful way to develop things as, as part of CCK, you have a lot more control over the output and positioning of each field on the page (using something like Contemplate).
I am only just starting to use CCK so I don't know what's involved in writing a field type module, but if my basic module-writing skills can be any use I would happily try to work on this (once I know how to do it ;-)
Comments
Comment #1
simeAs part of maintaining Flash Gallery I am making SWF Tools a dependency. SWF Tools will provide the backbone for the site admin to decide how to implement a view (attachments, gallery, cck etc), what flash player to use (alternatives to simpleviewer), and what flash-replacement to use (alternatives to SWFObject).
I've recently done my first CCK field and a new field for SWF tools is definitely a possibility.
I still have a couple more coding sessions to really bring this out. In the meantime, I invite you to take a look at http://drupal.org/project/swftools/ - Flash Gallery 5 is partly integrated. I'm happy to consider any ideas you have now or later, especially with your module writing skills.
(Note, Flash Gallery won't move from here, I'm just devving it over there).
Comment #2
simeI lie, I've partly integrated flash_filter. The bits of flash_gallery I've moved to SWF Tools are simpleview support (not working) and SWF Object support (working).
Comment #3
nasi commentedThat all sounds great. Do you have any idea of timescales for a working version of SWF Tools or an update to Flash Gallery?
Comment #4
InterceptPoint commentedI'm a very big Flash Gallery fan so I'm glad to see that it has been picked up and we will eventually see a legit 5.x version.
For anyone interested in running Flash Gallery right now in 5.0 I've described a hack of the 4.7 version that is working good enough that I'm using in on a Drupal website that I developed. The hack is described here: http://drupal.org/node/100083
You can take a look at it running at http://www.stittfamily.org/home/fgallery . Just click on any photo album and you will see Flash Gallery running in Drupal 5.0.
Comment #5
sime@nasi. probably 2 weeks.
@InterceptPoint were you able to run 4.7 Flash Gallery as it was? Or did you need to patch thus:http://drupal.org/files/issues/flash_gallery.patch
Comment #6
simeComment #7
simenode attachments can be achieved now with:
swtools, swftools_integrate, simpleviewer
Comment #8
simeComment #9
(not verified) commented