function fetch_image_size($data, $url, $options)
 {
     $meta = wp_get_attachment_metadata($data['image']);
     if (!is_wp_error($meta) && !empty($meta)) {
         return array('width' => $meta['width'], 'height' => $meta['height']);
     } else {
         return parent::fetch_image_size($data, $url[0], $options);
     }
 }
 function __construct($options)
 {
     $this->slug = 'posts';
     $this->name = 'Posts';
     parent::__construct($options);
 }
 function __construct($id)
 {
     parent::__construct($id);
 }