Go to Configuration > Media > Image Styles. Create a new Style and try to add rotate effect. It is non working.
| Comment | File | Size | Author |
|---|---|---|---|
| #13 | Selection_063.png | 144.04 KB | sivaji_ganesh_jojodae |
| #10 | drupal-747042-10.patch | 1.94 KB | mrded |
| #8 | drupal-747042-8.patch | 1.94 KB | mrded |
| #4 | rotate_effect.patch | 1.68 KB | YurkinPark |
| #1 | rotate_effect.patch | 995 bytes | YurkinPark |
Comments
Comment #1
YurkinPark commentedit just old version of GD extension of PHP without rotateimage function
Comment #2
YurkinPark commentedComment #4
YurkinPark commentedwith rules of testing
Comment #5
YurkinPark commentedComment #6
eojthebraveSee also #758628: Improve GD library hook_requirements() for color and image modules
That issue provides a patch that performs a requirements check for imagerotate and imagefilter support and displays a warning if they are not available.
However, we might want to also consider implementing something like #4 here where we hide the desaturate and rotate effects if they are not available. I'm not sure what kind of consequences this would have for contrib modules implementing hook_image_default_styles and hook_image_styles_alter which allow modules to assign effects to an image style. What happens if the effect doesn't actually exist?
Someone should probably test this out.
Comment #7
catchPlease fix the whitespace issues in the patch.
if ($foo)instead ofif($foo).Comment #8
mrded commentedChanged to Drupal coding standards.
Comment #10
mrded commentedSorry, it was my syntax mistake. Check out new patch.
Comment #11
claudiu.cristeaI think this needs to be fixed in 8.x first and then backport to D7.
Comment #12
mrded commentedIn Drupa 8 it has been fixed already:
Comment #13
sivaji_ganesh_jojodae commentedThis has been fixed in recent drupal 7.x branch.