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
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
After alot of trials, i have done the obvious and translated the whole block for different languages with each property condition as follows: ->propertyCondition('langcode', 'en...
How to get the current page language?
Thanks so much! It's working now: I was able to transfer the docroot files to the containing directory without the need for a second database or any manual configuration export/import/sync...
Backup & Migrate Config: There was a problem creating field...database table with the name already exists.