Help with Photoshop and Dreamweaver

catz154

New Member
Messages
152
Reaction score
0
Points
0
I have been trying to add a Flash Photo Gallery that I automated from Photoshop onto one of my website pages. I cannot get it to show up at all!!!I tried everything I could think of for at least three hours, but I gave up and took a break. Does anyone know what could be the problem?, or have you done the same thing? I got the idea of putting the Photoshop gallery into a web page from a book called the Web design Workshop by Robin Williams. Any help would be appreciated!!!!
 

catz154

New Member
Messages
152
Reaction score
0
Points
0
this is the Photoshop code for the Flash Gallery

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<title>Purrfectmelody Cattery</title>
<!-- FlashObject embed by Geoff Stearns geoff@choppingblock.com http://choppingblock.com/ -->
<script type="text/javascript" src="flashobject.js"></script>
<script type="text/javascript">
window.onload = function() {
if ((window.document.getElementById) && (window.document.getElementById('gallery').focus)) {
window.document.getElementById('gallery').focus();
}
}

</script>
<style type="text/css">
/* hide from ie5 mac \*/
html {
height: 100%;
overflow: hidden;
}

#flashcontent {
height: 100%;
}
/* end hide */
body {
height: 100%;
margin: 0;
padding: 0;
background-color: #ffffff;
}
</style>
</head>
<body>
<div style="display:none">
<div>%FLASH%</div>
<div>Purrfectmelody Cattery</div>
<div>To go back to the site , go back on your web browser.</div>
<div>5/14/2008</div>
<div>wwww.pmab.exofire.net </div>
<div></div>
<div>#0D0D0D</div>
<div>#F2C879</div>
<div>#F2C879</div>
<div>#8C5B3F</div>
<div>#306C73</div>
<div>#0D0D0D</div>
<div>.jpg</div>
<div></div>
<div></div>
<div></div>
<div></div>
</div>
<div id="flashcontent">
<script type="text/javascript">
// <![CDATA[
var myFlashObject = new FlashObject("gallery.swf", "gallery", "100%", "100%", 6, "#ffffff");
myFlashObject.addParam("scale", "noscale");
myFlashObject.addVariable("request", getQueryParamValue("image"));
myFlashObject.addVariable("photosXmlFile", "photos.xml");
myFlashObject.addVariable("configXmlFile", "galleryconfig.xml");
myFlashObject.write();
// ]]>
</script>
<noscript>
You must enable Javascript to view this content.
</noscript>
</div>
</body>
</html>


and I tried pasting this code into the table on my web page, but did not work. So i tried to get in to the Flash page to and a link back to the original page and still did not work! If no one can help with this, then can someone give me an idea to do something similar?:dunno:
 

VPmase

New Member
Messages
914
Reaction score
0
Points
0
Lol. When you pasted it into the table, did all the text show up? If so then you were doing it in design view when you need to do it in code view.

lolux7.png
 

cowctcat

New Member
Messages
401
Reaction score
0
Points
0
Did you try to paste that whole code into a table.
It apears to be that it is meant to be its own page.
Try saving it as its own html file and then useing an iframe to put it into your page.
I can't say much more because my level of comprehension with flash is limited to, "It does stuff."
 

catz154

New Member
Messages
152
Reaction score
0
Points
0
Lol. When you pasted it into the table, did all the text show up? If so then you were doing it in design view when you need to do it in code view.

lolux7.png

I did it in code view. I can figure that much out!!!
no the code did not show up in the design view and what about that last post by kllctcat?
 
Last edited:

tektrnica

New Member
Messages
94
Reaction score
0
Points
0
Basically the code PS gives you is for a complete webpage, if your putting it into another webpage that YOU have made you need to cut bits and pieces out from it.

Now, between your <head> and </head> tags on YOUR created page, you need to paste this:

Code:
<!-- FlashObject embed by Geoff Stearns geoff@choppingblock.com http://choppingblock.com/ -->
<script type="text/javascript" src="flashobject.js"></script>
<script type="text/javascript">
window.onload = function() {
if ((window.document.getElementById) && (window.document.getElementById('gallery').focus)) {
window.document.getElementById('gallery').focus();
}
}

</script>
<style type="text/css">
/* hide from ie5 mac \*/
html {
height: 100%;
overflow: hidden;
}

#flashcontent {
height: 100%;
}
/* end hide */
body {
height: 100%;
margin: 0;
padding: 0;
background-color: #ffffff;
}
</style>

And btween the <body> and </body> tags, you need to paste this, wherever you want the flash gallery to show.

Code:
<div style="display:none">
<div>%FLASH%</div>
<div>Purrfectmelody Cattery</div>
<div>To go back to the site , go back on your web browser.</div>
<div>5/14/2008</div>
<div>wwww.pmab.exofire.net </div>
<div></div>
<div>#0D0D0D</div>
<div>#F2C879</div>
<div>#F2C879</div>
<div>#8C5B3F</div>
<div>#306C73</div>
<div>#0D0D0D</div>
<div>.jpg</div>
<div></div>
<div></div>
<div></div>
<div></div>
</div>
<div id="flashcontent">
<script type="text/javascript">
// <![CDATA[
var myFlashObject = new FlashObject("gallery.swf", "gallery", "100%", "100%", 6, "#ffffff");
myFlashObject.addParam("scale", "noscale");
myFlashObject.addVariable("request", getQueryParamValue("image"));
myFlashObject.addVariable("photosXmlFile", "photos.xml");
myFlashObject.addVariable("configXmlFile", "galleryconfig.xml");
myFlashObject.write();
// ]]>
</script>
<noscript>
You must enable Javascript to view this content.
</noscript>
</div>

also make sure gallery.swf is in the same folder as the html file that you have made.
 

cowctcat

New Member
Messages
401
Reaction score
0
Points
0
or do it my way and just have all of that in a seperate page and where you want the gallery just put an <iframe> tag

:)

The choice is yours and yours alone
 

tektrnica

New Member
Messages
94
Reaction score
0
Points
0
or do it my way and just have all of that in a seperate page and where you want the gallery just put an <iframe> tag

:)

The choice is yours and yours alone

yes but that means using nasty iFrames :p heheheh
 

cowctcat

New Member
Messages
401
Reaction score
0
Points
0
what is so nasty about them they are one of the greatest html elements in my opinion if you know the css to get them to look right
 

catz154

New Member
Messages
152
Reaction score
0
Points
0
what is so nasty about them they are one of the greatest html elements in my opinion if you know the css to get them to look right

Just to let you all know I really do not know what iFrames are. :dunno: Have a teeny tiny clue, because i asked a friend, but he gave me an educated answer:nuts:, i need it in plain English.:happysad:
 

catz154

New Member
Messages
152
Reaction score
0
Points
0
OK I think I got it. I am redesigning some stuff on my site based on reviews i received. I thin k i may try this out and see if it works. Thanks
 
Top