image in pdf conditional platform