Responsive images
-
Thank you for your great plugin.
Please, make this two small changes on your code:
1.- image-rss.php, line 312:
$rif_image_size = (!isset(self::$options['responsive']) || !self::$options['responsive']) ? '" width="'.$rif_width.'"'.$rif_height : '" style="width: 100%; max-width: '.$rif_width.'px; height: auto;"';
2.- /class-lib/RIF_AdminClass.php, lines from 232 to 234:
if($newinput['image_size'] > 9999) : add_settings_error('rss_options', 'too-large-image-size', __('Imagesize too large. Please choose a value smaller than 10000.', 'rss-image-feed'), 'error');
First fix prevents warning errors, like Jason post in your blog, and add
with: 100%
to get better responsive images.Second fix allow images more bigger than 1000px. If you use images with 1920px width, like us, now you can do it ??
Kind regards.
Viewing 9 replies - 1 through 9 (of 9 total)
Viewing 9 replies - 1 through 9 (of 9 total)
- The topic ‘Responsive images’ is closed to new replies.