![]() |
|
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Newbie
Join Date: Nov 2006
Posts: 16
Rep Power: 0
![]() |
Dreamweaver wont preview images in browser
I have my server and everything up and have my images in the default folder like it said but they wont show up in my preview when I added them from there. The default image folder is in my local directory. Am I supposed to have these in the www server directory to in my server? Thats all I can think of. Maybe they need to be uploaded to my server?
|
|
|
|
|
|
#2 |
|
Resident Grouch
![]() ![]() ![]() ![]() ![]() ![]() Join Date: Jun 2005
Posts: 6,453
Rep Power: 10
![]() |
If I'm not mistaken, the preview is a preview of the local files (if you're talking about design view, and not actually viewing in the browser). If so, that would mean the image file would need to be in the local folder.
I don't use design view, I just use F12 (or select a browser from the menu) to preview in the browser, from the server, after uploading the file(s). Design view is not an accurate representation, anyway.
__________________
Abstraction doesn't make it impossible to write bad code; it makes it possible to write superior code. Contributor's Corner: Grumpy on C++ Exceptions DaWei on Pointers |
|
|
|
|
|
#3 |
|
Newbie
Join Date: Nov 2006
Posts: 16
Rep Power: 0
![]() |
Well I am using the f12. So then it is from the server and I would need the files on the server and not in my local dir.? So do I need them in my www server folder?
|
|
|
|
|
|
#4 |
|
Resident Grouch
![]() ![]() ![]() ![]() ![]() ![]() Join Date: Jun 2005
Posts: 6,453
Rep Power: 10
![]() |
Sure, the files have to be on the server. When you're serving a page from the server it doesn't know diddly-squat about your local files or Dreamweaver.
You need the files in a place they can be found. Your URL path to the images has to match where the files are. I usually (not always) put mine in an 'images' folder directly under www. If you can't figure this out, show some code.
__________________
Abstraction doesn't make it impossible to write bad code; it makes it possible to write superior code. Contributor's Corner: Grumpy on C++ Exceptions DaWei on Pointers |
|
|
|
![]() |
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Special browser in Java (Project) | stalefish | Java | 3 | Feb 9th, 2008 4:22 PM |
| Blank images from CreateImages with animation cells | Flint50 | Java | 0 | Apr 10th, 2006 5:35 AM |
| creating an application that stands between the browser and the serve | ronias | Visual Basic | 5 | Oct 30th, 2005 4:22 PM |
| Dreamweaver Navigation bar problems | ksm | Other Scripting Languages | 9 | Aug 19th, 2005 4:14 PM |