Download & Extend

5.1 inconsistencies and gallery not flashing for me

Project:Flash gallery
Version:5.x-1.x-dev
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:active

Issue Summary

Testing April-12 version of 5.1 Flash Gallery

I'm not sure how much of this is a work in progress vs. new information to you. But here's all that I see and hope at least some of it is useful to you. THANKS by the way for getting this started. (If you have or know somebody who has Flex programming skills, email me I know a job opp.)

Summary

I found a few inconsistencies with 5.1 conventions and also the flash gallery didn't work for me when I clicked on a gallery thumbnail e.g. mysite.com/fgallery/5 It said that I needed to download flash for it to work.

Details

I installed per directions - including adding the simpleviewer folder and copying the 2 files from simpleviewer (version 1.8). Of note: I'm using the 5.1 recommended site configuration for multi-site single codeline. This means that all extension modules, including flashgallery are being installed under
.../drupal-5.1/sites/all/modules
yet the site running flash has its settings.php file in sites/someothersite.com

I enabled the module. First nit I noticed is that it was categorized as a CCK module. Seems to me that it should be a "Media" module to be consistent with the module category on the drupal site. But this is mostly aesthetics. (But it does make me pause, is CCK required? It's not listed as a pre-req and I'm not using it.)

I then tried to set the initial settings. I noticed that the menu to configure the settings was not consistent with the 5.1 menu settings. It shows up under the Administer folder and should in fact be part of the Administration -> Site Configuration menu and should appear on both the mysite.com/admin page as well as mysite.com/admin/settings page.

On the settings page, I kept the default settings but also built thumbnails for existing galleries. I had one gallery with about 50 pics in it. It saved with no errors and said that it built flash directories. I confirmed that within my site's files directory (I don't follow conventional path here due to issues I've had migrating from dev to production), that there was indeed a flash directory under images. There was also a thumbs directory beneath that, but nothing there. Problem?

I then navigated to mysite.com/fgallery
the single gallery showed fine as a thumbnail for me to select. Selecting it, I was taken to URL:
mysite.com/fgallery/5
The title at the top displayed fine per the gallery name. However there was no pictures shown and I was given the error:
Macromedia Flash is required. Download Macromedia Flash.

I tried this using my mac (OSX) with Firefox 2.0.0.3 and Safari 2.0.4.
I tried this using my pc with XP and IE 7.

All consistently gave me the same error.
For grins, I reinstalled flash on my mac - still same error.

Comments

#1

OK, let's get a couple out of the way (CCK and admin path)
http://drupal.org/cvs?commit=64620

Just to confirm, are you use this version?
http://drupal.org/node/137477

#2

Afraid I don't have access to the link you just put in that post.

I used the version last mentioned in this thread: http://drupal.org/node/129118

which pointed to this version: http://drupal.org/node/135677

Was that the wrong version?

Please forgive if I goofed, I'm new to the dev processes here.

#3

Yes, I did post the wrong link. But you've answered my question anyway.

Could you move to this release, which is the bugfix release.
http://drupal.org/node/137477
You won't be able to access it immediately - it's new and the server hasn't packaged it yet (just wait an hour or so I guess).

Then can you check the permissions on /thumbs (needs to be 777, or read-write all)

After that, confirm what problems remain.

#4

Using new patch per your instructions. I did not however delete old data/tables so this isn't a pure install. I also forgot to disable the module before reloading the files. I did however delete the program files before uploading.

I noticed that flash gallery is now showing up in the module category of Media when enabling the module. Yeah. But, but now it's out of synch with your new install.txt

The settings menu now under administer Content Management and displays appropriately on the 2 navigation pages. Yeah!

/thumbs was 775 I changed it to /777
But - my /files/images directory is still /775 It worked fine with the images and gallery module that way.

I went back to the settings page and told it to rebuild thumbs. No error message was issued. Still no thumb images were created and placed in the folder.

Browsing to mysite.com/fgallery shows me the gallery thumbnail. Clicking on that takes me to mysite.com/fgallery/5 and now I get a flashing image. But of course I'm seeing X's on the top vs. the thumbnails. However, selecting an X or the arrows works fine.

I tested this on both Safari and Firefox on mac osx and saw consistent results.

Getting closer :-)

#5

I've just commited a fix that was preventing thumbnails being built. Same release (http://drupal.org/node/137477), it should get packaged in the next hour or so (unless you checkout directly from cvs of course).

#6

Sorry. Still no thumbnails are being rendered or added to the thumbs directory.

In case it's relevant. Here's the path I'm using for my files directory:

drupal-5.1/files/logicalsitename/

images go below that and your module was able to successfully create flash/thumbs directories from there.

#7

Just so i can follow the line of thought here.. it appears that the flash_gallery is getting ported to 5.1 which is what's being discussed here.. e.g. ironing out the bugs..

The question is:

1) i keep seeing posts about the module migrating to swftools (i think so that it's actually bundled with those modules when you download that project?).. Is that correct?

2) If so, it doesn't look like it lives there yet, which means i should still download it from it's old flash_gallery project location - yes?

3) OK.. if it's going to live in the new swf tools project, when will the switchover happen? I'm having trouble tracking the issues across projects/threads and trying to figure out where to download the LATEST code from to give it a whirl and maybe help you iron out the d5 bugs.

Also, i gather that the d5 flash_gallery isn't quite ready for prime time yet but on the verge of it (it appears that sime has it working locally but others that download the module are having some difficulties right?)

Finally, and this should probably be a feature request .. is it possible to make this module look for galleries in a private directory (e.g. hidden by embedding the path into the gallery itself) versus passing an xml parm in the plain view html src? I'm pretty sure it can be done but am wondering even if you hard code the path, there are utilities anybody can use to inspect the swf to get that path. So the real issue is whether or not the swf can access PRIVATE files outside of the public area and i'm not sure that's possible?

thanks
I gather

#8

Version:<none>» 5.x-1.x-dev

-- there are some disadvantages of diverting flash_gallery support to here, but I'm persisting for a while

-- there are two versions of flash_gallery, this one
http://drupal.org/node/137477
works without swftools

-- it is not working for some. but it will probably work for you, I know it's working for a few people. all projects have unresolved issues.

#9

Project:SWF Tools» Flash gallery
Version:5.x-1.x-dev» 5.x-1.x-dev
Component:Flash Gallery» Code

** Moving Flash Gallery issues to own queue **

nobody click here