Copied to clipboard

Flag this post as spam?

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


  • Phuong 6 posts 36 karma points
    May 05, 2014 @ 18:12
    Phuong
    0

    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.

  • Jan Skovgaard 11280 posts 23678 karma points MVP 10x admin c-trib
    May 05, 2014 @ 18:57
    Jan Skovgaard
    0

    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

  • Phuong 6 posts 36 karma points
    May 15, 2014 @ 12:09
    Phuong
    0

    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

Please Sign in or register to post replies

Write your reply to:

Draft