Skip to content

FileFieldTweaks

Roland Toth Pal edited this page Oct 28, 2019 · 2 revisions

File and image field enhancements

  • Filter box: add a text input next to field label to filter images (or files). If there's no match typing is not allowed. You can clear the input clicking on the "X" button on the right or using the Escape key. The filter box is visible only if there are at least 2 items to filter (changed dynamically on uploading items).
  • Add asset download link: adds download links (icons) to image or file assets. In case of images, the icon is located to the right of the Edit buttons after you click on an image. The original image will be available for download. For file fields the icon is appended to the fields' label. Note: the download link uses the "download" HTML5 attribute which is not available n IE - in this case the link will open in a new tab/window.
  • Show image titles in image select dialog: by default when inserting an image to a CKEditor field the image select dialog shows images without titles. Check this to add titles to the images. If there's no title (which you can enter to the "description" field for images) the text "Untitled" will be shown. Under the title the name and extension of the image is shown.
  • Add move to first/last buttons: adds icons to move current filelist/imagelist item to the first or last position.
  • Disable filename truncation for File fields: filenames displayed are cut to 20 characters by default. This tweak removes this limitation and shows the full name. If enabled, the delete button is not positioned to the right but right after the filename to avoid display issues when the filename spans to multiple rows.

Filter box and download asset link:

FilefieldTweaks

Show image titles in the image select dialog:

ShowImageTitles

Clone this wiki locally