re #745 - Check on extension and filesize before trying to get the image dimensions
re #745 - Link press attachments to correct table
Merge branch 'refs/heads/feature/745-xml'