Textpattern CMS support forum

You are not logged in. Register | Login | Help

#31 2016-05-28 09:47:54

etc
Developer
Registered: 2010-11-11
Posts: 2,949
Website

Re: [feedback] Image upload directly in the write tab

phiw13 wrote #299336:

one thing: PLEASE do not move the save button in the <header>, code wise. It would 1/ not be very semantic and 2/ pretty poor in terms of accessibility. Think keyboard users and screen readers alike.

Yes, sure. Well, you get the idea.


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

Offline

#32 2016-05-28 14:02:54

Pat64
Plugin Author
From: France
Registered: 2005-12-12
Posts: 1,205
Website

Re: [feedback] Image upload directly in the write tab

@Oleg:

I tried your new version. Grabbing the filename is a SEO inconsistency which come from the default feature within WordPress, IMHO.
So I changed $meta = array(‘alt’ => $file[‘Title’]); without any results because article’s title is not populated into the $file array.
Because your efficient code calls some ajax manipulations, maybe it will be cool to intercept the Title field from the DOM even if the title is changed by the writer (live changes).


Patrick.
G+
Github | CodePen

Offline

#33 2016-05-28 16:06:01

jakob
Moderator
From: Germany
Registered: 2005-01-20
Posts: 3,160
Website

Re: [feedback] Image upload directly in the write tab

Patrick, although I’ve not tried it, but I don’t think your variant can work as it can only populate the $meta array with data available in the article pane, so $file['Title'] won’t be accessible (the name is only accessible as it came with the uploaded file). Did you try Oleg’s suggestion of 'alt' => $rs['Title'] which, if I’ve understood it correctly, should populate it with the data from the Title field when the article is saved/published, i.e. submitted to the database.


TXP Builders – finely-crafted code, design and txp

Offline

#34 2016-05-29 07:27:45

Pat64
Plugin Author
From: France
Registered: 2005-12-12
Posts: 1,205
Website

Re: [feedback] Image upload directly in the write tab

@Jakob:

You’re right. TL;)DR

Works perfectly ;)


Patrick.
G+
Github | CodePen

Offline

#35 2016-09-17 09:12:06

etc
Developer
Registered: 2010-11-11
Posts: 2,949
Website

Re: [feedback] Image upload directly in the write tab

Since 4.6 is here, I have revisited abc_article_image plugin, to experiment with possible image upload workflows. Now it features drag and drop/sort support (only partly in IE/Edge). Suggestions welcome.


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

Offline

#36 2016-09-17 09:49:52

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

Re: [feedback] Image upload directly in the write tab

Please open an issue for this on GitHub. I have planned work for this in 4.7 and we can discuss further. Cheers!

Offline

#37 2016-09-17 13:00:25

etc
Developer
Registered: 2010-11-11
Posts: 2,949
Website

Re: [feedback] Image upload directly in the write tab

philwareham wrote #301579:

Please open an issue for this on GitHub. I have planned work for this in 4.7 and we can discuss further. Cheers!

I can, but there are more users here than on github. I’d rather plan it for 4.8, when we’ll have to treat all kind of custom fields types, but great if 4.7 can already integrate it.


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

Offline

#38 2016-09-17 13:19:01

NicolasGraph
Plugin Author
From: France
Registered: 2008-07-24
Posts: 860
Website

Re: [feedback] Image upload directly in the write tab

etc wrote #301578:

Since 4.6 is here, I have revisited abc_article_image plugin, to experiment with possible image upload workflows. Now it features drag and drop/sort support (only partly in IE/Edge). Suggestions welcome.

Nice experimentation; I’m lovin’it!


Nicolas
Follow me on Twitter and GitHub!
Multiple edits are usually to correct my frenglish…

Offline

#39 2017-08-17 18:54:43

raminrahimi
Member
From: India
Registered: 2013-03-19
Posts: 231

Re: [feedback] Image upload directly in the write tab

That is really a good idea and good system presented by etc :-) all the best
if u make option for that to do auto resize of images, that would be a good option.

Offline

#40 2017-11-22 16:01:53

momono-02
New Member
From: Netherlands
Registered: 2016-06-09
Posts: 4
Website

Re: [feedback] Image upload directly in the write tab

I love the plugin, and my clients too!

One question though… is there a limit on how many images you can upload and view in the write tab with this plugin? At some point I can drag images in the box and the plugin will upload them but won’t show them in the list of images nor does it show up in the image ID box above the images.

Offline

Board footer

Powered by FluxBB