Fix orientation of images in gallery3 for ipad

From sheep
Jump to navigation Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

Put the following in the file ~/exivcmd

 set Exif.Image.Orientation 1
 set Exif.Thumbnail.Orientation 1

Then run the command

find /var/gallery3/g3data/ -iname \*.jpg -print0 | xargs -0 -n1 exiv2 -v -m ~/exivcmd -k modify