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
Contact Forum Editor

Send an email to our Forum Editor:


PLEASE NOTE: Your name is used only to let the Forum Editor know who sent the message. Both your name and email address will not be used for any other purpose.

Tech Helproom


It's free to register, to post a question or to start / join a discussion


 

Help - Can't see images on website


allyb97

Likes # 0

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.

Like this post
allyb97

Likes # 0

Right, so I inserted the Flash Slideshow and now it says gallery xml not found .. i hate this slide show haha

Like this post
allyb97

Likes # 0

Still not working, it shows up when I preview it but when I go to the actual site it just says "SimpleViewer requires JavaScript and the Flash Player. Get Flash." and I already have Flash..?

Like this post
cycoze

Likes # 0

You made a simple spelling mistake with the code. or rather I did and you copied and pasted it !...

("Onutput Directory/images/simpleviewer.swf"

needs to be...

("Output Directory/images/simpleviewer.swf"

remove that n.

Like this post
allyb97

Likes # 0

Ok so I did all of the above except change the names to lower case, no spaces and it comes up like this: click here .

What do you all think of starting over and using this method:

You can use Adobe Dreamweaver to embed a SimpleViewer gallery in any HTML page by doing the following:

Import your SimpleViewer gallery folder into your Dreamweaver project. (I dont even really know what they mean by this..)

Using Dreamweaver, open an existing HTML document or create a new one. Click where you want the gallery to appear and do Insert -> Media -> SWF. Browse to the SimpleViewer gallery folder you imported in step 2. You will now see a gray box where your gallery will appear.
Select the gray box and do Window -> Properties to open the properties panel.
Set the gallery width (W), height (H) and background color (bg) in the properties panel.
Click the '+' (plus sign) to add a new parameter. Enter flashVars for the name and baseURL=svgallery/ for the value, replacing svgallery/ with the path to the gallery folder relative to the current document.
Click the '+' (plus sign) to add a second new parameter. Enter allowFullscreen for the name and true for the value.

Would this be better? If yes I don't understand which one is my 'simple viewer gallery folder.

Like this post
cycoze

Likes # 0

I messed up with the code two posts above, sorry !

swfobject.embedSWF("simpleviewer.swf",

should be changed to

swfobject.embedSWF("Onutput Directory/images/simpleviewer.swf",

and you should make sure there is a copy of simpleviewer.swf in the images folder.

Like this post
cycoze

Likes # 0

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

Like this post
cycoze

Likes # 0

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",

Like this post
allyb97

Likes # 0

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.

Like this post
cycoze

Likes # 0

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";

Like this post
allyb97

Likes # 0

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!

Like this post

Reply to this topic

This thread has been locked.



IDG UK Sites

Best January sales 2015 UK tech deals LIVE: Best New Year bargains and savings on phones, tablets,...

IDG UK Sites

Chromebooks: ready for the prime time (but not for everybody)

IDG UK Sites

Best Photoshop Tutorials 2014: 10 inspiring step-by-step guides to creating amazing art,...

IDG UK Sites

Complete guide to iPhone and iPad settings: Get to know iOS 8 Settings UPDATED