This plug-in shows the "Rotate" label on the top-right of an image embedded in the body text of an article and displayed on the image-dialog.
Every time you click the label, the image will rotate to the right 90 degrees.
Background
Some users in a forestry company in Japan take pictures (photos) at the job sites by using their cellphones and send the pictures via email to their TeamPage to share the latest situations with other employees.
Though the cellphones are supposed to recognize the rotations and put the information of the rotations into the pictures, sometimes the function doesn't work correctly and some pictures have wrong rotation information.
When this happens, such pictures look to be rotated 90 degrees (or -90 degrees) incorrectly on the browsers.
The users in the company wanted me to create a new function that would "fix" the rotation. This is why this plug-in came into existence.
Demo Video
The descriptions in this video are in Japanese but I think you will get the idea.
Install
Click the link below to download the zip file of this plug-in.
Upload the zip file in Server Settings > Plugins page.
After uploading, you will see the following I18N ERROR. Don't worry. This error means "you need to restart TeamPage server to load the I18N resources (language files)."
Click [Restart TeamPage] in Server Settings > General > Manage Server page. If your TeamPage server is hosted in Traction's cloud environment, you will need to restart your server twice to load the I18N resources correctly.
After restarting, you will see that the plugin's name "Image Rotation" shows up correctly.
How to use
Just open an article who has an embedded picture(s) and see the top-right corner of the picture. You will see the "Rotate" label there.
When you click the label, the image rotates to the right 90 degrees.
Note: When you click the picture, the image-dialog shows up and the picture is displayed on the dialog. The rotation of the picture on the dialog will be available on TeamPage 6.2.45 that we will ship in a couple of weeks.