Converting a simple plugin to be placed inside of functions.php

add_action('plugins_loaded', 'initialize_custom_image_sizes');

plugins_loaded is fired off way before functions.php is included. Change that hook to init.

http://codex.wordpress.org/Plugin_API/Action_Reference#Actions_Run_During_a_Typical_Request