This is an edit to get longer captions for your images

Warning 1: This is not terribly complicated, but if you are not comfortable editing system files and going into mysql database: please, don't. Especially in the database part, you can seriously break things beyond recovery. Get someone who knows to help you instead.

Warning 2: Log out from indexhibit before making any changes to indexhibit's system files. After making these changes, it is always a good idea to clear the browser cache before logging in to Indexhibit again

Warning 3: longer captions may break some exhibition formats, you may have to do some plugin/css editing

Step 1. This first step is not strictly necessary: it will give more than 255 characters capacity for captions, but I repeat: if you are not comfortable with databases, then you can skip this step and live with 255, which is enough for most and clearly more than the 35 of the basic installation

Log in to your phpmyadmin to edit your MySQL database:
In table ndxz_media, change the type of media_caption to longtext
Save
Log out

Step 2. in ndxz-studio/module/exhibits/index.php, about line 508, change the media_title maxlength to 255 (to get 255 characters in the caption title):

$rs['media_title'], "id='media_title' maxlength='255'", 'text');

Step 3. about lines 509-510 replace:

$body .= ips($this->lang->word('image caption'), 'input', 'media_caption', 
$rs['media_caption'], "id='media_caption' maxlength='35'", 'text');

with these three lines

$body .= label($this->lang->word('image caption').' '.span($this->lang->word('html allowed')));
load_helpers(array('editortools', 'output'));
$body .= textarea(stripForForm($rs['media_caption'], 1), "id='media_caption' style='height:99px;'", 'media_caption');

Step 4. then in ndxz-studio/asset/js/ndxz.exhibit-edit.js, line 48 replace

var caption = encodeURIComponent( $('input#media_caption').val() );

with

var caption = encodeURIComponent( $('#media_caption').val() );

This edit was provided by kaos3000

Test image from Tenniel's illustrations for Alice in Wonderland. Image title at 255 characters and image caption as longtext at, well, a lot more than 255...

Image title 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123Image title 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123 Image caption 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 and still going strong