办到是可以办到, 7.2M 太大了, 肯定不能够先下载再处理显示, 所以 javscript 可以不用考虑了. 应该在服务器端裁剪某一需要的部分下载 (可以类似 google map 那样)这样的话你要看看你使用的 WEB 端语言有没有相关的图片处理函数 (比如 PHP 的 GD 库) 能够裁剪图片的.
解决方案 »
- 校验问题,求正则表达式,在线等!
- 求firefox下调用浏览器保存代码
- |zyciis| oReq = new XMLHttpRequest(); oReq.open("Get",pic,false); 在IE中可以在FireFox中不行 谢谢 急
- meizz(梅花雨)1.0根节点能不能不展开啊?怎样做啊?大家帮帮忙啊!
- 请教如何通过网页上的按钮判断本地某个程序所在路径并运行
- javascript面向对象特性实现连线应用,开放代码,求交流
- 如何遍历一个form里的radio组或checkbox组??
- 请教各位高人。。html?id=11 javascript能否接受到?
- 请问关于一个问题
- 被div层覆盖的iframe层如何响应键盘事件?
- 高手帮忙,关于JS文本框,谢谢
- 奇怪的滚屏问题。。。。。
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>无标题文档</title>
</head><body>
<img src="http://zi.csdn.net/468.60_3.gif" STYLE="position:absolute;top:0;left:0;
clip:rect(0px 50px 50px 0px)" />
</body>
</html>
Top, right, bottom, and left specify length values, any of which can be replaced by auto, leaving that side not clipped. The value of top specifies that everything above this value on the Y axis (with 0 at the top) is clipped. The value of right specifies that everything above this value on the X axis (with 0 at the left) is clipped. The value of bottom specifies that everything below this value on the Y axis (with 0 at the top) is clipped. The value of left specifies that everything to the left of this value on the X axis (with 0 at the left) is clipped.
r1c1.jpg, r1c2.jpg
r2c1.jpg, r2c2.jpg
Fireworks可以轻松处理这个任务。然后在程序里面根据需要调用需要的小图,辅以DIV层, css属性的overflow:hidden; left:33px; top:22px; clip:rect(3,4,5,6)等来实现。
谢谢!