Rotate phpBB attachments images - exstension

User avatar
axew3
w3all User
w3all User
Posts: 2006
Joined: Fri Jan 22, 2016 5:15 pm
Location: Italy
Contact:

Rotate phpBB attachments images - exstension

Post by axew3 »

Add (font awesome) icon after the image attachment name into the attachments panel (jpg, gif or png) that onlick 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.
Working on edit, post and reply mode. Light, secure, easy.


Check it out on Github for the last updated version

Version: 1.0.3
phpBB image attachments rotation extension on github

download the zip by clicking into Code button, then on Download zip.
Follow instructions on same download page.
Short and easy.


OLD VERSIONS:


Version: 1.0.0 dev
phpBB-image-attachments-rotation-master.zip
(33.23 KiB) Downloaded 3 times

Version: 1.0.1 dev
phpBB-image-attachments-rotation-master1.0.1.zip
(34.81 KiB) Downloaded 1 time

Version: 1.0.2 dev
phpBB-image-attachments-rotation-master_1.0.2.zip
(35.26 KiB) Not downloaded yet

32769191_1317613495048760_2189393457838030848_n.jpg
32769191_1317613495048760_2189393457838030848_n.jpg (16.2 KiB) Viewed 121 times
32769191_1317613495048760_2189393457838030848_n.jpg
32769191_1317613495048760_2189393457838030848_n.jpg (14.49 KiB) Viewed 121 times
image_rotation_output_example.png
image_rotation_output_example.png (20.55 KiB) Viewed 15 times

User avatar
DjPorkchop73
User ww
User ww
Posts: 26
Joined: Thu Aug 20, 2020 6:45 pm
Location: Egyptian Valley of Illinois

Re: Rotate phpBB attachments images - exstension

Post by DjPorkchop73 »

I have tested this out on my test board and I really like it. It did have the cache issue as you stated but it can be fixed in time I am more than sure as you have done a wonderful job thus far.

I have many times uploaded attachment images that turned sideways on me for one reason or the other and I wished I could flip them. This plugin solves that. Very practical and usable. +1
If I could I would. If I don't, it's because I am lazy!

User avatar
axew3
w3all User
w3all User
Posts: 2006
Joined: Fri Jan 22, 2016 5:15 pm
Location: Italy
Contact:

Re: Rotate phpBB attachments images - exstension

Post by axew3 »

The cache issue has been resolved, even if still not committed.
Now when image rotate, his id change into db, so when process executed, the id pushed to change id also into attachments panel at mean time.
The image will be immediately available after rotation, because his id will change. A by long time requested feature in phpBB easily done. I will commit all updates asap a js instruction will decide to work as expected, that update values into attachments panel to achieve immediately as soon the image as been processed. Then all will be complete!

User avatar
DjPorkchop73
User ww
User ww
Posts: 26
Joined: Thu Aug 20, 2020 6:45 pm
Location: Egyptian Valley of Illinois

Re: Rotate phpBB attachments images - exstension

Post by DjPorkchop73 »

Molto ben fatto!
Very well done. I really like this plugin. It is very much needed.
If I could I would. If I don't, it's because I am lazy!

Post Reply