Copied to clipboard

Flag this post as spam?

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


  • Fuji Kusaka 2203 posts 4220 karma points
    Oct 11, 2012 @ 09:15
    Fuji Kusaka
    0

    Attaching an Image Upload to a Pdf file in Media Section

    Hi Guys,

    I would like to know if its possible to crop an image uploaded with and a pdf file in the Media Section.

    The idea would be to create a new Media Type to upload Pdf files and as options attach an image. However the admin should be able to crop the Image Uploaded.

    Is the Cropping part possible with Ucomponents for example?

    //fuji

  • Jeroen Breuer 4861 posts 12138 karma points MVP 3x admin c-trib
    Oct 11, 2012 @ 09:27
    Jeroen Breuer
    0

    You could create a new media type which has 2 file uploads. 1 for the pdf and 1 for the image. Than you create a new cropper datatype and let it point to the image property of the new media type. Place that cropper on the media type and it should work.

    Jeroen

  • Fuji Kusaka 2203 posts 4220 karma points
    Oct 11, 2012 @ 12:22
    Fuji Kusaka
    0

    This is exactly what i did but the cropper aint working. Whenever i upload an image and select the cropping option i dont see the image that should be used as crop.

    Any thought what am doing wrong here? ... Would it be the way of pointing the image cropper to the image property? 

  • Jeroen Breuer 4861 posts 12138 karma points MVP 3x admin c-trib
    Oct 11, 2012 @ 14:19
    Jeroen Breuer
    0

    Can you post a screenshot of how your image cropper datatype looks like and also a screenshot of your media type properties?

    Jeroen

  • Fuji Kusaka 2203 posts 4220 karma points
    Oct 11, 2012 @ 15:34
    Fuji Kusaka
    0

    Am using the custom image cropper btw. 

    Here is a screenshot of my media section with a pdf file selected and image uploaded. As you can see i have no preview from my image Preview for cropping the image.

  • Fuji Kusaka 2203 posts 4220 karma points
    Oct 18, 2012 @ 13:46
    Fuji Kusaka
    0

    Finally got it working, my mistake was i mess up with the Aliases. 

    I changed the Alias from umbracoFile for the pdf file to pdfUpload and use umbracoFile for image and imageCropper.

     

    //fuji

  • 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