back to Modules

Simpleviewer Flash Gallery

With thanks to Libralion and some finetuning by LouiseW

Simpleviewer Flash Module is a very nice album. Getting it up and running requires some explanation, as if you don't stick to the right order it won't work.

+ The Simpleviewer Flash Module requires the Uploads module that you can download and install through Extensions-Modules

+ Download the Simpleviewer Flash Module. You can download the xml file. From within your admin under Extensions-Modules you can now upload and install the Simpleviewer Flash Module.


To be able to upload it, you must have the safe mode on your server off. You can ask your hosting provider for that.


(you can also just download the tar.gz file and unzip it with winrar and then upload it with ftp to your server to the modules folder in your cmsmadesimple folder. You have to chmod(=give rights) to the images folder in the SimpleViewer folder with 777)


+ Then under Content-FrontEnd File Management(Uploads) make a new category. Give it a name and a description and write down the server path. The path will be something like : SimpleViewer/images/album01 Tick where it says: Files in this directory can be listed. Go to tab Files, select the new category and upload a couple of pictures and give at least a description, or it won't work. Also make sure there are no blancs in the file names. Uploading files one by one can be tedious. You can also upload files with your FTP program and then scan the category. Unfortunately all images will then have summary 'Pre-existing file'

+ Then under Content-SimpleViewer Flash gallery add a gallery. Give it a name and generate thumbnails. + Make a new page and put there the code: {cms_module module=SimpleViewer gallery=1} The number is the one you find with your gallery under the SimpleViewer Flash Gallery.

It should work now.

If it doesn't work look in the SimpleViewer.module.php in your Simpleviewer folder. Look if around line 424 it says this:


<param name="scale" value="noscale" /> $_output='<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" type="application/x-shockwave-flash" width="'.$row['width'].'" height="'.$row['height'].'" align="middle">

         <param name="movie" value="'.$swfurl.'" />
         <param name="FlashVars" value="xmlDataPath='.$xmlfile.'" />
         <param name="quality" value="'.$row['quality'].'" />
         <param name="scale" value="'.$row['scale'].'" />
         <param name="BGCOLOR" value="'.$row['bgColor'].'" />
         <param name="textColor" value="'.$row['textColor'].'" />
         <param name="frameColor" value="'.$row['frameColor'].'" />
         <embed src="'.$swfurl.'" width="'.$row['width'].'" height="'.$row['height'].'" align="middle" quality="'.$row['quality'].'" scale="'.$row['scale'].'"
          bgcolor="'.$row['bgColor'].'" textColor="'.$row['textColor'].'" frameColor="'.$row['frameColor'].'" FlashVars="xmlDataPath='.$xmlfile.'"
          type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />
     </object>';
   echo $_output;
 }

Because that is the right code.

You should see your album now, it just needs some finetuning. In IE it looks quite nice except for an ugly fat black frame around each image. In FF the images are way too small. Here is how you fix this.

Go to your photoalbum in the Content-Simpleviewer flash gallery. At the right side of your album there is a little pen. Click on that. There you will find all kind of things you can fill in. Say my images are 600px wide, so you set Max Image Dimension at 600 Width and height of the galery area were 100%. Changed that into width 100% and height 600 to get the correct image sizes. Width 100% positions the images centered. If you don't like the fat line around the pictures, increase Frame Width to 1 or even 0.

Some more issues: + In IE you always have a thin frame even at Frame With 0. + You can enter different colors for text and frames, but they remain black. + In FF you can place the thumbnails at 4 positions. In IE only top and bottom work. + The thumbnails are small squares. You set that in tab Preferences in the Content-SimpleViewer Flash Gallery. However the frontend doesn't change when you change these settings, so best leave it as it is. + CMSMS offers an older version 1.7 of Simpleviewer Flash Gallery. You find the latest version here however not adjusted for CMSMS. + You images will be displaid in the order they have been uploaded. You cannot alter the order afterwards.


--LouiseW 17:45, 25 October 2008 (EDT)


back to Modules


This page in: English - Deutsch - Español - Français - Italiano - Lietuvių - Nederlands - Norsk - Polski - Česky - Русский - Svenska - Tiếng Việt - عربي - 日本語 简体中文

User Handbook/Admin Panel/Extensions/Modules/Simpleviewer Flash Gallery

From CMSMS

Arvixe - A CMSMS Partner