Hi there — I'm having a problem on an Umbraco Cloud site where images aren't being cropped or resized. Regardless of which parameters being fed, the images are returned fully uncropped and unresized.
This is Umbraco v10.3.2 on Umbraco Cloud - it works neither on the cloud server, nor in my local clone. No messages in the logs whatsoever.
I'm leaning towards ImageSharp (or whatever it's called in v10+) not getting the requests at all, but I cannot for the life of me figure out where to start looking for something that bypasses it...
Thanks in advance,
/Chriztian
a
Ambert
08/18/2023, 8:07 PM
Out of my head, didnt it had something to do with the usestaticassets in the startup.cs?
Ambert
08/18/2023, 8:07 PM
That you have to remove it?
c
Chriztian Steinmeier
08/19/2023, 6:26 AM
@Ambert Thanks - there is a
.UseStaticFiles()
call in there that sets up some extensions for some custom file types - if I remove that, it works again. I guess I'll have to figure out how to get those working without circumventing ImageProcessor/ImageSharp then...