I recently uploaded my site to a live server and the following issue occurs.
When I add an image to a node and check the url from the admin view it all looks fine and the image displays if I open this very url.
http://example.com/sites/default/files/field/image/cocktail.jpg
However when I view these nodes on the site the images don't appear and the url path changes to
http://example.com/sites/default/files/styles/large/public/field/image/cocktail.jpg
I went into the server and manually created this path (it did not exist before) and uploaded the image. Of course it worked, but I can't expect the client to do this.
Why does it look for the image under a different url in production mode?
I was thinking that it's related to Image Styles. In that case why are the styles actually not created automatically?