You have to set the inline file size. Go to General Settings, than Topic Display Options and set a value in

Max Size for inline uploaded images
If an image is attached to the post, if it is smaller than the specified size (in bytes) it will be displayed in the post.