"3.0"); } /** * Implements hook_image_default_styles(). */ function wunderkind_features_image_default_styles() { $styles = array(); // Exported image style: client_200_100. $styles['client_200_100'] = array( 'name' => 'client_200_100', 'label' => 'Client (200x100)', 'effects' => array( 3 => array( 'label' => 'Scale and crop', 'help' => 'Scale and crop will maintain the aspect-ratio of the original image, then crop the larger dimension. This is most useful for creating perfectly square thumbnails without stretching the image.', 'effect callback' => 'retina_images_image_scale_and_crop_effect', 'dimensions callback' => 'image_resize_dimensions', 'form callback' => 'retina_images_image_resize_form', 'summary theme' => 'retina_images_image_resize_summary', 'module' => 'image', 'name' => 'image_scale_and_crop', 'data' => array( 'width' => 200, 'height' => 100, 'retinafy' => 1, ), 'weight' => 1, ), ), ); // Exported image style: people_650_500. $styles['people_650_500'] = array( 'name' => 'people_650_500', 'label' => 'People (650x500)', 'effects' => array( 1 => array( 'label' => 'Scale and crop', 'help' => 'Scale and crop will maintain the aspect-ratio of the original image, then crop the larger dimension. This is most useful for creating perfectly square thumbnails without stretching the image.', 'effect callback' => 'retina_images_image_scale_and_crop_effect', 'dimensions callback' => 'image_resize_dimensions', 'form callback' => 'retina_images_image_resize_form', 'summary theme' => 'retina_images_image_resize_summary', 'module' => 'image', 'name' => 'image_scale_and_crop', 'data' => array( 'width' => 650, 'height' => 500, 'retinafy' => 1, ), 'weight' => 1, ), ), ); // Exported image style: project_1140_591. $styles['project_1140_591'] = array( 'name' => 'project_1140_591', 'label' => 'Project (1140x591)', 'effects' => array( 5 => array( 'label' => 'Scale and crop', 'help' => 'Scale and crop will maintain the aspect-ratio of the original image, then crop the larger dimension. This is most useful for creating perfectly square thumbnails without stretching the image.', 'effect callback' => 'retina_images_image_scale_and_crop_effect', 'dimensions callback' => 'image_resize_dimensions', 'form callback' => 'retina_images_image_resize_form', 'summary theme' => 'retina_images_image_resize_summary', 'module' => 'image', 'name' => 'image_scale_and_crop', 'data' => array( 'width' => 1140, 'height' => 591, 'retinafy' => 1, ), 'weight' => 1, ), ), ); // Exported image style: project_660_495. $styles['project_660_495'] = array( 'name' => 'project_660_495', 'label' => 'Project (660x495)', 'effects' => array( 2 => array( 'label' => 'Scale and crop', 'help' => 'Scale and crop will maintain the aspect-ratio of the original image, then crop the larger dimension. This is most useful for creating perfectly square thumbnails without stretching the image.', 'effect callback' => 'retina_images_image_scale_and_crop_effect', 'dimensions callback' => 'image_resize_dimensions', 'form callback' => 'retina_images_image_resize_form', 'summary theme' => 'retina_images_image_resize_summary', 'module' => 'image', 'name' => 'image_scale_and_crop', 'data' => array( 'width' => 660, 'height' => 495, 'retinafy' => 1, ), 'weight' => 1, ), ), ); // Exported image style: project_760_394. $styles['project_760_394'] = array( 'name' => 'project_760_394', 'label' => 'Project (760x394)', 'effects' => array( 4 => array( 'label' => 'Scale and crop', 'help' => 'Scale and crop will maintain the aspect-ratio of the original image, then crop the larger dimension. This is most useful for creating perfectly square thumbnails without stretching the image.', 'effect callback' => 'retina_images_image_scale_and_crop_effect', 'dimensions callback' => 'image_resize_dimensions', 'form callback' => 'retina_images_image_resize_form', 'summary theme' => 'retina_images_image_resize_summary', 'module' => 'image', 'name' => 'image_scale_and_crop', 'data' => array( 'width' => 760, 'height' => 394, 'retinafy' => 1, ), 'weight' => 1, ), ), ); return $styles; } /** * Implements hook_node_info(). */ function wunderkind_features_node_info() { $items = array( 'blog' => array( 'name' => t('Blog'), 'base' => 'node_content', 'description' => '', 'has_title' => '1', 'title_label' => t('Title'), 'help' => '', ), 'client' => array( 'name' => t('Client'), 'base' => 'node_content', 'description' => '', 'has_title' => '1', 'title_label' => t('Title'), 'help' => '', ), 'fullscreen_slider' => array( 'name' => t('FullScreen Slider'), 'base' => 'node_content', 'description' => '', 'has_title' => '1', 'title_label' => t('Title'), 'help' => '', ), 'page' => array( 'name' => t('Page'), 'base' => 'node_content', 'description' => '', 'has_title' => '1', 'title_label' => t('Title'), 'help' => '', ), 'people' => array( 'name' => t('People'), 'base' => 'node_content', 'description' => '', 'has_title' => '1', 'title_label' => t('Name'), 'help' => '', ), 'project' => array( 'name' => t('Project'), 'base' => 'node_content', 'description' => '', 'has_title' => '1', 'title_label' => t('Title'), 'help' => '', ), ); return $items; }