Topic: Cant embed into html file

Hi i really hope you can help me.

I wish to add a gallery to an existing html page: http://sidd-rishi.com.au/index.php?x=wedding

I wish to add the gallery at the bottom of the text.

I have followed the guide as suggested here: http://simpleviewer.net/simpleviewer/su … dding.html

But nothing seems to be working sad

I have created the gallery with photoshop script and have copied all the files across to where that html file is sitting.
That is i have copied the images folder, thumbs, gallery.xml and simpleviewer file.

I have not copied the index.html file as i dont want to create another page. I simply want the pictures to show at the bottom of the text.

If someone can view the source file can you please tell me what im doing wrong!!

Any help is much appreciated. If you need more info please let me know.

Thank you so much.

kind-Regards,

SR

Last edited by SR33 (2010-09-22 14:36:44)

Re: Cant embed into html file

Also i have tried the object embedded method, but doesn't seem to work either. All i see is a Grey box.

Ta,

Re: Cant embed into html file

This is your embed code.

<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/swfobject/2.2/swfobject.js"></script> 
        <script type="text/javascript"> 
            var flashvars = {};
            flashvars.galleryURL = "gallery.xml";
            //flashvars.firstImageIndex = "0";
            //flashvars.preloaderColor = "#FFFFFF";
            var params = {};
            params.allowfullscreen = true;
            params.allowscriptaccess = "always";
            params.bgcolor = "000";
            swfobject.embedSWF("simpleviewer.swf", "flashContent", "100%", "100%", "9.0.124", false, flashvars, params);
        </script>

http://sidd-rishi.com.au/gallery.xml and http://sidd-rishi.com.au/simpleviewer.swf give a 404 not found error. Are you swf, image folders and gallery.xml in a different folder then your HTML?

Mike Richards
SimpleViewer Support Team.

Re: Cant embed into html file

Oh i see. I put them into the same folder where the wedding.html page was located. I had a funny idea i should have put them at the root location.

The next problem im having is that only 1/4 of the gallery shows up.

You can see it here: http://sidd-rishi.com.au/index.php?x=wedding

Something else im doing wrong now?


Thank you for the help smile

Re: Cant embed into html file

I checked my CSS file and its fine:

#flashContent {
        height: 100%;
    }

Re: Cant embed into html file

When I try to link directly to your image I'm recieving a 404 not found, did you upload your image to the server?

http://sidd-rishi.com.au/images/Pic14.jpg


Oh i see. I put them into the same folder where the wedding.html page was located. I had a funny idea i should have put them at the root location.

You can have the files in other location you just need to adjust your embed code to point to them.


also you should take a look at the HTML errors, such as </br>.

Mike Richards
SimpleViewer Support Team.

Re: Cant embed into html file

Hi all pics have been uploaded.

It works if you go directly here: http://www.sidd-rishi.com.au/simpleviewer.swf

But it wont show up on this page, where i want it to be: http://sidd-rishi.com.au/index.php?x=wedding

Am i missing something else to do?

Thank you for your help.

Ta,


Ps. would you like to see my CSS file?

Last edited by SR33 (2010-09-23 13:06:35)

Re: Cant embed into html file

Well i got it working now smile

been playing around with my CSS file.

Just cant get to the sig to show up.
But will muck around with the css file more.

Thanks for your help smile