Considering files[0] /home/.../picwoodpecker/2016_11_11_12_50_13_0.jpg photo data NOT defined for files[0] filled photo data for current: files[0] draw_photo got: /home/.../picwoodpecker/2016_11_11_12_50_13_0.jpg|2272|1704|undef|undef|THUMB|PHOTO GD Warning: one parameter to a memory allocation multiplication is negative or zero, failing operation gracefully