Question

I have simple Image field, its file path is set to field/image so when you upload a file, its path is something like /sites/default/files/field/image/image.jpg.

But when I create content and upload the file, first of all, the thumbnail preview doesn't show up and when saved, the image is not loaded, because for some reason it's calling a wrong path of sites/default/files/styles/large/public/field/image/image.jpg.

But why? Why that path? There's no such path. Who is calling the wrong URL? It should call the correct path where the picture was uploaded and that's /sites/default/files/field/image/image.jpg.

I've tried using "Original Image" for the image field display, instead of the "Large" style, but no matter what I use, /styles/large/public/ is added to the URL.

Permissions are correct on the /sites/default/files folder (the original image is uploaded successfully), there are no related errors in the dblog report, and there's no problem with GD/Imagemagick in the status report.

What could be adding the extra part to the image URL?

No correct solution

Licensed under: CC-BY-SA with attribution
Not affiliated with drupal.stackexchange
scroll top