Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Bogdan 250 posts 427 karma points
    Oct 02, 2013 @ 12:57
    Bogdan
    0

    Get custom media file size

    Hi,

    I have a custom media item (which will serve as a download), that has two file uploads, one for a thumbnail and one for the download file. I've added an umbracoBytes label, and the alias of the download file is umbracoFile. Soon after saving the item the size is filled in correctly, but when I open the media node again the value is gone, and media.umbracoBytes and media.GetPropertyValue("umbracoBytes") are empty. Any suggestions?

    Thanks!

    P.S. Umbraco version is 6.1.6, upgraded from 6.1.5 by overwriting the bin files.

Please Sign in or register to post replies

Write your reply to:

Draft