[RFC] drag and drop image insertion

Note: We are moving the topics of this forum and it will be deleted at some point

Publish your own request for comments/change or patches for the next version of phpBB. Discuss the contributions and proposals of others. Upcoming releases are 3.2/Rhea and 3.3.
sajaki
Registered User
Posts: 86
Joined: Mon Jun 21, 2010 8:28 pm

[RFC] drag and drop image insertion

Post by sajaki »

In the github commenting system you can drag a png image to the posting area and it will automatically be uploaded to a cloud and inserted in the post. Something similar could be done for phpbb and you would end up with a [img]url[/img] in your post without having to do the browse / insert into post procedure.
Screen Shot 2014-05-11 at 10.30.35.png
Screen Shot 2014-05-11 at 10.30.35.png (41.1 KiB) Viewed 902 times

Paul
Infrastructure Team Leader
Infrastructure Team Leader
Posts: 373
Joined: Thu Sep 16, 2004 9:02 am
Contact:

Re: [RFC] drag and drop image insertion

Post by Paul »

How is that different with whats currently possible with the attachments?

sajaki
Registered User
Posts: 86
Joined: Mon Jun 21, 2010 8:28 pm

Re: [RFC] drag and drop image insertion

Post by sajaki »

paulus wrote:How is that different with whats currently possible with the attachments?
it isn't drag and drop. it's click-> browse -> find it in your OS -> select -> open -> click in post -> click embed. 5 clicks compared to one select/drag.

Nicofuma
3.2 Release Manager
3.2 Release Manager
Posts: 299
Joined: Sun Apr 13, 2014 1:40 am
Location: Paris

Re: [RFC] drag and drop image insertion

Post by Nicofuma »

it is already drag and drop, for attachments.
Member of the phpBB Development-Team
No Support via PM

User avatar
prototech
Former Team Member
Posts: 53
Joined: Mon Mar 12, 2007 12:25 am

Re: [RFC] drag and drop image insertion

Post by prototech »

The only thing that's probably missing is inserting the [attachment] bbcode to place the file inline. I'm pretty certain that there is a ticket requesting this already, although I seem unable to find it now. This was actually requested prior to the new uploader getting merged, but I decided to postpone it in order to avoid making the PR larger.

keith10456
Registered User
Posts: 523
Joined: Sat Apr 22, 2006 10:29 pm
Contact:

Re: [RFC] drag and drop image insertion

Post by keith10456 »

In my opinion, drag and drop takes as many steps as the conventional way. You still have to browse on your machine to locate the file. A bit off topic, I admit :D

leschek
Registered User
Posts: 164
Joined: Tue Aug 28, 2012 1:30 pm

Re: [RFC] drag and drop image insertion

Post by leschek »

Nicofuma wrote:it is already drag and drop, for attachments.
Is it? I updated to 3.1.0 B3 and it seems that I'm not able to drag image to posting area. Maybe it is some bug in my system, but it was working before (it's couple of weeks I tried it last time, so I don't know on what version of phpBB 3.1.0 I tested it).

Nicofuma
3.2 Release Manager
3.2 Release Manager
Posts: 299
Joined: Sun Apr 13, 2014 1:40 am
Location: Paris

Re: [RFC] drag and drop image insertion

Post by Nicofuma »

it works on area51
Member of the phpBB Development-Team
No Support via PM

leschek
Registered User
Posts: 164
Joined: Tue Aug 28, 2012 1:30 pm

Re: [RFC] drag and drop image insertion

Post by leschek »

Then it must be some problem with my browser. It seems it works with IE 11, but not with Firefox Portable 29.0.1. Do I need to install some plugin to use this feature?

User avatar
Mess
Registered User
Posts: 199
Joined: Wed Jun 13, 2012 10:14 am

Re: [RFC] drag and drop image insertion

Post by Mess »

You need to be in the full editor.
Then drag the file to the posting window, and the upload should start in the attachment tab.

Calling it drag and drop is a little bit of a stretch, compared to what I think you could expect today.
But it is an improvement to what we have in 3.0 for sure.

Post Reply