Hello! I do not know very well the php ...
What code should be added to image.php to display the resolution and size (height and width, size in kilobytes or megabytes) of the large (original, full) image?
For example, it works in the admin panel - displays: Dimensions, Size.
Comments
So, for instance, if you do a search of the source for "Dimensions:" {the source code is in English} you will find the line in admin-edit.php that displays the height and width. Below that line is the code for the size.
'
<?php echo gettext("Original Size:"); ?>
" title="<?php echo getBareImageTitle();?>">
<?php echo getFullWidth() . "x" . getFullHeight(); ?>px
'