Added support for floating images