Skip to main content
Known Participant
March 10, 2022
Question

Images hosted in a specific server not showing in design view in DW 21.2

  • March 10, 2022
  • 2 replies
  • 3552 views

We started using an AWS server to host our images. It is accessible from anywhere, not limited to our network. But DW doesn't show the hosted images in Design View. It shows them in Live View. No other server ever had this problem with DW. How to fix that? I tried deleting DW's cache, but it did nothing.

This topic has been closed for replies.

2 replies

Jon Fritz
Community Expert
Community Expert
March 11, 2022

For me, DW has literally always done this when working with served images. It seems totally random in my case, even having instances where one image on the server works and another (same image type, from the same graphics program, on the same server) doesn't.

Because of it, I have adopted a workflow where...

1. I use a Defined Site, minus any FTP info, for all html emails I produce. Each in their own company-name folder within the defined site
2. I use local copies of images in each individual company folder, until I'm ready to move the code to the email service
3. At that point, I do a quick Find & Replace to add in the front half of the absolute URL references to the images and test in a browser
4. If everything looks as expected, I copy the code to the email service

I know it's just a workaround, but it's a minimally invasive one for me.

Known Participant
March 11, 2022

I'm glad you found a solution that works for you, but in my case the new AWS server is the only place in 8 years working here that gave me this problem, it started around two weeks ago, when we began using it fresh after being setup. I think it's a DW cache issue that would benefit lots of people if resolved.

Nancy OShea
Community Expert
Community Expert
March 11, 2022

A shot in the dark.  See screenshot.

 

 

Nancy O'Shea— Product User & Community Expert
Community Expert
March 10, 2022

What code is serving up the images? Design view shouldn't be used as an accurate representation of your page, but rather a rough estimation without scripting or dynamic elements. The fact that your images are not showing leads me to believe that they are being served up dynamically and thus the Design View cannot render them.

Known Participant
March 10, 2022

It's email coding, Ben, and I've been doing this for a long time, so it's not a path issue or a primary error. No scripts or dynamic elements involved. It's the first time I see it single out a path -- if I replace the hosted image with a path to an image hosted on another server, it works normally. If I use the local image, it also works normally. If I preview the html on a browser, it shows the images. That's the reason why I think it's a cache problem, although rebuilding it didn't fix the problem. It's like DW blacklisted our new server, because even paths to different folders on it show as broken.  

Nancy OShea
Community Expert
Community Expert
March 10, 2022

Try this code in a new document. 

Can you see the image?

 

<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Image test</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
</head>

<body>
<img src="https://dummyimage.com/425x200" alt="placeholder">
</body>
</html>

 

 

Nancy O'Shea— Product User & Community Expert