3
0
Fork 0
mirror of https://github.com/farmOS/farmOS.git synced 2024-02-23 11:37:38 +01:00

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.
*/