It is a Image-mediatype and I have tried with several image-files (jpg and png).
I have just testet if the umbracoBytes and umbracoType properites are update if it is a File-mediatype. And that doesn't work either :-( But works with drag'n'drop.
That's really weird - I don't suppose you have added some custom event handling when images are uploaded that could be the cause? Or make use of some 3rd party stuff that could cause it either?
I don't recall seeing this on 4.11.10...but it's of course been a while since I last laid hands on that particular version but I'm 90% sure it should just work as usual.
I have no clue aswell. We have several sites running the exact same code. And they are all running just fine.
The solution at the moment is that the editors have to use drag-n-drop. And I have just made some C# code that traverse all Images and updates the properties from the image-file.
Upload image - umbracoWidth/Height/... is not updated
I have this strange issue with Umbraco 4.11.10.
When uploading an image in the Media-section the umbraco-properties (umbracoWidth/Height/Bytes/Extension) are not updated.
I tried with "debug" level in log4net settings but theres i nothing in the logfile regarding uploading an image.
Do anybody have a clue on what is wrong?
/Mikkel
Hi Mikkel
What type of Image is it? How are you uploading it? Is it using the Desktop media uploader or from within Umbraco manually or using drag'n'drop?
And it's not because it's accidently uploaded as a "File" rather than an "Image"?
/Jan
Hi Jan
I doing it just like old plain upload. Using the upload form "Choose file" button. No magic/fancy upload features.
I have also tried creating another mediatype and that has the same issue :-(
/Mikkel
Hey it works with the drag-n-drop feature :-)
But why does it not work with the form-upload? Could it be some IIS settings?
/Mikkel
Hi Mikkel
Hmm, what image type was it again? (jpg, png, something else?).
Not sure why it would work using drag'n'drop and not using the other approach unless you choose "File" when you create the media node.
/Jan
It is a Image-mediatype and I have tried with several image-files (jpg and png).
I have just testet if the umbracoBytes and umbracoType properites are update if it is a File-mediatype. And that doesn't work either :-(
But works with drag'n'drop.
Hi Mikkel
That's really weird - I don't suppose you have added some custom event handling when images are uploaded that could be the cause? Or make use of some 3rd party stuff that could cause it either?
I don't recall seeing this on 4.11.10...but it's of course been a while since I last laid hands on that particular version but I'm 90% sure it should just work as usual.
/Jan
Hi Jan
I have no clue aswell. We have several sites running the exact same code. And they are all running just fine.
The solution at the moment is that the editors have to use drag-n-drop.
And I have just made some C# code that traverse all Images and updates the properties from the image-file.
/Mikkel
is working on a reply...