Hello,
I just installed the rotateImage plugin.
I am not able to rotate a picture. Even the auto-read from Exif seems not to work. There is only one picture with EXIF-"Rotate 180" which is displayed correct.
When using "auto (EXIF)" I see the warning "undefined key saved_angle in rotateImage.tpl.php line 171" in the log.
At the Menu of the plugin I got three warnings "undefined key saved_angle in rotateImage.tpl.php line 171" .
Just a remark: Ldap_Login is working (after some changes) but still shows "incompatibility with current version of piwigo"
Any help is welcome.
Regards
eb
Server-Umgebung
Piwigo 13.5.0
Installiert auf 3 Februar 2023, vor 2 Wochen 3 Tage.
Betriebssystem: Linux (Ubuntu 22.04.1 LTS)
PHP: 8.1.2-1ubuntu2.10
MySQL: 5.5.5-10.6.11-MariaDB-0ubuntu0.22.04.1
Grafikbibliothek: ImageMagick 6.9.11-60
Größe des Cache 4.57
Liste der aktivierten Plugins 8
Admin Tools
Community
Language Switch
Ldap_Login
LocalFiles Editor
OpenStreetMap
Read Metadata
Rotate Image
Offline
NOT working. Any suggestions?
PHP 7.4 Piwigo 13.6.0
Offline
I have the same problem with Piwigo 14.3
It did work once, but on a subsequent session, I got the same error you report.
This is not a great fix and I'm sure someone will post a better way, but I fixed it by editing:
piwigo/plugins/rotateImage/rotate_image.tpl
Locate this line:
<option value="{$angle.value}" {if $saved_angle eq $angle.value}selected="selected"{/if}>{$angle.name}</option>
And change it to read:
<option value="{$angle.value}">{$angle.name}</option>
In other words, disregard the save_angle behavior and whatever it was supposed to accomplish.
Restart everything and you'll be able to do rotations.
Offline
Thank you, @sparksh! Your fix works for me with Piwigo 14.3.0 and rotateImage 11.0.a.
Offline