[eluser]drabina[/eluser]
My first post since I started to work with CI about a week ago. So far I had no problems but this one bugs me.
I want to use SimpleViewer for my photo gallery page. I have created view that has the SimpleViewer object embedded in it. Gallery with photos is in the folder of the root directory. Here is the structure:
/galleries/1/images/
/galleries/1/thumbs/
/galleries/1/gallery.xml
/galleries/1/swfobject.js
/galleries/1/viewer.swf
/app/views/simpleviewer.php
The content of the simpleviewer.php is:
Code:
<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" width="100%" height="100%" align="middle">
<param name="movie" value="http://www.mydomainname.com/galleries/<?= $gallery_id ?>/viewer.swf" />
<param name="quality" value="high" />
<param name="scale" value="noscale" />
<param name="BGCOLOR" value="#181818" />
<embed
src="http://www.mydaomainname.com/galleries/<?= $gallery_id ?>/viewer.swf"
width="100%"
height="100%"
align="middle"
quality="high"
scale="noscale"
bgcolor="#181818"
type="application/x-shockwave-flash"
pluginspage="http://www.macromedia.com/go/getflashplayer"
/>
</object>
Unfortunately, when I load the gallery I get error "gallery not found".
Any help would be appreciated. Thanks.