网页图片快速显示的方法和技巧

大红门律师服务

大红门律师服务

2016-02-19 13:23

下面是个超简单的网页图片快速显示的方法和技巧教程,图老师小编精心挑选推荐,大家行行好,多给几个赞吧,小编吐血跪求~

1. Use .gifs rather than .jpgs. GIFs are smaller in size when compared to JPGs.

1.用.gifs格式保存图片,最好不要用.jpgs格式。因为前者的尺寸比后者小。

2.Use 'Height' and 'Width' tags for your images. So while page loading certain place is left for the images and visitor can go through the content while images are loading.

2.使用高度和宽度标签设置图片。这样,网页可以为图片预留空间,在图片下载的时候,访问者可以浏览网页内容。

3.If you are using large images, slice them up and make them load as part after part. For this you can use img tags like HSPACE=0 and VSPACE=0.

(本文来源于图老师网站,更多请访问https://m.tulaoshi.com/webkaifa/)

3.如果使用内容大的图片,把图片进行分割,各个部分依次下载。在这种情况下,你可以使用HSPACE=0以及VSPACE=0的图片标签。

(本文来源于图老师网站,更多请访问https://m.tulaoshi.com/webkaifa/)

网页图片快速显示的方法和技巧_ 

Optimized image (gif format, sliced to two parts, with width and height tags, HSPACE=0  and VSPACE=0):优化后的图片(gif格式、设置了宽度和高度、HSPACE=0以及VSPACE=0)

4. Use image compression software that reduce image size. Remember, the more you reduce your image size more will be the loss of quality.

4.运用图片压缩软件,缩小图片尺寸。记住:图片尺寸越小,质量越差。你可以登入以下两个网站,获取相关的信息和软件:
http://www.spinwave.com/index.html
http://www.macromedia.com/software/fireworks/

5.If you have lot of images to display, then put them on different pages by linking the pages like 'Next Image ' or something like that instead of a long page with 10 images.

5.如果需要展示的图片数量很多,你可以使用链接网页的方式,例如:下一页,或者其它类似的内容。图片要安排在不同的网页上,不要把10张图片放在一张网页上。

6.Use same image over and over again if you need a similar image. Like if you are keeping a big header graphic on every page of your web site. Then use same graphic to link to all pages on your web site.

6.如果需要,可以反复使用一张图片。比如说,你可以在所有网页的页眉部分设置同一张大图片,利用这张图片把网站所有网页链接起来。

7.Flash presentations, mouse overs, animations etc increase page download time. So if you can use html instead of these, go with it.

7.Flash、mouse overs、动画等内容,会增加网站的下载时间,因此,最好用html代替这些内容。

展开更多 50%)
分享

猜你喜欢

网页图片快速显示的方法和技巧

Web开发
网页图片快速显示的方法和技巧

快速保存网页中所有图片的方法

Web开发
快速保存网页中所有图片的方法

s8lol主宰符文怎么配

英雄联盟 网络游戏
s8lol主宰符文怎么配

Word 2003 让图片快速显示

电脑入门
Word 2003 让图片快速显示

网页图片不能显示怎么办

计算机应用技术
网页图片不能显示怎么办

lol偷钱流符文搭配推荐

英雄联盟 网络游戏
lol偷钱流符文搭配推荐

关于网页标题的视觉设计方法和技巧

Web开发
关于网页标题的视觉设计方法和技巧

快速显示长篇Word文档中的图片

办公软件
快速显示长篇Word文档中的图片

lolAD刺客新符文搭配推荐

英雄联盟
lolAD刺客新符文搭配推荐

DB2 J2EE开发成本收益分析(一)

DB2 J2EE开发成本收益分析(一)

Effective java学习笔记8

Effective java学习笔记8
下拉加载更多内容 ↓