
Responsify WP is the WordPress plugin that cares about responsive images.
Responsify WP finds featured images and all images inside the content and makes them responsive.
For example, you might have a template that looks like this:
<article> <h1><?php the_title();?></h1> <?php the_content();?> </article>
That will output something like this:
<article> <h1>Hello world</h1> <p>Lorem ipsum dolor sit amet...</p> <img src="large.jpg" alt="Image description"> </article>
But once you have activated the plugin, it will look like this instead:
<article> <h1>Hello world</h1> <p>Lorem ipsum dolor sit amet...</p> <img sizes="(min-width: 300px) 1024px, (min-width: 150x) 300px, 150px" srcset="thumbnail.jpg 150w, medium.jpg 300w, large.jpg 1024w" alt="Image description"> </article>
You can also choose to use the picture element instead:
<article> <h1>Hello world</h1> <p>Lorem ipsum dolor sit amet...</p> <picture> <source srcset="full-size.jpg" media="(min-width: 1024px)"> <source srcset="large.jpg" media="(min-width: 300px)"> <source srcset="medium.jpg" media="(min-width: 150px)"> <img srcset="thumbnail.jpg" alt="Image description"> </picture> </article>
It also works with high resolution (retina) images:
<article> <h1>Hello world</h1> <p>Lorem ipsum dolor sit amet...</p> <picture> <source srcset="full-size.jpg" media="(min-width: 1024px)"> <source srcset="large.jpg, large_retina.jpg 2x" media="(min-width: 300px)"> <source srcset="medium.jpg, medium_retina.jpg 2x" media="(min-width: 150px)"> <img srcset="thumbnail.jpg, thumbnail_retina.jpg 2x" alt="Image description"> </picture> </article>
The different versions of the image in the examples above is in the standard thumbnail, medium, large and full sizes.
The media queries are based on the width of the “previous” image.
Any custom sizes of the image will also be found and used.
You can select which image sizes that the plugin should use from the RWP settings page.
These settings can be overwritten from your templates.
<?php // Using get_posts() $posts = get_posts( array( 'post_type' => 'portfolio', 'rwp_settings' => array( 'sizes' => array('large', 'full') ) ) ); foreach( $posts as $post ) { // ... } // Using WP_Query() $query = new WP_Query( array( 'category_name' => 'wordpress', 'rwp_settings' => array( 'sizes' => array('large', 'full') ) ) ); if ( $query->have_posts() ) { // ... } ?> Available settings:
RWP provides a number of functions that can generate responsive images in your templates.
Let’s say that you have the following markup for a very large header image:
<header> <?php the_post_thumbnail( 'full' ); ?> </header>
As you probably know, the_post_thumbnail() will create a regular <img> tag with the full-size image in this case.
But you don’t want to send a big 1440px image to a mobile device. This can easily be solved like this:
<header> <?php $thumbnail_id = get_post_thumbnail_id( $post->ID ); // Generate an <img> tag with srcset/sizes attributes. echo rwp_img( $thumbnail_id ); // Generate a <picture> element echo rwp_picture( $thumbnail_id ); ?> </header>
https://github.com/stefanledin/responsify-wp.
Starting from $0 per month.
Rating
Reviewers
18 reviews
Tags
Developed By
stefanledin
Quick & Easy
Common Ninja has a large selection of powerful Wordpress plugins that are easy to use, fully customizable, mobile-friendly and rich with features — so be sure to check them out!
Testimonial plugins for Wordpress
Galleries plugins for Wordpress
SEO plugins for Wordpress
Contact Form plugins for Wordpress
Forms plugins for Wordpress
Social Feeds plugins for Wordpress
Social Sharing plugins for Wordpress
Events Calendar plugins for Wordpress
Sliders plugins for Wordpress
Analytics plugins for Wordpress
Reviews plugins for Wordpress
Comments plugins for Wordpress
Portfolio plugins for Wordpress
Maps plugins for Wordpress
Security plugins for Wordpress
Translation plugins for Wordpress
Ads plugins for Wordpress
Video Player plugins for Wordpress
Music Player plugins for Wordpress
Backup plugins for Wordpress
Privacy plugins for Wordpress
Optimize plugins for Wordpress
Chat plugins for Wordpress
Countdown plugins for Wordpress
Email Marketing plugins for Wordpress
Tabs plugins for Wordpress
Membership plugins for Wordpress
popup plugins for Wordpress
SiteMap plugins for Wordpress
Payment plugins for Wordpress
Coming Soon plugins for Wordpress
Ecommerce plugins for Wordpress
Customer Support plugins for Wordpress
Inventory plugins for Wordpress
Video Player plugins for Wordpress
Testimonials plugins for Wordpress
Tabs plugins for Wordpress
Social Sharing plugins for Wordpress
Social Feeds plugins for Wordpress
Slider plugins for Wordpress
Reviews plugins for Wordpress
Portfolio plugins for Wordpress
Membership plugins for Wordpress
Forms plugins for Wordpress
Events Calendar plugins for Wordpress
Contact plugins for Wordpress
Comments plugins for Wordpress
Analytics plugins for Wordpress
Common Ninja Apps
Browse our extensive collection of compatible plugins, and easily embed them on any website, blog, online store, e-commerce platform, or site builder.
Present your team with a structured team member list that builds trust, supports credibility, and helps visitors connect with the people behind your brand.
Present images in a Slideshow carousel that rotates or slides through visuals, helping you highlight key content within a clean, engaging layout.
Verify visitor age with an age verification popup that helps you meet legal requirements, protect your business, and ensure responsible access.
Create custom forms with a form builder that offers advanced field types, easy layout control, and flexible options for any purpose.
Add an Instagram slider to your site to display social posts dynamically and keep your visual content engaging and current.
Add a translation widget to your site so users can switch languages easily and access content in their preferred language.
Add a no-code audio player to your site and boost engagement with music, podcasts, and voice content effortlessly.
Transform PDFs into interactive flipbooks with a PDF flipbook widget that improves reading and keeps visitors engaged.
Create custom calculators that let visitors enter values, get results, and make confident choices that support your business.

Add floating corner pop-ups to share updates, promotions, or messages in a non-intrusive, customizable format.
Bracket generator for creating interactive tournaments that organize matchups, track progress, and deliver a clear and engaging competition experience.
Show your latest TikTok videos in a live feed that keeps content fresh, builds social proof, and keeps visitors engaged.
More plugins
The Common Ninja Search Engine platform helps website builders find the best site widgets, apps, plugins, tools, add-ons, and extensions! Compatible with all major website building platforms - big or small - and updated regularly, our Search Engine tool provides you with the business tools your site needs!
