Discuz! Board

 找回密碼
 立即註冊
搜索
熱搜: 活動 交友 discuz
查看: 5|回復: 0
打印 上一主題 下一主題

Other reasonable advice necessary to implement

[複製鏈接]

1

主題

0

好友

5

積分

新手上路

Rank: 1

該用戶從未簽到

跳轉到指定樓層
樓主
發表於 2023-10-17 13:34:48 |只看該作者 |倒序瀏覽
Therefore, it is worth optimizing photos and graphics on your website. How to do it right.If you want to receive notifications about my new episodes on YouTube, click! subscribe-MrOptim # Size Image size is a criterion that refers to the dimension of a given image. The dimensions of images on the Internet are given in pixels, e.g. by px. A pixel is simply a single point on a screen or surface. Basically, the images we see on our devices usually consist of hundreds or thousands of pixels. Let's assume that on the page we have an image field with dimensions of px by px.

Basically, we can insert an image of the same size in this place, but also smaller ones (the system will then stretch them to the target size), or the system will reduce larger ones. The larger the photo, the more information it contains, the photo file is heavier, and its download photo retouching from the server takes longer. The rule is that the image size should always be adequate to the size in which the photo is displayed on the target screen. The problem is that today websites are viewed on different devices. The solution here is srcset, a functionality that allows you to display different files depending on the recognized resolution.



In short, we add three different photos and the system, after recognizing the resolution, displays a smaller or larger image. Nevertheless, the principle is the same. Each of the photos that are displayed depending on the identified screen resolution should have a target size as close to the actual one as possible. # Compression On the other side of the coin, we also have DPI. DPI is a value showing the saturation of pixels per inch. In other words, we can include, for example, pixels in one inch, but we can also include of them. A greater saturation of the surface with pixels translates into the quality of the viewed photo.
回復

使用道具 舉報

您需要登錄後才可以回帖 登錄 | 立即註冊

雲端vps主機|免費論壇|Archiver|手機版|Comsenz Inc.

GMT+8, 2025-5-12 08:10 , Processed in 0.067669 second(s), 22 queries .

抗攻擊 by GameHost X2.5

© 2001-2012 Comsenz Inc.

回頂部 一粒米 | 中興米 | 論壇美工 | 設計 抗ddos | 天堂私服 | ddos | ddos | 防ddos | 防禦ddos | 防ddos主機 | 天堂美工 | 設計 防ddos主機 | 抗ddos主機 | 抗ddos | 抗ddos主機 | 抗攻擊論壇 | 天堂自動贊助 | 免費論壇 | 天堂私服 | 天堂123 | 台南清潔 | 天堂 | 天堂私服 | 免費論壇申請 | 抗ddos | 虛擬主機 | 實體主機 | vps | 網域註冊 | 抗攻擊遊戲主機 | ddos |