Changes to pdf_to_imagefield