Skip to main content

Drupal 6.x Flash Gallery using SimpleViewer v2

**UPDATE** You can now use the simple viewer module http://drupal.org/project/simpleviewer

If you are using the the Flash Gallery module in drupal and want to upgrade to simpleViewer v2 I have added some configurations to the Flash Gallery module that should be useful.

Just download SimpleViewer v2 extrac the files and find the simpleviewer.swf file.
Copy it to your drupal modules/flash_gallery/simpleviewer and rename it to viewer.swf (either delete or rename the old viewer.swf)

Then replace the flash_gallery.module with the file attached below.

This will add two new configuration options:

enable/disable the open in new window

enable/disable the full screen button (it also fixes the full screen button so that it works)

here are the added settings:

within this function:

<code>

function flash_gallery_xml_options($tid) {

</code>

<code>

  $fs = variable_get('xml_full_screen', 1) ? 'true' : 'false';
  $op[] = 'showFullscreenButton="'. $fs .'"';

  $nw = variable_get('xml_open_button', 1) ? 'true' : 'false';
  $op[] = 'showOpenButton="'. $nw .'"';

</code>

AttachmentSize
flash-gallery-module.zip4.56 KB

Comments

#1 can't download module file

I would like to use simpleviewer 2 but unfortunately I can't download the above module file. I receive a 403 forbidden answer. Can you help me please.

Best regards
Joachim

#2 where is the file

where is the file attached?
Can't make fullscreen work

#3 Sorry, the file was only

Sorry, the file was only viewing when logged in. fixed it now.