present thumbnails *while* posting

Looking for an Extension? Have an Extension request? Post your request here for help. (Note: This forum is community supported; while there is an Extensions Development Team, said team does not dedicate itself to handling requests in this forum)
Ideas Centre
Holger
Registered User
Posts: 1892
Joined: Tue Mar 12, 2002 3:54 pm
Location: Hannover

Re: present thumbnails *while* posting

Post by Holger »

Very nice cabot, thank you!
If you now could add a "rotate" icon to rotate the images if the preview shows them tilted, this would be awesome! ;)
User avatar
cabot
Registered User
Posts: 785
Joined: Sat Jan 07, 2012 4:16 pm

Re: present thumbnails *while* posting

Post by cabot »

It's just a simple extension that changes the display in the browser using JS, whereas rotating images would require PHP processing to modify them and save them in the database. :/
I seem to have already seen an extension for this.
User avatar
Sergio64
Registered User
Posts: 23
Joined: Sun Jan 19, 2020 3:46 pm

Re: present thumbnails *while* posting

Post by Sergio64 »

Hello,
cabot wrote: Fri Sep 27, 2024 2:12 pm I've just created the extension and uploaded it to GitHub.
It's very basic and certainly imperfect, but if you want to give it a try, it's over here:
https://github.com/cabot/attachimagespreview
Great extension ! Thx Cabot.
PHP 8.3.9 phpBB 3.3.13
User avatar
Steve
Registered User
Posts: 1522
Joined: Tue Apr 07, 2009 7:48 pm
Name: Steven Clark

Re: present thumbnails *while* posting

Post by Steve »

cabot wrote: Tue Oct 15, 2024 9:01 am It's just a simple extension that changes the display in the browser using JS, whereas rotating images would require PHP processing to modify them and save them in the database. :/
I seem to have already seen an extension for this.
Have a look at the clickable jq options to rotate images by 90degrees a click. There are some good options out there.
@ The Chief Medical Officers guideline for men is that: You are safest not to drink regularly more than 14 units per week.
- I drank that today++ :lol: 🍺
User avatar
cabot
Registered User
Posts: 785
Joined: Sat Jan 07, 2012 4:16 pm

Re: present thumbnails *while* posting

Post by cabot »

Originally, it's just a simple JS function I'd written for a style, and the extension contains nothing more than that function and a bit of CSS.
There's no php file and, honestly, I don't think I'll be taking on this project any time soon.
I'm already struggling with the upload function to add it to the Change Logo extension. :?

Return to “Extension Requests”