Images out of database #115, fix error on resize image