Issue #2575639: Use the EXIF Orientation module to automatically rotate images

This commit is contained in:
Michael Stenta 2015-09-26 17:37:22 -04:00
parent ac9e16c232
commit ec1a4176b6
3 changed files with 13 additions and 0 deletions

View File

@ -27,6 +27,9 @@ projects[entityreference_view_widget][version] = "2.0-rc6"
; Patch to fix blank checkboxes.
projects[entityreference_view_widget][patch][] = "http://www.drupal.org/files/issues/entityreference_view_widget_suffix-2524296-2.patch"
projects[exif_orientation][subdir] = "contrib"
projects[exif_orientation][version] = "1.0"
projects[features][subdir] = "contrib"
projects[features][version] = "2.6"

View File

@ -30,6 +30,7 @@ dependencies[] = update
dependencies[] = dblog
; Contrib
dependencies[] = exif_orientation
dependencies[] = libraries_cdn
dependencies[] = logintoboggan
dependencies[] = jquery_update

View File

@ -130,6 +130,15 @@ function farm_update_7005(&$sandbox) {
\Drupal\openlayers\Config::set('openlayers.variant', 'jsdelivr:ol3:3.8.2');
}
/**
* Autorotate images.
*/
function farm_update_7006(&$sandbox) {
// Enable the EXIF Orientation module.
_farm_enable_modules(array('exif_orientation'));
}
/**
* Helper function: enable modules.
*/