Removed unnecessary code from image cataloging loop.
Removed unnecessary code from image cataloging loop.

jelmersnoeck/gofpdf,josuehennemann/gofpdf,tgulacsi/gofpdf,jung-kurt/gofpdf,Lostmyname/gofpdf,ledongthuc/gofpdf,jelmersnoeck/gofpdf