Support » Plugin: Faster Image Insert » Numbering in the title.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Hi I would like to know this as well. (I see you asked this same question six months ago.)

    Any ideas or assistance would be greatly appreciated. The Mass Image Edit works so well.

    Plugin Author David Frank

    (@bitinn)

    We don’t have that option just yet, you can of course edit the numbering in script, between line 194-202

    var num_count = 0;
                    $('.media-item').each(function(e) {
                        num_count++;
                        if(typeof massedit[0] !== "undefined" && massedit[0].length > 0) {
                            $(this).find('.post_title .field input').val(massedit[0] + " (" + num_count + ")");
                        }
                        if(typeof massedit[1] !== "undefined" && massedit[1].length > 0) {
                            $(this).find('.image_alt .field input').val(massedit[1] + " (" + num_count + ")");
                        }

    change it to something like

    $('.media-item').each(function(e) {
                        if(typeof massedit[0] !== "undefined" && massedit[0].length > 0) {
                            $(this).find('.post_title .field input').val(massedit[0]);
                        }
                        if(typeof massedit[1] !== "undefined" && massedit[1].length > 0) {
                            $(this).find('.image_alt .field input').val(massedit[1]);
                        }

    I should note that it’s accessibility best practice to keep the title and alt text unique and descriptive, which is why we went with the numbering.

    Thanx! I needed to know it! If you can make it as option in your plugin it would be great!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Numbering in the title.’ is closed to new replies.