Responsive Image Switcher

توضیحات

Responsive Image Switcher is a lightweight Gutenberg block that simplifies responsive image management in WordPress. Add the block, upload a desktop image (for screens ≥768px) and a mobile-optimized image (for screens <767px), and the plugin generates clean HTML5 <picture> markup. The browser automatically loads the appropriate image based on screen width, ensuring fast load times and an optimal user experience.

Key Features:
Device-Specific Images: Show different images on desktop (≥768px) and mobile (<767px)
Lightweight Solution: Uses standard HTML5 <picture> tags without extra JavaScript
Better Performance: Optimized for Core Web Vitals by reducing unnecessary image loading
SEO Friendly: Improves mobile user experience and page speed
Simple Interface: Easy-to-use block controls in the Gutenberg editor

Why Choose Responsive Image Switcher?
With over 60% of web traffic coming from mobile devices, delivering the right image for each screen size is critical. This plugin eliminates the need for complex CSS media queries or CDN setups, making responsive images accessible to everyone.

عکس‌های صفحه

  • The block interface in Gutenberg editor showing desktop and mobile image upload options
  • Example of responsive images working on desktop and mobile devices

بلوک‌ها

این افزونه 1 بلوک ارائه می‌دهد.

  • Responsive Image Switcher Block for switching images depending on screen width.

نصب

  1. Upload the plugin ZIP via WordPress Admin (Plugins Add New Upload)
  2. Activate the plugin
  3. Find the “Responsive Image Switcher” block in Gutenberg editor

سوالات متداول

Will this work with my existing WordPress setup?

Yes! The plugin works with:

Any modern WordPress theme (block-based or classic)

Most page builders (if they support Gutenberg blocks)

WordPress 6.5+ and PHP 8.0+

Will this work with my theme?

Yes, it works with any theme that supports the Gutenberg editor.

Should I optimize my images before uploading?

Yes, for best performance we recommend optimizing your images with tools like TinyPNG or ShortPixel before uploading.

نقد و بررسی‌ها

خواندن تمامی 1 نقد و بررسی‌

توسعه دهندگان و همکاران

“Responsive Image Switcher” نرم افزار متن باز است. افراد زیر در این افزونه مشارکت کرده‌اند.

مشارکت کنندگان

“Responsive Image Switcher” به 1 زبان ترجمه شده است. با تشکر از مترجمین برای همکاری و کمک‌هایشان.

ترجمه “Responsive Image Switcher” به زبان شما.

علاقه‌ مند به توسعه هستید؟

کد را مرور کنید, را بررسی کنید مخزن SVN, یا مشترک شوید گزارش توسعه توسط RSS.

گزارش تغییرات

1.0.2

  • Improved compatibility with WordPress 6.8
  • Fixed minor styling issues in the editor

1.0.1

  • Added better error handling for image uploads
  • Improved accessibility of the block controls

1.0.0

  • Initial release