图片加载缓慢 [英] pictures loading slowly

查看:111
本文介绍了图片加载缓慢的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

hai每个人,

我主持了一个以图片为内容的网站。但是当我使用浏览器打开时,它的图片加载速度很慢。有什么方法可以加快图片的加载速度。请帮我。上帝保佑你

hai Everybody,
I hosted a website with pictures as its contents.but when i opened using browser,its pictures are loading very slowly.Is there any way to speed up loading of the pictures.please help me. god bless you

推荐答案

是的。使用较小的图片,无论是物理的还是通过更改文件格式(例如,重新保存jpg通常会使其变小,无论如何bmp都很大)。或者获得更快的互联网连接。



而且,如果您要用HTML调整图像大小,那么请创建相应尺寸的图像。我见过人们使用HTML来显示完整图像的缩略图。如果您这样做,您的浏览器正在下载一个巨大的图像并调整其大小。那很糟糕。
Yes. Use smaller pictures, either physically, or by changing the file format ( for example, resaving a jpg will often make it smaller, a bmp is huge no matter what ). Or get a faster internet connection.

And, if you're resizing your images in HTML, then create images the size you show them instead. I've seen people use HTML to show a thumbnail of a full image. Your browser is downloading a huge image and resizing it if you do that. That is bad.


是的,你可以做到。上传时调整图像大小,然后保存。请参阅链接:

如何使用asp.net降低图像文件大小而不会降低质量 [ ^ ]

如何在ASP.Net/C#中创建缩略图图像或调整大小在ASP.Net/C#上传之前的图像 [ ^ ]

调整ASP.NET中的图像大小 [ ^ ]

使用c#在asp.net上传时调整图像大小? ^ ]







- Amit
Yes, you can do it. Resize your image while uploading, then save it. Refer the links:
How to reduce image file size without losing quality using asp.net[^]
How to create thumbnail image in ASP.Net/C# OR resize the image before upload in ASP.Net/C#[^]
Resize image in ASP.NET[^]
Resize image while uploading in asp.net using c#?[^]



--Amit


这篇关于图片加载缓慢的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆