Updated image loader