Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
all_pic: Find, add and arrange images in the Write tab
- In the
Writepanel, find and add images to theArticle Imagefield or any specifiedcustom field. - The default
Imagespanel opens in a SideView, providing full upload, edit and search capabilities. - Build gallery
shortcodes for insertion into any textarea. - Thumbnails can be rearranged and moved to other groups via dragging.
- Thumbnails adjust their size according to the number of their siblings.
I regularly use more than the Article image field to specify images in my projects, and displaying preview thumbs for each field is helpful for content editors (particularly the more visually-oriented ones). Large gallery <txp::shortcodes /> for displaying images in the body field often require fiddly edits to the order of the specified ids, each requiring a ‘Save’ and then a subsequent ‘View’ or reload of the public page.
all_pic helps alleviate these issues.
The plugin defers the search and selection of images to the familiar Images tab, and displays thumbnail galleries for each grouping in the Write tab. Thumbnails can be reordered within a group (including shortcode previews), or be dragged to another group altogether.
Find all_pic.zip (v0.1beta) and a full overview on GitHub.
Offline
Re: all_pic: Find, add and arrange images in the Write tab
Crikey, you have been busy! I’ll check this out, thank you. I’m building a site for someone right now that needs slick image handling.
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
Re: all_pic: Find, add and arrange images in the Write tab
Cool! I’m pushed for time right now but will give it a roll soon.
TXP Builders – finely-crafted code, design and txp
Offline
Re: all_pic: Find, add and arrange images in the Write tab
I’m about to trial it on the Artedomus website, where a couple of content editors pimp images en-masse regularly in their articles (typical article).
Both all_pic and all_sideview came about through a request to see what I could do about improving staff workflow / making the interface more ‘visual’.
I have further plans to incorporate mini-short code galleries alongside their shortcode counterparts in the body field, but this may be asking too much…
Offline
#5 Yesterday 23:55:37
- bashirnoori
- Member

- From: Afghanistan
- Registered: 2012-10-02
- Posts: 86
Re: all_pic: Find, add and arrange images in the Write tab
Great Job !
I noticed this plugin that improves image handling in the Write article tab, and it looks very promising.
I hope this plugin can be further improved, or that similar functionality could be considered for the Textpattern core. Ideally, it would allow users to easily search existing images or upload new ones directly while writing an article.
When I train clients to manage their websites, image management during article writing is one of the most common questions. Many users are used to the simplicity of WordPress media, where adding images to a post is very straightforward.
Improving this area would greatly help usability, especially for non-technical users.
Offline
Re: all_pic: Find, add and arrange images in the Write tab
bashirnoori wrote #341871:
Ideally, it would allow users to easily search existing images or upload new ones directly while writing an article.
Not to detract from giz’s excellent work on taking image handling to the next level, but the com_article_image plugin does most of what you ask already, in some form or another:
- Drag image(s) from computer or the web browser to the article image field to attach them when article saved (or browse for them on your device).
- Rearrange (drag n drop) image order (or swap ID list order by hand).
- Delete image(s) from article image set.
- Search for images already uploaded and click to attach either individual images or all images (after removing ones you don’t want) to the article.
- Search for images that don’t match your term, and attach them as above.
- Drag images to body/excerpt to upload and insert as a (custom-defined) tag or shortcode.
- Image search can be performed on any nominated field (id, name, alt, caption, …).
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
Re: all_pic: Find, add and arrange images in the Write tab
bashirnoori wrote #341871:
Great Job !
Thanks, Bashir.
Watch this space. I’m currently finalising an update to the plugin that includes:
- preview galleries for any shortcode within the body field
- drag and drop a thumb from the source list to any gallery
- new layout for the source list so more thumbs are visible without scrolling.
Offline