Deoxys55
November 1st, 2004, 10:38 PM
**Kicks freewebs**
How do you upload a site made in Dreamweaver without losing all the images? It's really annoying! The text shows up, but there's no background and all my images appear as lovely red Xs. Is there a way to do this without having to re-upload and host all the pics? >.<;
Rukario
November 1st, 2004, 10:41 PM
how is your site's dir structure set up? (like do u have a images folder?)
dreamweaver SHOULD upload all the relevant folders when you upload the site.. just double check that it did so. if not, manually upload them. (in the correct places, of course)
Lightning
November 1st, 2004, 10:41 PM
*blinks* Er... you did upload all the images to the same server, right? Have you made sure they're all pointing to the right URLs?
Deoxys55
November 1st, 2004, 11:23 PM
dreamweaver SHOULD upload all the relevant folders when you upload the site..
Well, it doesn't. If it does, Freewebs has decided to hid it. >.>; I'll try the Folders things, thanks.
HellishHades
November 2nd, 2004, 01:27 AM
Well, it doesn't. If it does, Freewebs has decided to hid it. >.>; I'll try the Folders things, thanks.
If you can, use an FTP program to upload the files. I like to use WS_FTP Pro.
Lightning
November 2nd, 2004, 01:57 AM
Unless I'm thinking of the wrong host, Freewebs only allows file manager uploads -- no FTP.
You have to upload the images from your computer to your website so they work. For example, if your webpage is "index.html" and the pictures on it are in "pictures/picture.jpg," then you would upload "index.html" to your webspace and then create the folder "pictures" and upload your image there. ^^; Then everything should turn up okay.
Optic
November 2nd, 2004, 10:25 AM
Deoxys55, are all your files, images and all that in one folder? At the start of creating your site in Dreamweaver, you define a site and specify which folder holds the files of your site. Then you just upload the contents of that folder to your server and it should be fine.
I suspect that you have all sorts of images scattered throughout your hard disk and when you upload those too, they won't show up because the file paths point to your hard disk and not the web server. Use directory-relative paths. (Dreamweaver automatically does this provided the images you use are within the folder you specified for your site)
Deoxys55
November 2nd, 2004, 09:24 PM
You have to upload the images from your computer to your website so they work. For example, if your webpage is "index.html" and the pictures on it are in "pictures/picture.jpg," then you would upload "index.html" to your webspace and then create the folder "pictures" and upload your image there. ^^; Then everything should turn up okay.
So.. I have to change the name of the file it's linking to into the file's name/folder it's in on my freewebs? I've done that, it still only shows red Xs...
And I can't find where in the HTML for the site it links with the file's folder. O_o I'm an idiot when it comes to this. XD
Lightning
November 2nd, 2004, 09:29 PM
Mmm... maybe you should try posting your code up here so we can see it. @_@;
Deoxys55
November 2nd, 2004, 10:02 PM
It may be more that the word limit for a post.. oh well, I'll try:
<html>
<head>
<title>Untitled Document</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<script language="JavaScript">
<!--
function MM_preloadImages() { //v3.0
var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}
function MM_findObj(n, d) { //v4.0
var p,i,x; if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
if(!x && document.getElementById) x=document.getElementById(n); return x;
}
function MM_nbGroup(event, grpName) { //v3.0
var i,img,nbArr,args=MM_nbGroup.arguments;
if (event == "init" && args.length > 2) {
if ((img = MM_findObj(args[2])) != null && !img.MM_init) {
img.MM_init = true; img.MM_up = args[3]; img.MM_dn = img.src;
if ((nbArr = document[grpName]) == null) nbArr = document[grpName] = new Array();
nbArr[nbArr.length] = img;
for (i=4; i < args.length-1; i+=2) if ((img = MM_findObj(args[i])) != null) {
if (!img.MM_up) img.MM_up = img.src;
img.src = img.MM_dn = args[i+1];
nbArr[nbArr.length] = img;
} }
} else if (event == "over") {
document.MM_nbOver = nbArr = new Array();
for (i=1; i < args.length-1; i+=3) if ((img = MM_findObj(args[i])) != null) {
if (!img.MM_up) img.MM_up = img.src;
img.src = (img.MM_dn && args[i+2]) ? args[i+2] : args[i+1];
nbArr[nbArr.length] = img;
}
} else if (event == "out" ) {
for (i=0; i < document.MM_nbOver.length; i++) {
img = document.MM_nbOver[i]; img.src = (img.MM_dn) ? img.MM_dn : img.MM_up; }
} else if (event == "down") {
if ((nbArr = document[grpName]) != null)
for (i=0; i < nbArr.length; i++) { img=nbArr[i]; img.src = img.MM_up; img.MM_dn = 0; }
document[grpName] = nbArr = new Array();
for (i=2; i < args.length-1; i+=2) if ((img = MM_findObj(args[i])) != null) {
if (!img.MM_up) img.MM_up = img.src;
img.src = img.MM_dn = args[i+1];
nbArr[nbArr.length] = img;
} }
}
//-->
</script>
</head>
<body bgcolor="#FFFFFF" text="#000000" background="../spaceptz.gif" onLoad="MM_preloadImages('../buttonhome.gif','../buttonadoptionz.gif','../buttonaminta.gif','../buttonsubmit.gif','../buttonaboutme.gif')">
<table width="620" border="0" cellpadding="0" cellspacing="0">
<tr>
<td height="113" valign="top" colspan="2"><img src="../skeltoncastle_banner.gif" width="619" height="112"></td>
</tr>
<tr>
<td valign="top" height="37" colspan="2">
<div align="center"><font face="Georgia, Times New Roman, Times, serif"><i><b><font size="4" color="#004080">Dogz
5 Fan Site and Home to Aminta, the Ghost Deerhound</font></b></i></font></div>
</td>
</tr>
<tr>
<td height="98" valign="top" colspan="2"> <font face="Times New Roman, Times, serif" color="#8080FF">Hey
Dogz fans! This is your crazy deerhound breeder, Rachel, here! Welcome to
my humble site, which will hopefully grow! I will try to update as much
as I can, but it's not easy with school and other things going on! >.<;
But just take a look around, I will have adoptions up very soon, lots of
cute widdle deerhounds and crossbreedz! The navagation bar should be right
under all this boring text! But I advise you to take cation, strange things
have been accuring around Skelton Castle lately...</font></td>
</tr>
<tr>
<td rowspan="2" width="133" valign="top">
<table border="0" cellpadding="0" cellspacing="0">
<tr>
<td height="20" valign="top" width="96"><a href="Homepage.htm" onClick="MM_nbGroup('down','group1','Home','../buttonhome.gif',1)" onMouseOver="MM_nbGroup('over','Home','../buttonhome.gif','../buttonhome.gif',1)" onMouseOut="MM_nbGroup('out')"><img name="Home" src="../buttonhome.gif" border="0" onLoad="" width="90" height="20"></a></td>
<td width="33"></td>
<td width="1"> </td>
<td width="1"></td>
<td width="1"></td>
<td width="1"></td>
</tr>
<tr>
<td height="20" valign="top"><a href="Adoptionzpage.htm" onClick="MM_nbGroup('down','group1','Adoptionz','../buttonadoptionz.gif',1)" onMouseOver="MM_nbGroup('over','Adoptionz','../buttonadoptionz.gif','../buttonadoptionz.gif',1)" onMouseOut="MM_nbGroup('out')"><img name="Adoptionz" src="../buttonadoptionz.gif" border="0" onLoad="" width="91" height="19"></a></td>
<td></td>
<td></td>
<td> </td>
<td></td>
<td></td>
</tr>
<tr>
<td height="20" valign="top"><a href="Amintapage.htm" onClick="MM_nbGroup('down','group1','Aminta','../buttonaminta.gif',1)" onMouseOver="MM_nbGroup('over','Aminta','../buttonaminta.gif','../buttonaminta.gif',1)" onMouseOut="MM_nbGroup('out')"><img name="Aminta" src="../buttonaminta.gif" border="0" onLoad=""></a></td>
<td></td>
<td></td>
<td></td>
<td> </td>
<td></td>
</tr>
<tr>
<td height="20" valign="top"><a href="submitpage.htm" onClick="MM_nbGroup('down','group1','Submiting','../buttonsubmit.gif',1)" onMouseOver="MM_nbGroup('over','Submiting','../buttonsubmit.gif','../buttonsubmit.gif',1)" onMouseOut="MM_nbGroup('out')"><img name="Submiting" src="../buttonsubmit.gif" border="0" onLoad=""></a></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td> </td>
</tr>
<tr>
<td height="20" valign="top"><a href="Aboutmepage.htm" onClick="MM_nbGroup('down','group1','AboutMe','../buttonaboutme.gif',1)" onMouseOver="MM_nbGroup('over','AboutMe','../buttonaboutme.gif','../buttonaboutme.gif',1)" onMouseOut="MM_nbGroup('out')"><img name="AboutMe" src="../buttonaboutme.gif" border="0" onLoad=""></a></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
</tr>
<tr>
<td height="198"></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
</tr>
<tr>
<td height="134" valign="top">
<p><a href="<A href="mailto:blaziken48@yahoo.com"><font">mailto:blaziken48@yahoo.com"><font color="#8080FF">Email
Me!</font></a></p>
<p><img src="../a-email.gif" width="96" height="96"></p>
</td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
</tr>
</table>
</td>
<td width="487" height="200" valign="top"><img src="../Ember_and_Sparks_dancing.gif" width="191" height="196"><font color="#8080FF">Yeah...
like I said, strange.....</font></td>
</tr>
<tr>
<td height="232"></td>
</tr>
</table>
</body>
</html>
Geometric-sama
November 2nd, 2004, 10:51 PM
o_O Your images need to be in a directory and the page needs to be in a subdirectory of the image directory... that's weird.
Lightning
November 3rd, 2004, 01:34 PM
Yeah... so that way, your images would have to be /you/image.jpg and your pages would have to be something like /you/something/page.html. @_@;
Geometric-sama
November 3rd, 2004, 10:45 PM
I think your page structure is just slightly stuffed up o_O. Your images should be in a subdirectory of the main folder...