Help - Can't see images on website

  allyb97 19 Jan 10
Locked

Hi, this is my first time using dreamweaver. I've uploaded all of my files to the host but the images aren't showing up. I'm not sure if I've uploaded my images folder or what I even need to do to do that. Here's what it looks like: click here.

  allyb97 19 Jan 10

Also, my links aren't working on click here
...??? Is this related

  allyb97 19 Jan 10

Also do I need to get an FTP client?

  allyb97 20 Jan 10

Thank you so much, I can't believe how simple that was. Do you also know why my SimpleViewer gallery is not showing up on this page click here ?

  cycoze 20 Jan 10

Where have you uploaded the swfobject.js file too? looking at your page info maybe it should be in the root directory.

  cycoze 20 Jan 10

Also the page is saying that Gallery XML can not be found, this mean you also need to upload the gallery.xml file to the root folder too.

  allyb97 22 Jan 10

Ok so I took the Output Directory folder and pressed the upload arrow seemingly loading all the files including the .swf and gallery.xml but its the same... if someone could make any sense out of this: click here that would be so helpful!

  cycoze 22 Jan 10

Your page code has not been updated to say where the gallery.xml file is, you need to correct it, I checked and found it is now residing in Output Directory/

Your page shows the code as...

<script type="text/javascript">
var flashvars = {};
flashvars.galleryURL = "gallery.xml";
var params = {};
params.bgcolor = "000000";
params.allowfullscreen = true;
params.allowscriptaccess = "always";
swfobject.embedSWF("simpleviewer.swf", "flashContent", "800", "600", "9.0.124", false, flashvars, params);
</script>

you need to change that third line of what I pasted above to...

flashvars.galleryURL = "Output Directory/gallery.xml";

  allyb97 22 Jan 10

Yay it worked your amazing thank you. Now the only problem is that the images are showing up as a big X. It says on the website:

This examples load the SWFObject JavaScript file directly from Google's servers. If you would rather load SWFObject locally, check the examples/local.html file which does just that.

To use the JavaScript Embed do the following:

1. Create your SimpleViewer gallery as normal.
2. Copy the entire contents of your SimpleViewer gallery folder into the folder that contains your HTML page. If you want to embed to a separate external gallery folder, check here.
3. Edit your HTML document using a HTML or text editor. Copy and paste this code block into the head of the HTML page:

<script type="text/javascript" src="click here"></script>
<script type="text/javascript">
var flashvars = {};
flashvars.galleryURL = "gallery.xml";
var params = {};
params.bgcolor = "222222";
params.allowfullscreen = true;
params.allowscriptaccess = "always";
swfobject.embedSWF("simpleviewer.swf", "flashContent", "800", "600", "9.0.124", false, flashvars, params);
</script>


And also says to use this code if you want your gallery assets in a separate folder, external to the embedding HTML page folder so I put :

<script type="text/javascript" src="click here"></script>
<script type="text/javascript">
var flashvars = {};
flashvars.baseURL="Input Directory/";
flashvars.galleryURL = "Output Directory/gallery.xml";
var params = {};
params.bgcolor = "000000";
params.allowfullscreen = true;
params.allowscriptaccess = "always";
swfobject.embedSWF("Input Directory/simpleviewer.swf", "flashContent", "800", "600", "9.0.124", false, flashvars, params);
</script>

Which is wrong because now it's completely blank again, so I've gone back to what I originally had.

Sorry for my limited knowledge, I'm learning as I go, thanks for everyone's help so far.

  cycoze 22 Jan 10

I agree with fourm member about the image names, keep it simple with names, lower-case and no spaces every time.

I think you need to copy Input simpleviewer.swf to the Input Directory, then you need to change the code on the graphicdesign page from...

<script type="text/javascript">
var flashvars = {};
flashvars.galleryURL = "Output Directory/gallery.xml";
var params = {};
params.bgcolor = "000000";
params.allowfullscreen = true;
params.allowscriptaccess = "always";
swfobject.embedSWF("simpleviewer.swf", "flashContent", "800", "600", "9.0.124", false, flashvars, params);
</script>

to

<script type="text/javascript">
var flashvars = {};
flashvars.galleryURL = "Output Directory/gallery.xml";
var params = {};
params.bgcolor = "000000";
params.allowfullscreen = true;
params.allowscriptaccess = "always";
swfobject.embedSWF("Input Directory/simpleviewer.swf", "flashContent", "800", "600", "9.0.124", false, flashvars, params);
</script>

the change actually being the line...

swfobject.embedSWF("simpleviewer.swf",

to

swfobject.embedSWF("Input Directory/simpleviewer.swf",

  cycoze 22 Jan 10

re the names of the images, for now leave them as they are because they do show up in the output directory/image folder.

Advertisement

This thread is now locked and can not be replied to.

Should I upgrade to Windows 10? 8 reasons why you should upgrade to Windows 10... and 2 why you…

We are being sold the ability to spend money we don't have. And we love it

IKinema aims to banish droopy shoulders and wonky spines in animated CG characters

How to use Apple Music in the UK: Complete guide to Apple Music's features

We use cookies to provide you with a better experience. If you continue to use this site, we'll assume you're happy with this. Alternatively, click here to find out how to manage these cookies

hide cookie message