Hello, As we can show the date or the owner, I wonder if there is an option in Gallery2 for showing file size for image ? It can be helpful when you want to download an image. Thanks
for all non-album items (images, videos, ...) you can get the filesize with $item->getSize(). So yes. You just have to modify the template.
in a local tpl file you can use {$layout.item.size} or {$child.size} depending on where you're using it.
Posts: 32509
for all non-album items (images, videos, ...) you can get the filesize with $item->getSize(). So yes. You just have to modify the template.
Posts: 8601
in a local tpl file you can use {$layout.item.size} or {$child.size} depending on where you're using it.