I just finished creating a site in dreamweaver but one problem. Whenever i move the file some of the photos and content disappears. Then when i move it back to the original place all the content comes back. So my question is how do I make the file created in dreamweaver into an HTML document that has all the content embeded in it ? Thanks in advance
Anything pointing to an external file has to point to where that file is on the server. IOW, if your images are in the directory /images, an img tag has to be <img src=".images/yourfile.jpg" /> Dreamweaver will do this for you if you maintain the same directory structure on your development computer and on the server. If you move files, you have to change paths manually.
You CAN NOT have a single file with HTML and pictures. HTML is a text file, pictures are picture files. (You can have all your Javascript and CSS in the HTML file - which is a bad idea for a number of reasons.) Your best bet is to trash Dreamweaver (it’s a $400 piece of bloatware that professionals laugh at amateurs for buying) and learn how to write websites, since you’re going to have to be doing some of the work anyway.
August 18th, 2010 at 4:30 pm
Create an images folder and put copies of all images into that folder?
If your DW folder is in My Documents and you are using images from My Pictures, when you FTP they will not upload.
Other than that, Im really not sure what you mean. Sorry.
References :
August 18th, 2010 at 4:51 pm
check your img src html embedding code make sure your images are organized in an images folder
"images/picture.png" RIGHT
"C:/documents/users/desktop/picture.png" WRONG way to embed your images
is it uploaded on the web already?
URL ?
http://wordpress-helper.com
References :
August 18th, 2010 at 5:18 pm
Anything pointing to an external file has to point to where that file is on the server. IOW, if your images are in the directory /images, an img tag has to be <img src=".images/yourfile.jpg" /> Dreamweaver will do this for you if you maintain the same directory structure on your development computer and on the server. If you move files, you have to change paths manually.
You CAN NOT have a single file with HTML and pictures. HTML is a text file, pictures are picture files. (You can have all your Javascript and CSS in the HTML file - which is a bad idea for a number of reasons.) Your best bet is to trash Dreamweaver (it’s a $400 piece of bloatware that professionals laugh at amateurs for buying) and learn how to write websites, since you’re going to have to be doing some of the work anyway.
References :
August 18th, 2010 at 5:35 pm
I think some files are hidden. go to folder options and enable viewing hidden files.
second, I understand what you mean by attached. and no I’m afraid not. If you upload your images to an image hosting website you can use that instead of having the images in your folder so you only have the .html file or the css file if you have on .
References :
http://www.imageshack.us/
http://www.photobucket.com/
August 18th, 2010 at 6:24 pm
hmm… i had these issues all the time when i started using dreamweaver. heres some things i found that helped.
1. check your code; make sure there is no clashing. also make sure your links to the images/content are all consistent. ( this was an issue i had when i was learning) if you have 1 picture in a folder and another on your desktop, thats going to be an issue when you want to move things around. this leads me to 2.
2. Be EXTREMELY organized; this is where i tell people, "if you have OCD, you would be good in this industry, it may time time consuming at first but it pays off in the long run. MAKE SURE you files are organize, have an "imgs" folder (this is a must)
ex.
create a folder:
folder name- MYWEBSITE
(This is where you should store your sub folders and your index page)
create sub folders:
i like to be organized so i even have a folder that stores all my pages
sub folder1: "images"
sub folder2: "pages"
""
""
so on and so on, if you have css, php or javascript i would create sub folders for that too.
OK so now you got all that, let me ask some questions to get a better understanding what your going through.
1. why would you need to move the files anyway? once the website is created all you have to do is upload it through a host to the internet, by these means you would use FTP, which should’nt effect the images or content unless you misplaced these items.
2. are any of your images being linked directly from the internet, like from photobucket or fliker?
ex.
<a href="www.photobucket.com/img1.jpg> </a>
or
<a href="img1.jpg/folder1"> </a>
References :