Rename auto rotate option to auto_rotate
This commit is contained in:
parent
db264444ac
commit
ffc51f648b
|
@ -50,7 +50,7 @@ responsive_image:
|
|||
# [Optional, Default: false]
|
||||
# Rotate resized images depending on their EXIF rotation attribute. Useful for
|
||||
# working with JPGs directly from digital cameras and smartphones
|
||||
respect_exif_rotation: false
|
||||
auto_rotate: false
|
||||
|
||||
# [Optional, Default: assets]
|
||||
# The base directory where assets are stored. This is used to determine the
|
||||
|
|
|
@ -4,7 +4,8 @@ module Jekyll
|
|||
include ResponsiveImage::Utils
|
||||
|
||||
def resize_image(img, config)
|
||||
img.auto_orient! if config['respect_exif_rotation']
|
||||
img.auto_orient! if config['auto_rotate']
|
||||
|
||||
resized = []
|
||||
|
||||
config['sizes'].each do |size|
|
||||
|
|
Loading…
Reference in New Issue