Page 1 of 2

[Solved] Simpleviewer module in IE and in FF?

Posted: Sat Jul 19, 2008 7:48 am
by libralion
Hi everybody,
I have the simpleviewer module(1.0) on my site. The thing is, that in IE it shows up alright, but in FF it only gives a small picture when it supposed to be a large one.
I also tested the latest version of the simpleviewer, 1.8.5. That works both in IE and in FF.
But in the forge there is only the 1.0 version. I already wrote Robin Campbell, the writer of the module, but until now no answer.
Does somebody know how to get the latest version into CMSMS?
Here is my testsite, so that you can see what I mean by not showing up correctly in FF:
http://www.jomedio.nl/cmsmadesimple/index.php?page=foto-s

And this is the good one:
http://www.jomedio.nl/cmsmadesimple/index.php?page=hom-2

Edit: I found on the simpleviewer site http://www.airtightinteractive.com/simpleviewer/ that the writer if that module is Felix Turner. So he probably modified the old simpleviewer module? I will write him and let you all know.

Re: Simpleviewer module in IE and in FF?

Posted: Sat Jul 19, 2008 5:50 pm
by Dr.CSS
One thing is you have it in a ...

Re: Simpleviewer module in IE and in FF?

Posted: Sat Jul 19, 2008 6:39 pm
by libralion
mark wrote: One thing is you have it in a ...
I removed that. But that didnot change anything. The p tag was only because I wanted the simpleviewer to align left.

Re: Simpleviewer module in IE and in FF?

Posted: Sat Jul 19, 2008 8:45 pm
by Dr.CSS
OK now try this...

#content_box_inside embed {
        padding:0px;
        margin:0px;
        height:400px;
}

Re: Simpleviewer module in IE and in FF?

Posted: Sun Jul 20, 2008 6:56 am
by libralion
I solved it. In the Simpleviewer Flash gallery there is twice the value 100%. That doesnot work very well.
I changed it to 420px and now it works both in IE and FF.
I also changed that for the new simpleviewer 1.8.5 because I saw that that gets messed up also through the 100%.
Thanks Mark for your input!

I still can't get the latest version through the CMS admin and I havenot heard from the writer of the module yet, so for now I leave it with this.

Re: [Solved]Simpleviewer module in IE and in FF?

Posted: Sun Jul 20, 2008 8:21 am
by Deblus
[quote="libralion"]
Hi everybody,
I have the simpleviewer module(1.0) on my site.



Could you explain how you installed it please?

I have tried but failed.

Re: [Solved]Simpleviewer module in IE and in FF?

Posted: Mon Jul 21, 2008 6:20 am
by libralion
Hi Deblus,

Ok this is what I did:
-Download the simpleviewer module here: http://dev.cmsmadesimple.org/frs/?group_id=64
You can download the xml file and then from within your admin under Extensions-Module upload it and install it.
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)
-Also install the Uploads module. It is under Extensions-Modules.
-Then under Content-Front End 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
Put a dot in where it says: files in this directory may be listed.
Also upload a couple of pictures and give at least a description, or it won't work.
-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 doesnot work look in the SimpleViewer.module.php in your Simpleviewer folder.
And  look if around line 424 it says this:

Code: Select all

<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>';
Because that is the right code.
Good luck!

Re: [Solved] Simpleviewer module in IE and in FF?

Posted: Mon Jul 21, 2008 6:59 am
by Deblus
thanks Libralion for your detailed response I shall give it a go

Re: [Solved] Simpleviewer module in IE and in FF?

Posted: Fri Aug 08, 2008 9:39 am
by LouiseW
Hello Libralion

I used the code in this topic to get my SimpleViewer album running. Thanks for that.

I am making some double postings, hope you don't mind, but you solved the problem of too small images in FireFox that I still have, see http://forum.cmsmadesimple.org/index.php/topic,22537.msg119169.html#msg119169

You removed your topic concerning this with example http://www.jomedio.nl/cmsmadesimple/index.php?page=foto-s: you obviously solved the problem.

Could you please help me?

Re: [Solved] Simpleviewer module in IE and in FF?

Posted: Fri Aug 08, 2008 10:01 am
by libralion
LouiseW wrote: Hello Libralion

I used the code in this topic to get my SimpleViewer album running. Thanks for that.

I am making some double postings, hope you don't mind, but you solved the problem of too small images in FireFox that I still have, see http://forum.cmsmadesimple.org/index.php/topic,22537.msg119169.html#msg119169

You removed your topic concerning this with example http://www.jomedio.nl/cmsmadesimple/index.php?page=foto-s: you obviously solved the problem.

Could you please help me?
Hi Louise,

The topic has not been removed. Here it is:
http://forum.cmsmadesimple.org/index.php/topic,23917.0.html
Go to your photoalbum in the Simpleviewer flash gallery in the admin and 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. Chnage the height and width from 100% to for instance 520px and 620px. You can also change the maximum Image dimension.
This should do the trick.
Good luck!

Johanna :)

Re: [Solved] Simpleviewer module in IE and in FF?

Posted: Fri Aug 08, 2008 10:45 am
by LouiseW
Hello Libralion

Thank you very much.
I realy thought you removed a topic.

How simple can it be!! My images are 600px wide so I set Max Image Dimension at 600
Width and height of the galery area were 100%. I changed that into width 100% and  height 600 I get the correct image sizes. Width 100% positions the images centered.

Re: [Solved] Simpleviewer module in IE and in FF?

Posted: Fri Aug 08, 2008 10:51 am
by libralion
LouiseW wrote: Hello Libralion

Thank you very much.
I realy thought you removed a topic.

How simple can it be!! My images are 600px wide so I set Max Image Dimension at 600
Width and height of the galery area were 100%. I changed that into width 100% and  height 600 I get the correct image sizes. Width 100% positions the images centered.

Yes sometimes the solutions are simple. The difficult part is to find it. ;D

to mark

Posted: Tue Sep 09, 2008 8:47 pm
by peterbus
MArk,

You always end your replies with; "WHY oh why, can anyone tell me, does it seem like no one reads all the pages that come with a default install, it talks about all the modules, tags, menus, templates, css, html, all kinds of stuff about cmsms that I see questions about daily..."

Where in those pages can I find the stuff that is wriiten in the above replies?

Re: [Solved] Simpleviewer module in IE and in FF?

Posted: Tue Sep 09, 2008 10:41 pm
by Dr.CSS
@peterbus

No this isn't something you'll find in the default install but I've answered many many questions that have the exact answer in those pages, hence the little rant in my sig...

Re: [Solved] Simpleviewer module in IE and in FF?

Posted: Tue Mar 03, 2009 3:38 pm
by tubeoftoothpaste
hi, i still cant get this module to install into CMSMS. after extracting it into the modules folder it still does not show up in CMSMS. and where is the XML file that we need in order to install via CMSMS?

thanks

Mark