debug: post_img can't be .jpg. Give a valid image name or nothing