Changeset 946749
- Timestamp:
- 07/11/2014 07:02:41 AM (12 years ago)
- Location:
- bmo-expo/trunk
- Files:
-
- 3 edited
-
bmo_expo.php (modified) (2 diffs)
-
classes/theGallery.php (modified) (1 diff)
-
readme.txt (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
bmo-expo/trunk/bmo_expo.php
r908414 r946749 6 6 Author: Benedikt Morschheuser 7 7 Author URI: http://bmo-design.de/ 8 Version: 1.0.1 48 Version: 1.0.15 9 9 10 10 Copyright 2012-2013 by Benedikt Morschheuser (http://bmo-design.de/kontakt/) … … 33 33 //############################################################### 34 34 35 define('BMO_EXPO_VERSION','1.0.1 4');//version35 define('BMO_EXPO_VERSION','1.0.15');//version 36 36 define('BMO_EXPO_SITEBASE_URL', get_option('siteurl')); 37 37 define('BMO_EXPO_PLUGINNAME', trim(plugin_basename(dirname(__FILE__)))); -
bmo-expo/trunk/classes/theGallery.php
r828973 r946749 555 555 #$getInformation["img_abs_path"] = ABSPATH . $path ."/" . $picture->filename; 556 556 $getInformation["thumb"] = BMO_EXPO_SITEBASE_URL . "/" . $path ."/thumbs/thumbs_" . $picture->filename; 557 //metaData 558 $serialized_data = unserialize($picture->meta_data); 559 $getInformation["width"] = $serialized_data["width"]; 560 $getInformation["height"] = $serialized_data["height"]; 561 $getInformation["thumbWidth"] = $serialized_data["thumbnail"]["width"]; 562 $getInformation["thumbHeight"] = $serialized_data["thumbnail"]["height"]; 563 564 if(!empty($getInformation["width"])&&!empty($getInformation["height"])&&!empty($getInformation["thumbWidth"])&&!empty($getInformation["thumbHeight"])){ 557 //metaData 558 if(class_exists ( "C_NextGen_Metadata")){//new version 559 $meta = new C_NextGen_Metadata($picture); 560 $meta->sanitize(); 561 $serialized_data = $meta->get_common_meta(); 562 $getInformation["width"] = $serialized_data["width"]; 563 $getInformation["height"] = $serialized_data["height"]; 564 }else{ 565 566 $serialized_data = unserialize($picture->meta_data); 567 $getInformation["width"] = $serialized_data["width"]; 568 $getInformation["height"] = $serialized_data["height"]; 569 $getInformation["thumbWidth"] = $serialized_data["thumbnail"]["width"]; 570 $getInformation["thumbHeight"] = $serialized_data["thumbnail"]["height"]; 571 } 572 573 if(!empty($getInformation["width"])&&!empty($getInformation["height"])){ 565 574 $finalInformation[] = $getInformation; 566 575 } -
bmo-expo/trunk/readme.txt
r908417 r946749 92 92 93 93 = Version 1.0 = 94 * 1.0.15 Fix for the new NextGen Gallery MetaData Format 94 95 * 1.0.14 TinyMCE fix for WP 3.9 95 96 * 1.0.13 Checkbox Fix for NextGen Gallery Version
Note: See TracChangeset
for help on using the changeset viewer.