Show image and Generate PDF