axew3 / phpBB-image-attachments-rotation

Add icon after the image attachment name into the attachments panel (jpg,gif,png,webp). Onclick open a modal popup where it is possible to rotate the image and save it. Preserve images transparencies. Immediately display the rotated image into the post, and not the browser's cached one. Edit, post and reply mode.
https://www.axew3.com/
GNU General Public License v3.0
3 stars 1 forks source link
attachments images phpbb rotation

Version 1.0.6

Note that since 21.09.2024 you'll find out always (but only) the last and improved version here:

https://www.axew3.com/w3/forums/viewtopic.php?t=1639

phpBB attachments images rotation

For jpg/jpeg, gif, png, webp attachments files

Version 1.0.6

Tested under 3.3.13 > ( 3.2.0> should also work fine, but not tested ) ( 3.1.0> not tested )

require Php version 7 or better

Update/install:

If updating, disable the old version and delete data into ACP Extensions Manager

Remove the folder imageattachrotation (or whatever it was nemed before) into

/ext/w3all/

then follow installing the new 1.0.6

Install

Copy the "w3all" folder into phpBB/ext/

So you'll have: phpBB/ext/w3all/imageattachrotation

Go to "ACP" > "Customise" > "Extensions" and enable the "Attachments images rotation" extension

Done

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/prosilver/template/event/overall_footer_body_after.html

note that maybe you do NOT have to change w3classes and w3id for html elements, almost these used by javascript on same file, or the js code will not work.

The html code snippet is on top of the file

CSS:

/ext/w3all/imageattachrotation/styles/prosilver/template/css/style.css

How do i can choose to prepend or append the rotate icon?

/ext/w3all/imageattachrotation/styles/prosilver/template/event/overall_footer_body_after.html

search for line (+- on top):

 var Pw3A = 1; // 0 Append icon, 1 Prepend icon (require to rebuild the phpBB template)

Questions?

Ask on topic at phpBB.com

Check new instructions and download, also here:

phpBB images attachments rotation - 1.0.4

Missing older versions?

Check all images attachments releases at axew3.com:

phpbb images attachments rotation - all releases

License

GPLv2