Copy link to clipboard
Copied
When creating a newsletter, for example, I use absolute links to integrate images from the web server:
<img src="https://www.myserver.com/path/to/image.jpg" />
In the live view these images are displayed correctly, but not in the design view. What could be the reason?
Many thanks for a hint!
DW has always had issues with displaying remote images for me.
Because of that, I've always worked with local copies of the images and place them within in a DW Site Definition made specifically for a given newsletter.
As a final step before transferring code to the email service, I add in the necessary bits to create absolute paths to my server held images, with DW's Find & Replace tool.
Copy link to clipboard
Copied
DW has always had issues with displaying remote images for me.
Because of that, I've always worked with local copies of the images and place them within in a DW Site Definition made specifically for a given newsletter.
As a final step before transferring code to the email service, I add in the necessary bits to create absolute paths to my server held images, with DW's Find & Replace tool.
Copy link to clipboard
Copied
Many thanks for the answer, that's what I do too, but it's quite annoying and until recently it worked without any problems...
Copy link to clipboard
Copied
here as I said on the video, I rarely use live view... but it had always worked, as you can see on the video
Copy link to clipboard
Copied
Thank you very much - in the Live View mode it also works for me, but I'm about the Design View mode.
Copy link to clipboard
Copied
Youps, sorry....
I don't remember ever seeing an image, or any link linked in HTTP, being enabled in design view. In essence, the design view does not use the HTTP protocol, which requires a form of rendering engine to be read.
Copy link to clipboard
Copied
hmmm... the last 10? years, it worked perfectly for me, the images disappeared some weeks ago and were never seen again (in design view mode)...
Maybe it's a caching thing?
Copy link to clipboard
Copied
I don't understand what cause this behavior to change... DW CS6 wasn't updtaed since long... so does it is a Windows (or MacOS) stuff ?
in fact I never paid attention to that but since I refer to shared web server as HTTP sourcing, I always had grey missing image icon in design view... I never knew that external HTTP image was rendering in design view?
Copy link to clipboard
Copied
Did that maybe coincide with going from http to https on your site?
Like I mentioned above, DW has always had issues with remotely stored images in Design View, back to at least CS4 (when I started using it, and the workflow I described).
I never really investigated it any further since the images showed correctly when using Preview in Browser or Live View. I guess I just chalked it up to Design View being as limited as it is (doesn't display advanced CSS, can't run scripts, etc).
Copy link to clipboard
Copied
I don't have any trouble with these remotely hosted placeholder images in Design view. You have to save (Ctrl + S) and refresh (F5). Or switch to Live view then back to Design view.
I'm using DW CC 2019 with this code.
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Remote Image Test</title>
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<style>
img {max-width:100%; display:block; vertical-align: baseline; margin:5% 0;}
</style>
</head>
<body>
<img src="https://dummyimage.com/500x400/13518f/ffffff&text=Custom+Text" alt="dummyimage.com">
<img src="https://placeimg.com/500/400/nature" alt="placeimg.com">
<img src="https://unsplash.it/600/400" alt="unsplash.it">
<img src="https://placehold.it/500x400" alt="placehold.it">
<img src="https://placezombie.com/500x400" alt="placezombie.com">
</body>
</html>
.
Copy link to clipboard
Copied
the OP said that DWCS6 was used, not CC2019.
anyway, DWC6 act very strange as you can see on this movie (sorry about the sound quality)
Copy link to clipboard
Copied
Right - with Dreamweaver 2019 it also works with me (more or less), with CS6 unfortunately not. I'd prefer to continue working with CS6, but now I'll probably have to change 😕
Many thanks to all of you for your support!