Problem/Motivation
I enabled the module, and also checked the box in content type image field settings. But the rotate icon is not displayed.
Steps to reproduce
- Install `2.1.0` module
- Check the "Add the rotate icon" to the image field of the Article page
- Create a new article and upload an image
- Notice that the rotate icon is missing
Issue fork simple_image_rotate-3203735
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
- 3203735-Image_rotate_icon_does_not_appear
changes, plain diff MR !1
Comments
Comment #2
tjtj commentedThe version I got before this module was "official" works after patching the version requirement. But alas, it throws a php error.
Comment #3
davidiio commentedEDIT: Sorry, in my case the
use Drupal\Core\Config\Entity\ThirdPartySettingsInterface;instruction was missing (not sure why exactly) and so the condition I mentioned earlier coudn't work.Same here with drupal 8.9.13 and simple_image_rotate 2.1.0 using Media.
I think the problem appeared before I upgraded to 2.1.0 when I applied the patch from this issue:
https://www.drupal.org/project/simple_image_rotate/issues/3126067
Is it possible that this condition always verifies and so field is always skipped?
Comment #4
tjtj commentedThat fixed this. Please put the patch into the release version
Comment #8
genfoch01 commentedIs there an eta for the fix being rolled out? I am on drupal 8.9.14 and simple image rotate 2.1.0 and do not see the rotate icon
EDIT : I've never done this before but the change looked small enough for me to apply manually which seemed to work.
this is a really helpful module.
thanks for your time.
Comment #9
hyside commented@steveoriol -
Is looks like this change wasn't actually merged into 2.1.X :
Closed by steveoriol 2 weeks ago (Apr 29, 2021 2:28pm GMT+0200)
The changes were not merged into 2.1.x
If there is a reason this wasn't merged, could we reopen this issue until an acceptable solution is found? I can continue to maintain a manual patch, but rolling in a solution sure makes composer-based sites easier to keep up-to-date.
Thank you!
Comment #10
nathan tsai commentedComment #11
andreasderijckeLast commit on 2.1.x does include the fix.
New release is recommended.
Comment #12
david jeyachandran commentedSeconding @andreasderijcke. Could we have a new release please. Seems like a simple fix of adding a single line...
use Drupal\Core\Config\Entity\ThirdPartySettingsInterface;
Comment #13
markus_petrux commentedJust to confirm the patch is included in 2.1.0-dev. and works. Thank you!
Comment #14
markus_petrux commentedComment #15
nathan tsai commentedAny updates on a new release?
Comment #16
nathan tsai commentedComment #17
afagioliThanks!
Comment #19
afagioliComment #21
nathan tsai commentedI just came across this issue again today when I tried installing the default version of the module.
The current recommended release does not work at all due to this patch not being applied.
I suggest creating a new (full) release of the module using the alpha (2.1.1-alpha1)
(Especially, since there has also been 1,044 installs so far, as of Dec 9, 2023).
Comment #22
afagioliComment #23
afagioliFind this fix with https://www.drupal.org/project/simple_image_rotate/releases/2.3.0-alpha1
Thanks for contributing