Upload PDF or DOCX to Extract First Page as Image