Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2011-05-08 23:46:25

gomedia
Plugin Author
Registered: 2008-06-01
Posts: 1,167
Website

adi_image_tab - Enhanced image tab

Summary

adi_image_tab is an enhancement to the standard Image Edit tab:

  • displays image ID, dimensions, file size, author, timestamp
  • previous/next links
  • dropdown menus for selecting images to edit
  • option to delete the image you’re looking at
  • image thumbnail dimensions & filesize
  • option to modify the image’s timestamp
  • option to populate caption with alternate text
  • changes tab behaviour so that the Save button returns the user to the current Image Edit tab rather than the Images List tab

See the help supplied with the plugin, or have a look online. You can download the latest version from here.

Usage

After installing & activating the plugin, select the image you wish to edit from the Images tab as normal.

Dropdown menus

Two dropdown menus are provided, to help speed up access to images:

  • Recent images – contains a list of the recently updated images
  • Images – is a link to the Images list tab plus a dropdown containing images surrounding the current image in the list

Screen shots

Enhancements to standard image edit tab:

Recently updated image dropdown menu:

Textpack

There is a mechanism to install a Textpack in the adi_image_tab options page under the Plugins tab.

Corrections or additional language translations are most welcome and can be submitted here.

Currently the Textpack contains:

  • Swedish (thanks Mats)
  • German (thanks David & “Someone”)
  • French (thanks Pat64)
  • Polish (thanks BKawalec)

Requirements

Textpattern 4.3.0 or later.

Bug & Limitations

  • the number of images in the dropdown menus is currently fixed at 10
  • only images with thumbnails will be shown as images in dropdown menus, others will be listed with their alternate text or filenames
  • incompatible with ebl_image_edit

Version history

  • 0.2
    • TXP 4.5-ified
    • code tidy up
    • fix: styling only generated for event=image tabs (thanks uli)
    • enhancement: image delete button
    • enhancement: thumbnail info
    • changed: recent image list now stored as “user” pref
  • 0.1.1
    • errors after image deleted (thanks Uli)
    • spurious timestamp error message when save image directly after upload
    • timestamp fields now visible after uploading image
  • 0.1
    • initial release

Feedback

Comments are most welcome.

Spread the love

If you find this plugin useful and would like a warm and fuzzy feeling to go with it, please consider donating to the Textpattern development team.

Last edited by gomedia (2015-06-30 22:03:50)

Offline

#2 2011-05-09 00:44:52

uli
Moderator
From: Cologne
Registered: 2006-08-15
Posts: 3,914

Re: adi_image_tab - Enhanced image tab

D’Adi, promise you’ll never leave Mom, will you!?

I’ll go play fo sum ours now.


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

Offline

#3 2011-05-09 05:27:35

smdnetau
Member
From: Sydney
Registered: 2008-10-09
Posts: 52
Website

Re: adi_image_tab - Enhanced image tab

Hi Adi,

Very handy. The only thing I noticed when enabling this was that I lost all EBL Image Edit functionality.

Regards
Martin

Offline

#4 2011-05-09 05:48:40

gomedia
Plugin Author
Registered: 2008-06-01
Posts: 1,167
Website

Re: adi_image_tab - Enhanced image tab

smdnetau wrote:

The only thing I noticed when enabling this was that I lost all EBL Image Edit functionality.

I’ll look into it!

Offline

#5 2011-05-10 05:57:42

gomedia
Plugin Author
Registered: 2008-06-01
Posts: 1,167
Website

Re: adi_image_tab - Enhanced image tab

smdnetau wrote:

The only thing I noticed when enabling this was that I lost all EBL Image Edit functionality.

Unfortunately, it looks like adi_image_tab & ebl_image_edit will be mutually exclusive – at the moment I can’t think of a way around it.

Offline

#6 2011-05-22 14:38:08

uli
Moderator
From: Cologne
Registered: 2006-08-15
Posts: 3,914

Re: adi_image_tab - Enhanced image tab

Like I guessed: great improvements for the image tab.

It’s just the clients. Clients who probably delete images (or articles with images?). Then they get errors like these:

Notice: Undefined variable: thumbnail in /is/htdocs/wp10557963_B5EFTVJK12/www/textpattern/lib/txplib_misc.php(638) : eval()'d code on line 382

Notice: Undefined variable: alt in /is/htdocs/wp10557963_B5EFTVJK12/www/textpattern/lib/txplib_misc.php(638) : eval()'d code on line 398

Is there something you can do about it, Adi?


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

Offline

#7 2011-05-22 21:38:54

gomedia
Plugin Author
Registered: 2008-06-01
Posts: 1,167
Website

Re: adi_image_tab - Enhanced image tab

uli wrote:

It’s just the clients. Clients who probably delete images (or articles with images?). Then they get errors like these:

I got 3 errors when I tried it!

Is there something you can do about it, Adi?

Most definitely …

Offline

#8 2011-05-22 23:40:48

gomedia
Plugin Author
Registered: 2008-06-01
Posts: 1,167
Website

Re: adi_image_tab - Enhanced image tab

Version 0.1.1 available for download.

Fixes:

  • errors after image deleted (thanks Uli)
  • spurious timestamp error message when save image directly after upload
  • timestamp fields now visible after uploading image

Offline

#9 2011-05-23 18:48:58

uli
Moderator
From: Cologne
Registered: 2006-08-15
Posts: 3,914

Re: adi_image_tab - Enhanced image tab

Thanks for the fix, Adi.
And another one for the adi_image_tab_menu_non_link class!


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

Offline

#10 2011-08-11 23:24:30

maruchan
Member
From: Ukiah, California
Registered: 2010-06-12
Posts: 581
Website

Re: adi_image_tab - Enhanced image tab

Thanks Adi, terrific plugin, even just for showing the Image ID on the edit page. Is there a plugin that will do the same for files?

Offline

Board footer

Powered by FluxBB