When using Add media button in wysiwyg+tinymce and image is uploaded/chosen, there is a drop-down box with formats: Link, Preview, Large, Original. Large is default and when it's used, the url is like http://localhost/sites/default/files/styles/large/public/file.jpg which doesn't exist. If Original is used, the url works as expected.
Since this is default behaviour, it's a kind of bug unless it's documented and solution for immediate style generation is provided. Where is this documentation? And why not just simply set Original as default?
Comments
Comment #1
dave reidDrupal's image styles require at least one initial request to generate an image style derivative. When you reload the page does http://localhost/sites/default/files/styles/large/public/file.jpg suddenly work?
Comment #2
ogi commentedIt turns out that 404 HTTP error wasn't handled by my Drupal and so images were not generated. This is a hard requirement for image module to work so I documented it in flushing section of http://drupal.org/documentation/modules/image