Drupal : how to get file size of an image in views
I'm开发者_如何学编程 build an image gallery and want to display the filesize of an image along with the image thumbnail in a view. Can't figure out how to access this information and display it.
Looked around for a module but can't find any. I am turning around.
Glad if someone could give me a clue to start with.
You can add a relationship in the views UI to the files table. That'll give you access to the file size, mime type, etc.
精彩评论