// Function to set image dimensions // Function to reset image dimensions