Hi,

I had a request from content admin to be able to see the file names when editing a node. Basically they needed to delete a specific photo. They knew the file name but the other photos looked a like and the thumbs were too small. I don't think its needed to edit the file name but I made it an input field so it would expand all pretty like when clicked on. Setting the field to disabled kept the field from expending. Its not perfect but Anyways,

Here is what I added,

Line 271 - plup.module

before;

$output .= '<a class="plup-remove-item"></a>';
if (isset($element['#plup_override']['title_field']) && $element['#plup_override']['title_field'] == 1) {

after

$output .= '<a class="plup-remove-item"></a>';
$output .= '<input type="text" class="plup-thumb-filename form-text" name="ignore[]" value="'. $item['filename'] .'" />';
if (isset($element['#plup_override']['title_field']) && $element['#plup_override']['title_field'] == 1) {

Line 155 = plup.css

.plup-thumb-filename{
font-size:10px;
background-color: #F7F7F7!important;
color: #666!important;;
margin-bottom: 5px!important;;
}
CommentFileSizeAuthor
#1 Capture.JPG65.78 KBtimefor

Comments

timefor’s picture

StatusFileSize
new65.78 KB

Photo Attached.

Anonymous’s picture

I don't see any reason to do so. Only thing I would consider is adding the file name as title of the image on the edit form.

Anonymous’s picture

Status: Active » Closed (fixed)

#2 added into latest dev.