Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2018-04-08 11:57:31

uli
Moderator
From: Cologne
Registered: 2006-08-15
Posts: 4,206

Drag'n'drop images upload already integrated

I’m on a pretty aged MacOS (10.8) that forces me to use quite old browsers, e.g. FF 45. I’ve just noticed that—already under these conditions—I can drop-upload images (plural) if I let them go onto the input for images uploading in the Images panel.

  • Is that already known?
  • Does it work on other OSs and browsers other than FF and Chrome/ium?
  • Would it be possible to use that to our advantage, e.g. by widening the input via CSS, e.g. adding a second input stretched to the header area’s dimensions?

In bad weather I never leave home without wet_plugout, smd_where_used and adi_form_links

Offline

#2 2018-04-08 12:19:21

Bloke
Developer
From: Leeds, UK
Registered: 2006-01-29
Posts: 8,665
Website

Re: Drag'n'drop images upload already integrated

uli wrote #310769:

Is that already known?

Yes. It’s a feature of 4.7.0.

Does it work on other OSs and browsers

Yes.

Would it be possible to use that to our advantage, e.g. by widening the input via CSS, e.g. adding a second input stretched to the header area’s dimensions?

The input field is the browser specific one. And we have added the ability to upload all files to a category. Not sure what else we can do.


The smd plugin menagerie — for when you need one more gribble of power from Textpattern. Bleeding-edge code available on GitHub.

Txp Builders – finely-crafted code, design and Txp

Offline

#3 2018-04-08 12:41:53

uli
Moderator
From: Cologne
Registered: 2006-08-15
Posts: 4,206

Re: Drag'n'drop images upload already integrated

Bloke wrote #310771:

Yes. It’s a feature of 4.7.0.

Oh, didn’t specify my TXP version: I was on 4.6.2. And it worked already on at least 4.5.7. I just forgot to post about it at the time I discovered that feature.

Not sure what else we can do.

I thought of making the drag’ndrop area greater/wider so it’s easier to hit it, and and advertise it a little more, renaming it accordingly, style it with a dotted border, background colour, so its dragndrop capability is not as easy overlooked.

Last edited by uli (2018-04-08 12:58:17)


In bad weather I never leave home without wet_plugout, smd_where_used and adi_form_links

Offline

#4 2018-04-08 12:52:54

phiw13
Plugin Author
From: Japan
Registered: 2004-02-27
Posts: 1,668
Website

Re: Drag'n'drop images upload already integrated

uli wrote #310774:

Oh, didn’t specify my TXP version: I was on 4.6.2. And it worked already on at least 4.5.7. I just forgot to post about it at the time I discovered that feature.

It is a feature of the macOS native file upload widget. I never managed to have drag & drop working on Windows (10). But that might be me, though, or that cheapo laptop I have.

Offline

#5 2018-04-08 12:56:41

uli
Moderator
From: Cologne
Registered: 2006-08-15
Posts: 4,206

Re: Drag'n'drop images upload already integrated

I’ve almost expect that, hence I asked for other OSs/browsers.


In bad weather I never leave home without wet_plugout, smd_where_used and adi_form_links

Offline

#6 2018-04-08 15:04:44

philwareham
Core designer
From: Farnham, Surrey, UK
Registered: 2009-06-11
Posts: 3,196
Website

Re: Drag'n'drop images upload already integrated

The images and files panels are something I want to look at more closely in 4.8. Also, image grid layout (long planned).

Offline

#7 2018-04-08 16:00:54

etc
Developer
Registered: 2010-11-11
Posts: 3,170
Website

Re: Drag'n'drop images upload already integrated

Drag/drop on file inputs is a browsers feature, yes, but multiple images/files upload is available only since 4.7. And IIRC, sandSpace theme features also previews/title inputs.


etc_[ query | search | pagination | date | tree | cache ]

Offline

#8 2018-04-08 19:20:01

uli
Moderator
From: Cologne
Registered: 2006-08-15
Posts: 4,206

Re: Drag'n'drop images upload already integrated

etc wrote #310780:

multiple images/files upload is available only since 4.7.

Yes, you’re right. Must’ve been hopping too much from version to version this afternoon.


In bad weather I never leave home without wet_plugout, smd_where_used and adi_form_links

Offline

Board footer

Powered by FluxBB