Working on edit, post and reply mode. Light, secure.
NOTE:
Latest version is (always) here or on github
viewtopic.php?t=1639
Version: 1.0.4.2 has been released 02 Apr 2022
On github:
https://github.com/axew3/phpBB-image-at ... s-rotation
[attachment=0]phpBB-image-attachments-rotation-master_1.0.3.zip[/attachment]
Install
Copy the "w3all" folder into phpBB/ext/
So you'll have: phpBB/ext/w3all/w3imagerotation
Set ACP option "Recompile stale style components" to yes
Go to "ACP" > "Customise" > "Extensions" and enable the "Attachments images rotation" extension
Test things may doing a test post
If all ok, reset "Recompile stale style components" to no
Done
phpBB cookie domain
Note that the setting
ACP -> Security settings -> Cookie domain:
Need to be set properly. Leaving this setting empty, lead to make it fail the js code of the popup.
For example, on localhost, set it as localhost, or if into online site, mysite.com or my-site.co.uk or mysubdomain.mysite.com etc
How do i can style the rotation popup?
It is the file rotate_popup.html, which you can find into:
/ext/w3all/imageattachrotation/styles/prosilver/template/event/rotate_popup.html
Note that you need to respect the normal/correct html DOM in this file, that (anyway) start with a <style> tag
<style> .... </style>
... ... ...
It do not contain the starting 'html' and 'head' tags, and you do not have to add them (already added earlier)
phpBB image attachments rotation extension on github
from github: download the zip by clicking into Code button, then on Download zip.
Follow instructions on same download page.
To prepend icon, see here:
viewtopic.php?p=4852#p4852
OLD VERSIONS: