try to use theme('image', $variables); It affects the possibility to override it I think.