Changes between Initial Version and Version 1 of Ticket #28561
- Timestamp:
- 06/17/2014 11:13:47 AM (9 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #28561
-
Property
Component
changed from
General
toMedia
-
Property
Component
changed from
-
Ticket #28561 – Description
initial v1 1 1 Stop working after updates; 2 2 One of our staff member report to me bug: problem with images in IE11. 3 I didn't notice that in firefox or chrome because images was resize to width and height set in img tag => <img src="some image" width="300" height="180" alt.. > 3 4 I didn't notice that in firefox or chrome because images was resize to width and height set in img tag => `<img src="some image" width="300" height="180" alt.. >` 4 5 but physical size of image is different the image have 1900 pixels width and 1028 pixels height, and was weight approx 550kb, its really slow down a website when we listing wordpress posts with feature image (which is so big right now) and our case study. 5 6 … … 7 8 8 9 instead of: 9 10 {{{ 10 11 the_post_thumbnail('medium', array('class' => 'media-object')); 11 12 }}} 12 13 this: 13 14 {{{ 14 15 $get_url = wp_get_attachment_url( get_post_thumbnail_id($post->ID)); 15 16 $local_small = Stefano_Resizer($get_url,300, 170); 16 17 }}} 17 18 18 19 and in my theme functions.php: 19 20 {{{ 20 21 /RESIZE IMAGE 21 22 … … 142 143 } 143 144 } 144 145 }}} 145 146 its work and make a copy of listed images into declare folder of Stefano function. 146 147