问题描述
我目前正在使用Dreamweaver进行有关网页设计的项目。因此,我已经设置了我的网站和 home.html
。我还在项目根目录的 images
文件夹中添加了必要的图像。
I am currently working on a project on web designing using Dreamweaver. So I have set up my site and home.html
. I've also added the necessary images in an images
folder in the project root.
这是问题所在:什么时候我从资产面板拖动图像并将其放入设计中,图像没有显示,但是我看到其中有一个灰色框和一个图标。现在,当我看到实时视图时,我可以看到图像。
Here’s the problem: when I drag the image from my assets panel and put it in design, the image doesn't show up, but I see a grey box and an icon in it. Now when I see the live view, I can see the image.
如何在设计视图中看到图像,以便按比例调整其大小?
How can I see the image in design view, so as to adjust its size proportionately?
这是我的代码:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>home</title>
</head>
<body>
<img src="images/webDes.jpg" alt="" width="280" height="226" longdesc="images/webDes.jpg" />
</body>
</html>
推荐答案
好的,我遇到了问题。该图像是用Illustrator制作的,当我以.JPEG格式导出图像时,我选择了CMYK。那是错误的举动,我后来又导出了,但是选择了RGB并且奏效!
ok ,I got the problem . the image was made in illustrator, and when I exported it in .JPEG format , I chose CMYK. that was the wrong move , I Later exported again , but chose RGB and it worked !
这篇关于图像未在Dreamweaver设计中显示,但实时显示的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!