splash images, resize code etc