add tips and resize images