Responsify WP

Responsify WP

Wordpress plugin

Install on Wordpress

App Details

Responsify WP is the WordPress plugin that cares about responsive images.

Features

  • Use img with srcset/sizes attributes.
  • …or the picture element.
  • Works with or without Picturefill.
  • Supports high resolution images (retina).
  • Custom media queries.
  • Handpick which image sizes to use.
  • Responsive background images.

Demo

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.

Settings

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:

  • Select which image sizes to use.
  • Set/override attributes.
  • Set custom media queries.
  • Turn on/off retina.
  • Ignore image formats.

Functions

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> 

Website

http://responsifywp.com.

Demo

http://responsifywp.com/demo.

Documentation and examples

https://github.com/stefanledin/responsify-wp.

Requirements

  • PHP 5.3

Pricing

Starting from $0 per month.

Check Out the Pricing Tables Widget

By Common Ninja

Pricing TablesTry For Free!

App Info

Rating

Reviewers

18 reviews

Tags

picture
responsive images
sizes
srcset

Developed By

stefanledin

Quick & Easy

Find the Best Wordpress plugins for you

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

Testimonial plugins for Wordpress

Galleries

Galleries plugins for Wordpress

SEO

SEO plugins for Wordpress

Contact Form

Contact Form plugins for Wordpress

Forms

Forms plugins for Wordpress

Social Feeds

Social Feeds plugins for Wordpress

Social Sharing

Social Sharing plugins for Wordpress

Events Calendar

Events Calendar plugins for Wordpress

Sliders

Sliders plugins for Wordpress

Analytics

Analytics plugins for Wordpress

Reviews

Reviews plugins for Wordpress

Comments

Comments plugins for Wordpress

Portfolio

Portfolio plugins for Wordpress

Maps

Maps plugins for Wordpress

Security

Security plugins for Wordpress

Translation

Translation plugins for Wordpress

Ads

Ads plugins for Wordpress

Video Player

Video Player plugins for Wordpress

Music Player

Music Player plugins for Wordpress

Backup

Backup plugins for Wordpress

Privacy

Privacy plugins for Wordpress

Optimize

Optimize plugins for Wordpress

Chat

Chat plugins for Wordpress

Countdown

Countdown plugins for Wordpress

Email Marketing

Email Marketing plugins for Wordpress

Tabs

Tabs plugins for Wordpress

Membership

Membership plugins for Wordpress

popup

popup plugins for Wordpress

SiteMap

SiteMap plugins for Wordpress

Payment

Payment plugins for Wordpress

Coming Soon

Coming Soon plugins for Wordpress

Ecommerce

Ecommerce plugins for Wordpress

Customer Support

Customer Support plugins for Wordpress

Inventory

Inventory plugins for Wordpress

Video Player

Video Player plugins for Wordpress

Testimonials

Testimonials plugins for Wordpress

Tabs

Tabs plugins for Wordpress

Social Sharing

Social Sharing plugins for Wordpress

Social Feeds

Social Feeds plugins for Wordpress

Slider

Slider plugins for Wordpress

Reviews

Reviews plugins for Wordpress

Portfolio

Portfolio plugins for Wordpress

Membership

Membership plugins for Wordpress

Forms

Forms plugins for Wordpress

Events Calendar

Events Calendar plugins for Wordpress

Contact

Contact plugins for Wordpress

Comments

Comments plugins for Wordpress

Analytics

Analytics plugins for Wordpress

Common Ninja Apps

Some of the best Common Ninja plugins for Wordpress

Browse our extensive collection of compatible plugins, and easily embed them on any website, blog, online store, e-commerce platform, or site builder.

Pricing Tables for Wordpress logo

Pricing Tables

Add pricing tables to your site to present plans clearly, help visitors compare features, and guide them toward faster and more confident conversions.

Quotes Carousel for Wordpress logo

Quotes Carousel

Show inspiring quotes with a quotes carousel that rotates messages, enhances design, and keeps visitors engaged.

Etsy Reviews for Wordpress logo

Etsy Reviews

Show Etsy reviews to build trust, strengthen credibility, and help visitors make confident purchase decisions that support higher sales.

Lottie Player for Wordpress logo

Lottie Player

Use a Lottie player to embed lightweight JSON animations that improve visual design, keep pages fast, and create a smoother user experience.

Device Mockup for Wordpress logo

Device Mockup

Show products, apps, or designs inside a clean device mockup that improves visualization, builds credibility, and helps visitors make confident decisions.

Google Reviews for Wordpress logo

Google Reviews

Show verified customer feedback with Google Reviews to build trust, strengthen credibility, and help visitors make confident purchase decisions.

Vimeo Carousel for Wordpress logo

Vimeo Carousel

Show Vimeo videos with a Vimeo carousel that displays clips in a smooth, flexible layout to boost visibility and engagement.

Image Hotspot for Wordpress logo

Image Hotspot

Add interactive image hotspots to your site to turn static visuals into clickable guided experiences that improve engagement.

Cookies Consent Bar for Wordpress logo

Cookies Consent Bar

Display a cookies consent bar that explains usage and supports GDPR compliance, enhancing user trust and legal clarity.

Social Proof Avatars for Wordpress logo

Social Proof Avatars

Display social proof avatars that show user activity and ratings, build trust instantly, and help visitors feel confident about your credibility.

Flash Cards for Wordpress logo

Flash Cards

Create interactive flash cards that present questions and answers in a clear, customizable format to support learning, training, and user engagement.

RSS Feed Carousel for Wordpress logo

RSS Feed Carousel

Show RSS content with an RSS feed carousel that updates automatically, displays posts in a smooth scrolling layout, and keeps visitors engaged.

More plugins

plugins You Might Like

Discover Apps By Platform

Discover the best apps for your website

WordPress
Wix
Shopify
Weebly
Webflow
Joomla
PrestaShop
Shift4Shop
WebsiteX5
MODX
Opencart
NopCommerce

Common Ninja Search Engine

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!

Multiple platforms