Skip to content

Commit

Permalink
Dummy images feature versioning
Browse files Browse the repository at this point in the history
  • Loading branch information
aprokopenko committed Jun 27, 2018
1 parent 3b45a75 commit f236953
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 3 deletions.
4 changes: 2 additions & 2 deletions just-responsive-images.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
Plugin Name: Just Responsive Images
Description: Providing full control to set your own responsive image properties for WordPress 4.4+, the ability to use the <picture> tag, auto-generate image backgrounds and supports retina images.
Tags: responsive post thumbnail, post thumbnail as background, retina support, retina image, retina post thumbnail, responsive post attachment, responsive images, responsive attachments, post thumbnails, media
Version: 1.5.1
Version: 1.6.0
Author: JustCoded / Alex Prokopenko
Author URI: http://justcoded.com/
License: GPL3
Expand Down Expand Up @@ -49,7 +49,7 @@ class JustResponsiveImages extends core\Singleton {
protected function __construct() {
// init plugin name and version.
self::$plugin_name = __( 'Just Responsive Images', JustResponsiveImages::TEXTDOMAIN );
self::$version = '1.501';
self::$version = '1.600';

// init features, which this plugin is created for.
new components\Maintenance();
Expand Down
12 changes: 11 additions & 1 deletion readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ Tags: responsive post thumbnail, post thumbnail as background, retina support, r
Author: JustCoded / Alex Prokopenko
Author URI: http://justcoded.com/
Requires at least: 4.5
Tested up to: 4.9.4
Tested up to: 4.9.6
Requires PHP: >=5.6
License: GPL3
Stable tag: trunk
Expand Down Expand Up @@ -40,6 +40,14 @@ Our plugin resize images ONLY when you open the page with an image, printed with
In version 1.2 default RWD set background options updated to mobile-first strategy (from desktop-first).
If you use nested rules from RWD set you should update your main size background option to have @media query with `min-width` rule.

= DEV Mode =

In DEV mode plugin does not resize any images and simply use placeholder images. This can be used to reduce disk space, while you develop and configure our plugin to match all required screen sizes.

To enable it you need to define new constant in your wp-config.php file:

`define( 'JRI_DUMMY_IMAGE', true );`

== Installation ==

1. Download, unzip and upload to your WordPress plugins directory
Expand Down Expand Up @@ -82,6 +90,8 @@ There are no any special upgrade instructions for version 1.0 - 1.3
To upgrade remove the old plugin folder. After than follow the installation steps 1-2.

== Changelog ==
= Version 1.6.0 - 27 June 2018 =
* Dev mode with placeholder images instead of real images in case correct sizes are missing.
= Version 1.5.1 - 3 April 2018 =
* Added compatibility with Crop Images plugin
* Fix main editor content responsive images (it was broken after some WP update)
Expand Down

0 comments on commit f236953

Please sign in to comment.