Back to vBulletin 4.x Add-ons

Auto-Orient Uploaded Images
Mod Version: 0.9, by kh99

vB Version: 4.x.x Rating: (5 votes - 5.00 average) Installs: 35
Released: 18 Apr 2015 Last Update: Never Downloads: 142
Not Supported Uses Plugins Re-usable Code Is in Beta Stage  

What is it?
----------------------------
This mod will attempt to rotate jpeg images being uploaded that contain an orientation tag, so that the uploaded image is right side up without an orientation tag. Some cameras and phones generate images that are sideways or upside down, and contain a tag with the correct orientation. Unfortunately, some browsers don't look for the tag when displaying the image. Also, if vbulletin has to resize the image or create a thumbnail image, the resulting image will not contain the orientation tag. This mod tries to rotate the image so that it will appear upright in all browsers and image sizes.

Note that this happens at the time that an image is uploaded, so this mod will not affect any existing images.

THIS MOD REQUIRES ImageMagick. You do not have to be using ImageMagick for other image processing, but the binaries must be installed on your server. Sorry, this won't work with GD and I won't be making a version that does, because I tried it before and it's too slow to be useful.

Installation:
----------------------------
1) Import the product XML file from the Product Manager.

2) Go to Settings > Options > Auto-Orient Images to enable the mod.

3) If you don't have an ImageMagick binary path entered under Image Settings, then you must enter one in the options. If you don't know what to enter, your host may be able to help. If you don't have ImageMagick available, this mod will not work.

History:
----------------------------
0.9 (Apr 17, 2015)
  • Initial Release

Download

File Type: %1$s product-kh99_auto_orient_images_v0_9.xml (6.7 KB, 153 downloads)

Supporters / CoAuthors

  • Bill Stuntz

Screenshots

Click image for larger version
Name:	sg.PNG
Views:	439
Size:	27.0 KB
ID:	152294  


vblts.ru supports vBulletin®, 2022-2024