Issue #3292350 by O'Briat, KlemenDEV, hswong3i, smustgrave, quietone: Update the file size in file_validate_image_resolution after resizing
(cherry picked from commit 1a3d72bc) (cherry picked from commit 2340e939)
Closes #3437901