Changeset 2044751
- Timestamp:
- 03/05/2019 06:33:44 PM (7 years ago)
- Location:
- just-responsive-images
- Files:
-
- 32 added
- 3 edited
-
tags/1.6.5 (added)
-
tags/1.6.5/components (added)
-
tags/1.6.5/components/Maintenance.php (added)
-
tags/1.6.5/components/MediaMetaInfo.php (added)
-
tags/1.6.5/components/PostAttachment.php (added)
-
tags/1.6.5/components/UploadsCleanup.php (added)
-
tags/1.6.5/core (added)
-
tags/1.6.5/core/Autoload.php (added)
-
tags/1.6.5/core/Controller.php (added)
-
tags/1.6.5/core/Singleton.php (added)
-
tags/1.6.5/core/helpers.php (added)
-
tags/1.6.5/data (added)
-
tags/1.6.5/data/config-example.php (added)
-
tags/1.6.5/data/rwd-sizes.php (added)
-
tags/1.6.5/index.php (added)
-
tags/1.6.5/just-responsive-images.php (added)
-
tags/1.6.5/just-rwd-functions.php (added)
-
tags/1.6.5/models (added)
-
tags/1.6.5/models/ImageSize.php (added)
-
tags/1.6.5/models/RwdImage.php (added)
-
tags/1.6.5/models/RwdOption.php (added)
-
tags/1.6.5/models/RwdSet.php (added)
-
tags/1.6.5/readme.md (added)
-
tags/1.6.5/readme.txt (added)
-
tags/1.6.5/screenshot-1.png (added)
-
tags/1.6.5/screenshot-2.png (added)
-
tags/1.6.5/screenshot-3.png (added)
-
tags/1.6.5/views (added)
-
tags/1.6.5/views/cleanup (added)
-
tags/1.6.5/views/cleanup/index.php (added)
-
tags/1.6.5/views/media (added)
-
tags/1.6.5/views/media/meta-box.php (added)
-
trunk/just-responsive-images.php (modified) (2 diffs)
-
trunk/models/RwdImage.php (modified) (2 diffs)
-
trunk/readme.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
just-responsive-images/trunk/just-responsive-images.php
r2019207 r2044751 5 5 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. 6 6 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 7 Version: 1.6. 47 Version: 1.6.5 8 8 Author: JustCoded / Alex Prokopenko 9 9 Author URI: http://justcoded.com/ … … 50 50 // init plugin name and version. 51 51 self::$plugin_name = __( 'Just Responsive Images', JustResponsiveImages::TEXTDOMAIN ); 52 self::$version = '1.6 40';52 self::$version = '1.650'; 53 53 54 54 // init features, which this plugin is created for. -
just-responsive-images/trunk/models/RwdImage.php
r2019207 r2044751 484 484 $retina_w = $option->size->w * $multiplier; 485 485 $retina_h = $option->size->h * $multiplier; 486 if ( $retina_w < $meta_data['width'] && $retina_h <$meta_data['height'] ) {486 if ( $retina_w <= $meta_data['width'] && $retina_h <= $meta_data['height'] ) { 487 487 $meta_data = $this->resize_image( 488 488 $attachment->ID, … … 620 620 if ( ( $meta_data['width'] > $resize_sizes['width'] && $meta_data['height'] > $resize_sizes['height'] ) 621 621 // - if crop enabled and resized image match the requested size - resize was successful. 622 || ( ! empty( $crop ) && $resize_sizes['width'] == = $width && $resize_sizes['height'] === $height )622 || ( ! empty( $crop ) && $resize_sizes['width'] == $width && $resize_sizes['height'] == $height ) 623 623 ) { 624 624 // WP Image Editor save image. -
just-responsive-images/trunk/readme.txt
r2019207 r2044751 7 7 Author URI: http://justcoded.com/ 8 8 Requires at least: 4.5 9 Tested up to: 5. 0.39 Tested up to: 5.1 10 10 Requires PHP: >=5.6 11 11 License: GPL3 … … 91 91 92 92 == Changelog == 93 = Version 1.6.4 - 25 January 2018 = 93 94 = Version 1.6.5 - 5 March 2019 = 95 * Fixed retina size, which match image original size. 96 = Version 1.6.4 - 25 January 2019 = 94 97 * Fixed always resize for retina if 2x is bigger than original image. 95 98 * Add ability to set default tag for rwd_attachment_image() with a filter.
Note: See TracChangeset
for help on using the changeset viewer.