Flash Gallery update to Drupal 6
slesinger - April 1, 2008 - 16:50
| Project: | Flash gallery |
| Version: | 5.x-1.1 |
| Component: | Code |
| Category: | task |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | needs review |
Description
Find updated Flash Gallery module for Drupal 6. Please, review the code and create a new branch and a package.
Thank you.
| Attachment | Size |
|---|---|
| flash_gallery.module.gz | 4.22 KB |

#1
** Moving Flash Gallery issues to own queue **
#2
Thanks Jan
Commited to D6
http://drupal.org/cvs?commit=108712
http://drupal.org/node/241572 (release which will be hidden until packaged)
Please note that I am looking for a new maintainer for Flash Gallery, and I personally won't make any official releases. Comment here if you're interested.
Cheers
Simon
#3
info file is missing and also after activating it gives:
Fatal error: Call to undefined function theme_add_style() in modules/flash_gallery/flash_gallery.module on line 16
#4
added info file.
please add a patch for fixing that function if you like.
#5
subscribing, since I'm interested to know when there is a release. The tar ball you linked wouldn't even let me activate that module. In drupals modules list is says:
And it doesn't show the modules name, neither (info file?).
Cheers.
#6
I would also love to see Flash Gallery ported to Drupal 6 and forth, but it seems we're out of luck. There is even one guy offering 400$ for this job, but still no one knows how to do it. Too bad I don't have any clue about flash...
Anyone know any good alternatives besides Lightbox ?
#7
There's a post at
http://www.christianloza.com/howToDrupalSimpleviewer
but I couldn't get it to work under drupal6. It is really a shame that drupal 6 can't work with flash galleries (simpleviewer in particular). I'm kind of a newbie w/ drupal. Would I be giving up a lot to just downgrade to drupal 5
on a fairly simple site?
#8
I changed to Piclens (http://drupal.org/project/piclens), although this module isn't as minimalistic as flashgallery...
#9
I would say that running an important site is still easier on Drupal 5 then 6, because the modules haven't matured enough on v6 to be able to use them as easy as those for Drupal 5. So the answer is no, you will not lose anything important by downgrading, au contraire. This is my opinion, at least.
However, one should always look forward for the future, and there is none for this module, at least until now. Hopefully we'll find an alternative, or someone kind and knowledgeable enough to take this module further...
#10
#11
#12
Here's an info file that works with Drupal 6.x
#13
Did anyone manage to get this to work? The latest info file is working (thanks ls6pilot) but I'm getting this error:
Missing argument 1 for flash_gallery_menu() in ... on line 15.
This is breaking the site, so clearly not quite there yet. Is anyone maintaining this module? I'd really appreciate the 6 update as it's a great piece of functionality.
thanks
wil
#14
Subscribing.
#15
Here's a working D6 version of the current stable D5 version. I looked at the current dev code and it didn't look right. I'm not sure if the code above works.. I redid it and my version's working well. I'm going to be using it on a site so I'll post new versions if I find bugs. I'm also offering to maintain this project.
#16
quick fix. Sorry about the the extra underscores and what not in tar_.gz extension. Just rename it first I guess.
#17
Nice, I give it a try.
Seem's to have a little bug : can't build thumbnail library in Flash Galleries settings.
user warning: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')' at line 1 query: SELECT n.nid FROM term_node t INNER JOIN node n ON t.nid = n.nid WHERE n.status = 1 AND n.type='image' AND t.tid IN () in ***\sites\all\Modules\flash_gallery\flash_gallery.module on line 370.
Any idea ?
#18
It appears that you haven't created an image gallery. Create one and see if it works.
Please confirm and I will add a message to the code when this happens.
Thanks!
#19
Yes, that's it ! It's working. :)
I've installed the simpleviewer and now, the flash is display...
Hovewer :
- Taxonomy problem : when i try to create a new image via CCK, I can't choose between one taxonomy (=gallery) or another. When I had only one gallery created (so only one taxonomy), there was a field to choose which taxonomy i wanted to give to my image. So now i can't add an image to any gallery. Fixed
- Flash display problem : I have the simpleviewer in mysite/fgallery/1 but nothing appears : no thumb or whatever.
Thanks again for your support.
#20
Charly75,
are you uploading your image through /node/add/image ??? Try using that. You should see a select box labeled 'Image Galleries'
#21
Yes, I am.
I fixed the problem going to Taxonomy and... manually check the box to display the field using certain kind of content.
Do you have any idea for the second problem (flash one) ?
Moreover, when I display the fgallery, I have this bug.
Take a look at that : http://img78.imageshack.us/img78/807/exemple.png
#22
I don't think you're uploading your image correctly. You must do it through /node/add/image
#23
Charly75 and I got his copy running then we discovers a bug or two. His is working nicely now.
Here's the latest copy.
#24
Thank's a bunch to slip for this really good work.
Important notice : user can only upload jpeg yet.
If you're new with simpleviewer, don't forget to dowload the files from the simpleviewer website, and read INSTALL.txt in the module folder !
Works like a charm. Big up for slip !
#25
you might be interested in this approach as well: http://drupal.org/node/505568 (simpleviewer + image gallery for D6, although this issue states that it is for D5..)
it takes over the default image gallery display and reroutes through simpleviewer, i did start with looking through flash_gallery but i didnt liked how it duplicated code from image_gallery, my approach i think duplicates much less and as a goal for the future would be to duplicate none and have some better hooks into image gallery.. also at the time i started coding this there wasnt a working D6 version
feel free to leave comments of any kind, im also a newb in drupal so i would appreciate the constructive critic, and i know my code doesnt adhere to the coding styles of drupal, if there will be enough interest in my code ill adapt it :-)
#26
I had already created a drupal 6.x port. I hadn't seen this thread before.
Anyway, here is my version.
I'm willing to maintain it.
I've ran it through coder and it passes ok.
Sime, can you acknowledge it's ok that I maintain it?
#27
Ok.. I've updated some code and fixed the thumbnail rebuild.
#28
I acknowledge that danieltome will be the new maintainer of this module.
Great work danieltome!
#29
@sime: Do you meant to pass him the ownership of the module?
danieltome has now access to the project repository, but he is a co-maintainer.
#30
Thanks guys for the 6.x port... just wondering... if I install this as I upgrade my 5.x to 6.x would it work? Would it pass on the previous values or do I need to start from scratch?
#31
Ok I went ahead and did the upgrade anyway.
I have a problem though... When I installed it, the gallery only seems to work in Internet Explorer, but not in Firefox...
I've installed Adobe flash, restarted and still doesn't work...
Thanks danieltome for the port...
#32
hmm... found a "solution" for my "problem" above. I just used my old simpleviewer files and it worked.
I also checked on browsershots.org that the new module here works with less browsers... may want to use an older version of simpleviewer...
#33
thanks marcopolo that was strange. I've tested in Firefox and Safari on Mac.
What firefox version and flash player version do you have?
#34
Yeah indeed it is strange. I have a PC. I ended up using v1.4.1. Latest Firefox version and Adobe Flash. I even updated them to make sure.
Also, when I tested on browsershots.org I found that it didn't work on about 50% of all screenshots. And when I reverted back it worked on maybe 90%...