Prepare images