Changeset 839546
- Timestamp:
- 01/16/2014 09:25:47 AM (12 years ago)
- Location:
- image-pro-wordpress-image-media-management-and-resizing-done-right/trunk
- Files:
-
- 4 edited
-
imagepro.php (modified) (1 diff)
-
readme.txt (modified) (4 diffs)
-
src/js/editor.js (modified) (4 diffs)
-
src/requirements.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
image-pro-wordpress-image-media-management-and-resizing-done-right/trunk/imagepro.php
r830558 r839546 5 5 Description: WordPress media & images management done right! 6 6 Author: Mihai Valentin 7 Version: 0.2 67 Version: 0.27 8 8 Author URI: http://www.mihaivalentin.com/ 9 9 */ -
image-pro-wordpress-image-media-management-and-resizing-done-right/trunk/readme.txt
r830558 r839546 5 5 Requires at least: 3.0.0 6 6 Tested up to: 3.8 7 Stable tag: 0.2 67 Stable tag: 0.27 8 8 9 9 Upload, resize, add, change images instantly. Manage your media collection with ease and use it for any post or page. A new way of managing content! … … 11 11 == Description == 12 12 13 First thing first: A video is worth 1000 words. Check out (2 minutes):13 Check out the 2 minute video presentation of this plugin: 14 14 http://www.mihaivalentin.com/image-pro-wordpress-image-management/ 15 15 16 Goal of this plugin: Simplify the WordPress upload and image insert process as much as possible.16 Image Pro simplifies the WordPress image upload, resize and management. 17 17 18 18 Using ImagePro, you can: … … 32 32 - Apache 2.2.1.4 33 33 - WordPress 3.2.1 (should work on any WordPress >= 3.0) 34 - Firefox >= 5 or Chrome >= 20 34 - Firefox >= 5 or Chrome >= 20 or Internet Explorer >= 10 35 35 36 36 Installation steps: … … 63 63 64 64 == Changelog == 65 66 = 0.27 = 67 * Image Pro is now compatible with Internet Explorer 10 and Internet Explorer 11 as well. Also, when dragging an image from the "Available images" to the post editor, the "Selected image" options panel is automatically expanded in the right 65 68 66 69 = 0.26 = -
image-pro-wordpress-image-media-management-and-resizing-done-right/trunk/src/js/editor.js
r829869 r839546 1 1 /* Folder namespace */ 2 2 impro.editor = {}; 3 4 impro.editor.minie10 = navigator.userAgent.indexOf('MSIE 10') > 0 || (navigator.userAgent.indexOf('Trident') > 0 && /rv:[0-9][0-9]/.test(navigator.userAgent)); 3 5 4 6 /* init the editor support */ … … 98 100 jQuery(this).attr('width', thumb_w).attr('data-mce-width', thumb_w).attr('_mce_width', thumb_w).width(thumb_w); 99 101 jQuery(this).attr('height', thumb_h).attr('data-mce-height', thumb_h).attr('_mce_height', thumb_h).height(thumb_h); 100 } 102 103 /* open the editor, for the last one 104 in theory, it should be JUST one, but if the user is fast enough 105 to drag more, we should only open the editor for one, in order 106 not to slow down the UI 107 we open the editor by simulating a mouseup on the image */ 108 if (thumbs.length - 1 === i) { 109 var outerThis = this; 110 setTimeout(function() { 111 jQuery(outerThis).trigger(impro.editor.minie10 ? 'mousedown' : 'click'); 112 }, 100); 113 } 114 } 101 115 }); 102 116 } … … 104 118 105 119 /* set the click event on body, then limit by images */ 106 body.bind( 'click', function(ev) {120 body.bind(impro.editor.minie10 ? 'mousedown' : 'click', function(ev) { 107 121 var target = jQuery(ev.target); 108 122 /* only process image clicks */ … … 111 125 } else { 112 126 jQuery('#impro_editor_box').addClass('closed'); 113 } 127 } 114 128 return true; 115 129 }); -
image-pro-wordpress-image-media-management-and-resizing-done-right/trunk/src/requirements.php
r593515 r839546 12 12 public static function isBrowserSupported() { 13 13 $ua = $_SERVER['HTTP_USER_AGENT']; 14 14 15 // check for Firefox and Webkit (Chrome, Safari etc) 15 16 $compatible = stripos($ua, "firefox") > 0 || stripos($ua, "webkit") > 0; 17 18 // if not compatible then check for IE >= 10 19 if (!$compatible) { 20 // if it is ie 10 21 if (stripos($ua, "msie 10") > 0) { 22 $compatible = true; 23 } 24 // if it is >= ie 11, where the user agent string has changed 25 // http://msdn.microsoft.com/library/ms537503.aspx 26 if (stripos($ua, "trident") > 0 && preg_match('/rv:[0-9][0-9]/i', $ua)) { 27 $compatible = true; 28 } 29 } 16 30 17 31 return $compatible;
Note: See TracChangeset
for help on using the changeset viewer.