Programming Forums
User Name Password Register
 

RSS Feed
FORUM INDEX | TODAY'S POSTS | UNANSWERED THREADS | ADVANCED SEARCH

Reply
 
Thread Tools Display Modes
Old Nov 24th, 2006, 9:10 PM   #1
jman05
Newbie
 
Join Date: Nov 2006
Posts: 16
Rep Power: 0 jman05 is on a distinguished road
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?
jman05 is offline   Reply With Quote
Old Nov 24th, 2006, 9:51 PM   #2
DaWei
Resident Grouch
 
DaWei's Avatar
 
Join Date: Jun 2005
Posts: 6,453
Rep Power: 10 DaWei is on a distinguished road
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
DaWei is offline   Reply With Quote
Old Nov 24th, 2006, 10:07 PM   #3
jman05
Newbie
 
Join Date: Nov 2006
Posts: 16
Rep Power: 0 jman05 is on a distinguished road
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?
jman05 is offline   Reply With Quote
Old Nov 24th, 2006, 10:14 PM   #4
DaWei
Resident Grouch
 
DaWei's Avatar
 
Join Date: Jun 2005
Posts: 6,453
Rep Power: 10 DaWei is on a distinguished road
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
DaWei is offline   Reply With Quote
Reply

Bookmarks

« Previous Thread in Forum | Next Thread in Forum »

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

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




DaniWeb IT Discussion Community
All times are GMT -5. The time now is 3:32 AM.

Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC