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?
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.
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?
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.
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
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
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?
Can you post a screenshot of how your image cropper datatype looks like and also a screenshot of your media type properties?
Jeroen
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.
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
is working on a reply...
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.