If you want to be able to manage media from the media section only then you need to make sure media is uploaded to the media section exclusively. Otherwise there is no media node created if you're using the upload datatype on a content node. Then the uploaded file will be saved on the media folder on the disk.
So instead of using the upload type use the "media picker" instead, which makes it possible for you to choose a file from the media section instead. That way all media will be possible to manage in the media section.
How to custom handler Upload file in a Content
Hi all,
I have a prolem when upload file image. When upload file in a content I want to save file to Media section.
Becase I want modify all files in Media section when I uploaded.
Thanks.
Hi Phuong and welcome to our :)
If you want to be able to manage media from the media section only then you need to make sure media is uploaded to the media section exclusively. Otherwise there is no media node created if you're using the upload datatype on a content node. Then the uploaded file will be saved on the media folder on the disk.
So instead of using the upload type use the "media picker" instead, which makes it possible for you to choose a file from the media section instead. That way all media will be possible to manage in the media section.
I hope this helps.
/Jan
Thank Jan.
But have you solution for custom handle when we upload image?
I want with each Image uploaded will is a node in Media section.
Becase I don't want using media picker. :)
Thanks,
Phuong
is working on a reply...