Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
Hi everyone
I'm using umbracoHelper.Media() to get a media object, and then GetPropertyValue("umbracoBytes") to get the file size.
umbracoHelper.Media()
GetPropertyValue("umbracoBytes")
However, the file size that is stored in the backoffice and returned is incorrect.
Should I go directly to the filesystem to get the correct value, i.e. is this a bug?
I've seen a lot of posts about umbracoBytes and I can't work out if it is a problem that has already been resolved.
umbracoBytes
Thanks
Muiris
is working on a reply...
Write your reply to:
Upload image
Image will be uploaded when post is submitted
umbracoBytes returns the wrong value
Hi everyone
I'm using
umbracoHelper.Media()
to get a media object, and thenGetPropertyValue("umbracoBytes")
to get the file size.However, the file size that is stored in the backoffice and returned is incorrect.
Should I go directly to the filesystem to get the correct value, i.e. is this a bug?
I've seen a lot of posts about
umbracoBytes
and I can't work out if it is a problem that has already been resolved.Thanks
Muiris
is working on a reply...