xml导入图片时,jpg的可以,换成png的就不可以
时间:2011-08-29
来源:互联网
<?xml version="1.0" encoding="UTF-8"?>
<gallery>
<photo>
<filename>./img/img01.jpg</filename>
<phototitle>图片1</phototitle>
</photo>
<photo>
<filename>./img/img02.jpg</filename>
<phototitle>图片2</phototitle>
</photo>
<photo>
<filename>./img/img03.jpg</filename>
<phototitle>图片3</phototitle>
</photo>
<photo>
<filename>./img/img04.jpg</filename>
<phototitle>图片4</phototitle>
</photo>
<photo>
<filename>./img/img05.jpg</filename>
<phototitle>图片5</phototitle>
</photo>
<photo>
<filename>./img/img06.jpg</filename>
<phototitle>图片6</phototitle>
</photo>
<photo>
<filename>./img/img07.jpg</filename>
<phototitle>图片7</phototitle>
</photo>
<photo>
<filename>./img/img08.jpg</filename>
<phototitle>图片8</phototitle>
</photo>
</gallery>
以上是.xml文件的代码,我把代码中的img01.jgp等改成img01.png。并且再对应的地方,把图片也换成了img01.png等图,而且图片尺寸也和之前.jpg的图片一样,可是为什么就无法显示呢?
<gallery>
<photo>
<filename>./img/img01.jpg</filename>
<phototitle>图片1</phototitle>
</photo>
<photo>
<filename>./img/img02.jpg</filename>
<phototitle>图片2</phototitle>
</photo>
<photo>
<filename>./img/img03.jpg</filename>
<phototitle>图片3</phototitle>
</photo>
<photo>
<filename>./img/img04.jpg</filename>
<phototitle>图片4</phototitle>
</photo>
<photo>
<filename>./img/img05.jpg</filename>
<phototitle>图片5</phototitle>
</photo>
<photo>
<filename>./img/img06.jpg</filename>
<phototitle>图片6</phototitle>
</photo>
<photo>
<filename>./img/img07.jpg</filename>
<phototitle>图片7</phototitle>
</photo>
<photo>
<filename>./img/img08.jpg</filename>
<phototitle>图片8</phototitle>
</photo>
</gallery>
以上是.xml文件的代码,我把代码中的img01.jgp等改成img01.png。并且再对应的地方,把图片也换成了img01.png等图,而且图片尺寸也和之前.jpg的图片一样,可是为什么就无法显示呢?
作者: aoteman178 发布时间: 2011-08-29
//----------------------------------
如果需要继续追问,请看:
1把您出问题的文件全部放入一个文件夹,然后压缩上传。(一定要说明里面的FLA文件是哪个版本)
如果文件太大,可以分卷压缩,申明邮箱上传到里面,告诉大家登陆地址,用户名密码。也可以使用到处都有的免费网盘。
2叙述清楚,您想实现什么功能,做这个文件是想要达到什么样的效果。
3当前文件出了什么问题,为了解决这个问题,您采取了哪些方法。
当然也不是你上传了文件,就有一定会有朋友解答。这个还要看大家对你的问题是否有兴趣,有时间。
请耐心等待吧。
如果需要继续追问,请看:
1把您出问题的文件全部放入一个文件夹,然后压缩上传。(一定要说明里面的FLA文件是哪个版本)
如果文件太大,可以分卷压缩,申明邮箱上传到里面,告诉大家登陆地址,用户名密码。也可以使用到处都有的免费网盘。
2叙述清楚,您想实现什么功能,做这个文件是想要达到什么样的效果。
3当前文件出了什么问题,为了解决这个问题,您采取了哪些方法。
当然也不是你上传了文件,就有一定会有朋友解答。这个还要看大家对你的问题是否有兴趣,有时间。
请耐心等待吧。
作者: flash023 发布时间: 2011-08-29
相关阅读 更多
热门阅读
-
office 2019专业增强版最新2021版激活秘钥/序列号/激活码推荐 附激活工具
阅读:74
-
如何安装mysql8.0
阅读:31
-
Word快速设置标题样式步骤详解
阅读:28
-
20+道必知必会的Vue面试题(附答案解析)
阅读:37
-
HTML如何制作表单
阅读:22
-
百词斩可以改天数吗?当然可以,4个步骤轻松修改天数!
阅读:31
-
ET文件格式和XLS格式文件之间如何转化?
阅读:24
-
react和vue的区别及优缺点是什么
阅读:121
-
支付宝人脸识别如何关闭?
阅读:21
-
腾讯微云怎么修改照片或视频备份路径?
阅读:28