older versions have been all removed
1.0.8 release:
updated 15 Oct 2024 - last tested under 3.3.1.5 version on 25-10-2025: test OK
Fixes:
just fix the file
/w3all/imageattachrotation/styles/all/template/event/overall_header_head_append.html so to correctly load the css file that style the rotation popup.
DOWNLOAD phpBB-image-attachments-rotation-1.0.8
Note if updating: before to proceed, you'll have to disable the previous Attachments Rotation 1.0.3 extension into ACP Extensions Manager, and delete extension data.
Then remove the folder /ext/w3all/imageattachrotation,
so follow installing the new version
Install
Copy the "w3all" folder into phpBB/ext/
So you'll have: phpBB/ext/w3all/w3imagerotation
Go to "ACP" > "Customise" > "Extensions" and enable the "Attachments images rotation" extension
Done
Note: check that the uploaded /ext/w3all/imageattachrotation/core/fileRotate.php need to be executable. Check maybe also this topic replies for further helps viewtopic.php?p=7088#p7088
How do i can style the rotation popup?
It should fit your theme, anyway you can easily change and style it into:
HTML:
/ext/w3all/imageattachrotation/styles/all/template/event/overall_footer_body_after.html
(note that you (maybe) do NOT have to change w3classes and w3ids for html elements, or the javascript code will not work)
Code: Select all
<div id="w3rPopup" class="w3rPopupContainer text-center inputbox" style="display:none">
<table class="w3wrapTABC">
<tr><td class="w3wrapTDC">
<div class="w3divContainer">
<div class="w3divCont"><strong>{{ lang('W3POPUP_TEXTEXPLAIN') }}</strong></div>
<div class="w3divimg"><img id="w3-img-rotate" src="" onclick="w3rotateByDeg(this);" /></div>
<div class="w3divCont"><button class="w3divCont button" type="submit" id="w3btn" onclick="w3sendThis(document.getElementById('w3-img-rotate'));">{{ lang('W3POPUP_BUTTONTEXT') }}</button></div>
</div>
</td></tr></table>
</div>CSS:
/ext/w3all/imageattachrotation/styles/all/template/css/style.css
How do i can choose to prepend or append the rotate icon?
/ext/w3all/imageattachrotation/styles/all/template/event/overall_footer_body_after.html
search for line (+- on top):
Code: Select all
var Pw3A = 1; // 0 Append icon, 1 Prepend icon (require to rebuild the phpBB template)
