Page 1 of 1

SimpleViewer, PiPictures, GalleryS problems

Posted: Wed Feb 08, 2006 10:24 pm
by davidL
I am learning cmsms and have fund everything quite easy so far, but when trying to install a gallery mod I have gotten into trouble. I've tried the simpleviewer mod (together with upload mod), PiPicture mod and the GalleryS mod, but without any success.

1. The Simple Viewer works in firefox but not in explorer. I don’t understand why
2. The PiPictures don't work at all.
3. The GalleryS module give me headache :(. I’ve installed it as per instructions, but when trying to merge in webpage the layout gets messed up (css problem?). The main problem is however that there seem to be a problem with permissions. When logging in as administrator I can not do any changes. As soon as I try to save anything I get an error message. Over all I don't se the benefit of using the GalleryS module in cmsms. It seam to me as if it would be better to do a clean Singapore install and simply embed it in cmsms. I probably missed something here so please tell me what the benefit are?

I would be happy if I could get some tips on what is wrong. Any other mods I’ve tried have worked effortless so it’s frustrating that I’m having these problems with the galleries. To get a better view of my problems, please se examples at

Thanks
/David

Re: SimpleViewer, PiPictures, GalleryS problems

Posted: Sun Feb 12, 2006 5:15 pm
by davidL
Anyone??

I read SJGs post about describing problems and realized my first post was not an example of a perfect help request. I'm sorry for this. Unfortunately my inexperience makes it difficult to give all the interesting details. My cmsms version is 0.11.2 "scarborough". I don’t know much about the server details. All I know is that its a windows server.

SimpleViewer (v1.0): Does anyone have an idea of why it doesn’t work in explorer? if I look at the code of the generated site it all looks good to me, but the script doesn’t seem to find the images.


PiPictures (v 1.2a) :
The error message i get is "The gallery path D:\Public_html\cmsms/uploads/images/PiPictures/ not found ". Could this problem be related to that the server is on a windows machine? I tried modifying the path in the function.PiPictures.php file and changed the direction of the "slashes". After uploading the file suddenly the entire webpage stopped working. No matter what page I tried to access I only got a white blank page. I don't know that to try next.
I would like to be able to evaluate try this script so if anyone has any tips on how to get it to work I would be happy. If someone has a link to a page that is running PiPictures would also be pleased if you could share it. I'm interested to se how it looks. Maybe seeing an example or two is enough to evaluate it.

GalleryS (v 0.3.4): There must be something wrong with database integration or permissions since I can not do any changes even when logged in as administrator (the catalogs containing the galleryS module should have proper permissions so I don’t understand this).  Also when trying to integrate the gallery in a webpage the integration script fails to remove the tags properly so the layout becomes funny. I can not figure it out so I’m not going do much effort in solving it, but out of curiosity I would like to understand what is wrong. Is it a bug or did I do something wrong?

Curently im looking into using mg2 as an external gallery. I think this is a good option. After doing some research of galleries the ones that fitted my taste the best was mg2 and plogger. I really hope that someone would like to integrate any of these two into cmsms in the future.

/David

Re: SimpleViewer, PiPictures, GalleryS problems

Posted: Mon Feb 13, 2006 8:40 am
by davidL
Finally some breakthrough. The problems with the gallyS seem to be that there were an permission error in the folders (My friend ho hosts the server found this out) and that several of the files has php code marked as and not . Apparently the server does not accept the sloppy version without the “php”.

Now the question is can the server be made to accept “<?” instead of “<?php” or should I manually go through the files and start changing this? I expect that this will be a problem in the future with any new script that I download so the best would be if the server could be made to accept it.

I found out the server info. Its windows 2003 server with IIS6 running php v5.1.1. A friend of mine hosts the server so although I do not have direct control over the server I can probably convince him to install any server patches or modifications that may fix the problem.

The problems with pipictures and simpleviewer are still unsolved. I believe the pipictures problem is related to the windows server.

/David

Re: SimpleViewer, PiPictures, GalleryS problems

Posted: Mon Feb 13, 2006 8:57 am
by Dana
you must change in the "SimpleViewer.module.php" the line 427

from:
<param nane="FlashVars" value=.........................

to:
<param name="FlashVars" value=........................

Re: SimpleViewer, PiPictures, GalleryS problems

Posted: Mon Feb 13, 2006 7:37 pm
by davidL
I have checked the files of galleryS and only one filed contained "<?" and that was modulefunctions.php. It works now. Only need to play around with the css to fix the layout. The standard singapore css becomes mixed with the cmsms css so best seem to be to remove the singapore css and let the cms do all the styling.

Now i only have to decide whether I should use the singapore or the MG2. I would preferably like to have random images displayed on my front page that is linked to the gallery. Anyone has got a tip on how to do that? I guess it could be quite tricky but I have seen in being done with the MG2.

Dana, Thank you. You fixed the simpleviewer.

Re: SimpleViewer, PiPictures, GalleryS problems

Posted: Thu Feb 16, 2006 12:22 am
by davidL
I have finally made up my mind on this now. I will use MG2 as image gallery and include it with the {embed} tag. I became quite happy with the Singapore module once I got it working. It is simple to style and modify for my application. The only thing that bothers me is that every time a picture is viewed the entire page is reloaded. My cmsms process the page by average in 2 sec. This is a bit slow and when browsing through a gallery it becomes very frustrating.  Mg2 is super fast and when used with the embed tag the main page is never reloaded. I prefer this even though embedding has its drawbacks. Now I can not direct link to any specific image in the gallery. I probably have to give up my wish to have a random linked picture on the front page.

Or may there be a way? How should I explain this properly? Now I use {embed = “path/mg2/index.php”} to insert my gallery. This means that every time I will acess the gallery in the menu I will get a “box” in my contents field where the gallery “index.php” is placed. If I would like to link to a specific picture in the gallery (like from a random image script on first page) I se no way of doing that. I kind of would like it to work the same way as it does with frames and “target” in html. Say that the random image script on first page links to “path/mg2/index.php?imageID=X” then I would like it to go in the gallery “frame” instead of the hard linked “index.php”. Is there a way to accomplish something like that? I have found a good random image script to mg2 that i would like to use somehow.

Re: SimpleViewer, PiPictures, GalleryS problems

Posted: Tue Mar 14, 2006 9:01 pm
by ssi
Just an additional note...

I was having problems getting the SimpleViewer gallery to work correctly in Safari & IE.  I fixed the misspelling (nane->name) as suggested above, however, it would not show up correctly in IE...to boot, Safari didn't allow certain clicks when the nav thumbnails were on the bottom...

SOLUTION: i don't use the 100% height/width ... i think that was the default, but some browsers complain about it (especially the height).

Anyway, I hope this will be helpful to some else; i looked at for awhile before the "light bulb" got very bright.

Re: SimpleViewer, PiPictures, GalleryS problems

Posted: Tue Mar 14, 2006 9:12 pm
by ssi
UPDATE: so it appears as though you can make Safari & IE6 happy (with 100% height/width) as long as you put the flash code inside another container

i.e.

This didn't work for me:



 
  Some content
 
 
  Some other content
  ## FLASH CODE (w/100% height & width) ##
 



This DID work for me:



 
  Some content
 
 
  Some other content
 
   
   
      ## FLASH CODE (w/100% height & width) ##
   
 
 
 



Sorry if this seems trivial...it is possible i have some other error in my html, however, it frustrated me enough and perhaps this may lead someone else along a path to remedy a similar problem.