Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2012-07-31 15:29:11

johnstephens
Plugin Author
From: Woodbridge, VA
Registered: 2008-06-01
Posts: 999
Website

Is there a plugin to insert images into articles on the Write tab?

I have a group of blog editors who are accustomed to WordPress, and I want to give them an easy way to insert images into articles directly within the Write tab. The ideal plugin might work like wet_quicklink for images. I tested upm_img_popper (using TXP 4.4.1), but it gives an “Insert failed” message in every case. What other options are there? What are the best plugins in this class?

Thanks!

Offline

#2 2012-07-31 16:14:06

wet
Developer Emeritus
From: Schoerfling, Austria
Registered: 2005-06-06
Posts: 3,330
Website Mastodon

Re: Is there a plugin to insert images into articles on the Write tab?

bot_image_upload might help.

Offline

#3 2012-07-31 16:34:46

colak
Admin
From: Cyprus
Registered: 2004-11-20
Posts: 9,091
Website GitHub Mastodon Twitter

Re: Is there a plugin to insert images into articles on the Write tab?

johnstephens wrote:

I tested upm_img_popper (using TXP 4.4.1), but it gives an “Insert failed” message in every case.

Hi John,

Try this correction to the plugin


Yiannis
——————————
NeMe | hblack.art | EMAP | A Sea change | Toolkit of Care
I do my best editing after I click on the submit button.

Offline

#4 2012-07-31 17:35:40

johnstephens
Plugin Author
From: Woodbridge, VA
Registered: 2008-06-01
Posts: 999
Website

Re: Is there a plugin to insert images into articles on the Write tab?

Thank you, Robert!

I’ve used bot_image_upload before, and I really like the simple UI, but I don’t know how to get it to insert an image into the body field. With wet_quicklink, I click “Insert Link”, select a type of link, and choose the article, and a link is inserted wherever the cursor is in the body field.

bot_image_upload is brilliant for uploading images without leaving the Write tab, but it’s not clear how to use it for anything other than defining article images within a specified field. The jQuery UI script lets me drag images to alter their order in the designated image field, but doesn’t allow drag-and-drop into the body field.

For other sites, I used bot_image_upload in tandem with hak_tinymce’s image-insert button, but I didn’t want to install a full-blown WYSIWYG editor just to insert an occasional image.

Does bot_image_upload have hidden functionality that allows image-insertion like wet_quicklink? Is there another plugin that puts an image tag generator on the Write page?

Thanks again for your guidance.

Offline

#5 2012-07-31 22:53:06

johnstephens
Plugin Author
From: Woodbridge, VA
Registered: 2008-06-01
Posts: 999
Website

Re: Is there a plugin to insert images into articles on the Write tab?

Thanks, colak— that does indeed get it working. I wonder if upm_img_popper could be hacked to have a simpler UI? The table offers too much information instead of making the image-insert links focal. I’ll try to get my head around the plugin code, but if there’s another image-insert plugin out there, I’d love to hear about it!

Offline

#6 2012-07-31 23:39:16

sacripant
Plugin Author
From: Rhône — France
Registered: 2008-06-01
Posts: 479
Website

Re: Is there a plugin to insert images into articles on the Write tab?

Custom developments behind TXP Magazine

See § Simplifying image insertion.

Perhaps a beginning of solution

Last edited by sacripant (2012-07-31 23:39:40)

Offline

#7 2012-08-01 00:23:04

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

Re: Is there a plugin to insert images into articles on the Write tab?

There’s still JM’s jmd_img_selector which inserts images at the caret position.
Apply this fix for a 4.3.0+ version of TXP and probably also the base 64/CSS fix two posts below. In case poplinks don’t work there’s a third fix, one post above Stef’s, by dragondz. And at least in my version of Hive there needs to be a z-index on the Thickbox ID. But then … :)

(Oh, played too much, sacripant overtook me)


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

Offline

#8 2012-08-01 04:48:40

johnstephens
Plugin Author
From: Woodbridge, VA
Registered: 2008-06-01
Posts: 999
Website

Re: Is there a plugin to insert images into articles on the Write tab?

Wow! Thank you sacripaint and Uli! It took some hacking, but jmd_img_selector seems to be exactly what I need.

Now I just have to figure out how to get bot_write_tab_customize to insert the “Insert Image” link after the “Article Image” field, but that’s not a deal-breaker.

Offline

#9 2012-08-01 06:47:38

Bloke
Developer
From: Leeds, UK
Registered: 2006-01-29
Posts: 11,453
Website GitHub

Re: Is there a plugin to insert images into articles on the Write tab?

johnstephens wrote:

jmd_img_selector seems to be exactly what I need.

In which case I have an update available if you’re interested with more options, more flexibility, and it retains your settings when you go from article to article. Shout if you would like to try it.


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

#10 2012-08-01 06:54:33

mmelon
Member
Registered: 2006-03-02
Posts: 95

Re: Is there a plugin to insert images into articles on the Write tab?

I would like to try it please

Offline

#11 2012-08-01 08:00:45

SuMu
Member
From: Germany - Wuppertal
Registered: 2008-03-06
Posts: 242
Website

Re: Is there a plugin to insert images into articles on the Write tab?

Hi Bloke
Can I test it? Please :-)


viele Grüße
SuMu

Psychomuell + blogZicke

Offline

#12 2012-10-13 13:19:37

Destry
Member
From: Haut-Rhin
Registered: 2004-08-04
Posts: 4,912
Website

Re: Is there a plugin to insert images into articles on the Write tab?

Stef – If that’s an evolution of what we have in the magazine, I would love to get me mits on it for my own site.

Though now that I think about it, if that’s just smd_macro work, then I should probably roll it that way.

Last edited by Destry (2012-10-13 13:46:32)

Offline

Board footer

Powered by FluxBB