updated functions.php for image sizing