Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@volcengine/imagex-react

Package Overview
Dependencies
Maintainers
23
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@volcengine/imagex-react

veImageX image viewer for React

  • 2.1.1
  • latest
  • npm
  • Socket score

Version published
Maintainers
23
Created
Source

@volcengine/imagex-react

基于火山引擎 veImageX 图片服务 的图片加载组件,旨在优化 Web 站点的图片资源,其核心能力有:图片格式自适应、分辨率自适应、图片懒加载、图片占位、错误兜底、稳定性布局。

  • 图片格式自适应:通过配置自适应图像格式列表,探测浏览器对图像格式的支持性,自动选择最优格式进行渲染。
  • 分辨率自适应:支持根据屏幕像素比和图片所在容器大小自动适配图片分辨率,分辨率按原图比例缩放。
  • 图片懒加载:图片延迟加载,只有当图片出现在视口范围内时,再获取图片资源进行渲染。
  • 图片占位:在图片加载完成前显示占位图,避免页面抖动,保持渲染流畅性。
  • 错误兜底:支持自定义图片加载错误时的占位图及描述信息。
  • 稳定性布局:内置 5 种布局,您可根据实际业务灵活配置。

接入指南

请参考接入文档

Keywords

FAQs

Package last updated on 04 Dec 2023

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc