Add image thumbnail to info
This MR aims to close issue #206 (closed)
ps.: I also noticed that the attach_file function was not receiving the file path, which meant that image upload was broken on master(?) and this should also fix that as well.
Edited by mairandomness