Sometimes, as site administrator, I need to check the detail of files that have been uploaded to the site and are listed in the 'Manage files' listing (which is a very useful addition to BD). This is particularly the case for two of my sites where a large number of image files have been accumulated, several being added each month.
Difficulties arise because two or more images may be listed with the same name because they have been used in different places in the site. They may be in different folders or Backdrop may have assigned them a revised basename. In some cases they may be differently sized versions of the same image.
I would like the 'Manage file' page that is linked from the 'Manage files' listing to display the available details for the file, in particular the uri which shows the location and basename, and also show the size of the file.
This can be done with a small addition to files\file.pages.inc
. Alternatively a view might be used. I have prepared a PR backdrop/backdrop/pull/2762 which adds to file.pages.inc
. This would benefit from improved styling.
Recent comments
Hello, @yorkshirepudding! Thanks a lot, I got it, all sorted out.
My layout template (layout--blog.tpl.php) doesn't work
Hi @Gnome and welcome to Backdrop When I create custom layout templates I put them in /layouts/custom/my_layout Note: you can split modules and layouts between contrib and custom...
My layout template (layout--blog.tpl.php) doesn't work
This post explains how to do this in Drupal 7. In Backdrop, File Entity is already part of core. You will need to download and install module Views Field View. https://drupal.stackexchange...
I Need to Display an Image in a View that was Uploaded to a Webform