Please check the right of large and medium folder in images directory, these should be 777.
I was stuck at the same issue but after debugging after many hours this was minor setting.

Hopefully it will work.