Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2024-09-16 01:26:59

bashirnoori
Member
From: Afghanistan
Registered: 2012-10-02
Posts: 79

Easy Article Image Management

As I prepare some websites with textpattern for my clients, mostly clients are not happy with article image system and they reference me the wordpress or any other CMS like easily we can upload/browse add images in the article’s body.
If you please consider that to upload or browse uploaded images to add in article body when writing article, that would be great and helpful.

Offline

#2 2024-09-16 05:03:40

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

Re: Easy Article Image Management

Have you tried com_article_image? It’s very good.


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 2024-09-16 23:24:09

bashirnoori
Member
From: Afghanistan
Registered: 2012-10-02
Posts: 79

Re: Easy Article Image Management

Hi Bloke,
Thanks for the response.
Yes, I use that for my article_image, but in some cases we need to add multiple images in different position of the article body, like some images in the start, middle and maybe end, in that case com_article_image not works. Even we can’t drag/drop the image from there to the article body.
Anyhow, I think it would be great to have an option in Write/Article Media Library to browse uploaded images or even maybe files, then can add or upload new from there easily.

Offline

#4 2024-09-17 10:15:32

etc
Developer
Registered: 2010-11-11
Posts: 5,142
Website GitHub

Re: Easy Article Image Management

Bashir, are you sure to use the latest com_article_image version? It can

  • display/filter all uploaded images under ‘article image’ tab of the article sidebar (you need to hit Enter in the search field though)
  • assign an/all uploaded/filtered image(s) to the article
  • upload images from disk or web and assign them to the article
  • drag an image from the sidebar directly to Body or Excerpt
  • drag images from disk to Body or Excerpt to upload and insert directly (note to self: update for jQuery 4)
  • insert an image link from web by drag/drop into Body/Excerpt
  • and more

If you enable live Body/Excerpt preview, the article image management becomes rather straightforward, especially in txp 4.9.

Offline

#5 2024-10-06 11:52:33

bashirnoori
Member
From: Afghanistan
Registered: 2012-10-02
Posts: 79

Re: Easy Article Image Management

I used that before it was old version, I just checked the new version looks very nice but still drag and drop to article body not works.
Also, I have a suggestion if possible in the future. Some websites will have lots of images and managing them in the right column looks little boring, instead if we have the images in a popup window to easily find and insert or drag/drop … it would be great ;-)

When we drag and drop the image to the body, it will not allowed, here is the screenshot:

Then manually we insert images to the article body like this:

Offline

#6 2024-10-06 12:13:39

etc
Developer
Registered: 2010-11-11
Posts: 5,142
Website GitHub

Re: Easy Article Image Management

You seem to use a text editor, which one? Txp is not furnished with a core text editor, so the plugin is not meant to work with any of them, but we can take a look.

Offline

#7 2024-10-06 18:48:52

bashirnoori
Member
From: Afghanistan
Registered: 2012-10-02
Posts: 79

Re: Easy Article Image Management

Yes, you are correct !
I use tinymce editor, I noticed another issue when I enable the com_article_image with having tinymce editor, the new body content of article will not be saved, it goes blank :-(

Offline

#8 2024-10-07 13:56:36

etc
Developer
Registered: 2010-11-11
Posts: 5,142
Website GitHub

Re: Easy Article Image Management

bashirnoori wrote #337957:

Also, I have a suggestion if possible in the future. Some websites will have lots of images and managing them in the right column looks little boring, instead if we have the images in a popup window to easily find and insert or drag/drop … it would be great ;-)

We will think of it, thanks. Meanwhile, it is not difficult to create a custom text/html-type form with just

<!DOCTYPE html>
<html><body>
<txp:images limit="0"><txp:image /></txp:images>
</body></html>

and add (via a plugin) a link to Write tab:

<a href="//my-site.url?f=formname" target="images">Select images</a>

Offline

Board footer

Powered by FluxBB