Copied to clipboard

Flag this post as spam?

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


  • Biagio Paruolo 1621 posts 1914 karma points c-trib
    Nov 01, 2013 @ 18:05
    Biagio Paruolo
    0

    Upload Field data from Razor Form. How assign data.

    Hi,

    I create a razor form to update member data.

    So, I've an upload file field on the form and I upload data via post and I use GetImageFromRequest from WebImage Helper.

    I assign file path to upload datatype with currentUser.getProperty("foto1").Value = newFileName;

    Data are right uploaded, but into Umbraco backoffice I see file path and not thumbnail ( see image ). Why?

    Thank you

  • Nikola Romcevic 26 posts 139 karma points
    Nov 07, 2013 @ 16:20
    Nikola Romcevic
    0

    I'm no way near an expert so I might be totally wrong. But here is my thought.

    Could it be that there is no thumbnail to show?

    For every image I have uploaded in Umbraco backend, it seems Umbraco has created an extra thumbnail. For example, in my wwwroot/Media-folder I have image.png and image_thumb.png.

    Maybe since you are not using Umbraco to upload the file you need to create your own thumbnail.

  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies