uploading images to post not showing error but not displaying