Copied to clipboard

Flag this post as spam?

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


  • Rajeev 126 posts 154 karma points
    Jul 28, 2011 @ 15:30
    Rajeev
    0

    Extending Digibiz advanced Media Picker with Additonal Fields

    Guys,

    I have a requirement to have links for N number of images and also have to provide title for the images.
    Could you advise me on which is the best approach for achieving the same.

    Is the digibiz advanced media picker, the right tool for this after extending that with additional fields. Or Already some control available for that.

    I tried with the embedded content, but it do not provide image preview.

    Please let me know

    Thanks in Advance,
    Rajeev

  • Jeroen Breuer 4908 posts 12265 karma points MVP 4x admin c-trib
    Jul 28, 2011 @ 15:57
    Jeroen Breuer
    0

    Hello,

    You could use the Digibiz Advanced Media Picker for this. If you want to add extra info to images you could add them to the media types. See this topic: http://our.umbraco.org/projects/backoffice-extensions/digibiz-advanced-media-picker/digibiz-advanced-media-picker/18919-To-the-author-new-project-planning-using-DAMP

    Jeroen

  • Rajeev 126 posts 154 karma points
    Jul 29, 2011 @ 09:37
    Rajeev
    0

    Jeroen,

    Thank you for the update and I appreciate that.

    I just require two text fields to capture information. I have downloaded the code and looked in to that.  If possible could you please provide some more information where to look at and after making changes what all things to package etc.?

     

    thanking you again,

    Rajeev

  • Jeroen Breuer 4908 posts 12265 karma points MVP 4x admin c-trib
    Jul 29, 2011 @ 09:43
    Jeroen Breuer
    0

    Do you still want to change the package? It's probably easier to update the media types. You can also create an extra media type (for example ImageInfo) which has the same properties as the Image media type with the additional properties you need. DAMP fully supports custom media types in the latest changeset.

    Jeroen

  • Rajeev 126 posts 154 karma points
    Jul 29, 2011 @ 10:26
    Rajeev
    0

    Thank you Jeroen for your quick update. 

    I prefer not to change change the package, if that has already available as an option for capturing additional info.

    One Field I would like to have for this control is for capturing  "Title/Alt" for the image.

    Another Optional Field will be Text Field to have Linked URLs so that we can have this control used as Image Links and no other specifc changes required if we have many images. I think I will have to change code for this. Without modifying the code just changing some properties, can I achieve this? 

     

    Thank you again,

    Rajeev

     

  • Michael Sims 119 posts 387 karma points
    Jun 20, 2012 @ 10:39
    Michael Sims
    0

    Jeroen,
    I am a bit confused. I also want to capture an alt text field for an image. I have added it to my custom media type and set it as mandatory but when creating and then selecting that image with DAMP it does not ask me to enter that field or throw an error. It sounds like you are suggesting this should be possible. Am I doing something wrong? If so, can you give me a pointer?

    Thanks
    Mike 

  • Jeroen Breuer 4908 posts 12265 karma points MVP 4x admin c-trib
    Jun 20, 2012 @ 11:16
    Jeroen Breuer
    0

    When DAMP creates a media item it doesn't know what fields are on it and which ones are mandatory. So after creating the media item you can click the edit button and add the alt field. There is no other good solution for this I'm afraid.

    Jeroen

  • Michael Sims 119 posts 387 karma points
    Jun 26, 2012 @ 16:12
    Michael Sims
    1

    Hi Jeroen,
    Thanks for the reply. I have taken the source code for the project and modified it so that when you choose the "Create" option it loads the additional properties for that media type in the modal window below the "Name" field.

    This means that you can enforce mandatory fields like "Alternative Text" for an image or give the option to add Tags to photos etc. You can even do additional files uploads. Example image below:

  • Jeroen Breuer 4908 posts 12265 karma points MVP 4x admin c-trib
    Jun 26, 2012 @ 16:14
    Jeroen Breuer
    0

    Wow that is great! Would love to add this to the source. I assume this also works with custom media types? I could add you as a contributor to the project if you want.

    Jeroen

  • Michael Sims 119 posts 387 karma points
    Jun 26, 2012 @ 16:33
    Michael Sims
    0

    Yes - smart tags is actually a custom control. I would be happy to contribute.

  • Jeroen Breuer 4908 posts 12265 karma points MVP 4x admin c-trib
    Jun 26, 2012 @ 16:40
    Jeroen Breuer
    0

    Cool :-). You can send me a request to collaborate. What is your Codeplex username so I can also add you there?

    Jeroen

  • suzyb 474 posts 932 karma points
    Aug 02, 2012 @ 16:56
    suzyb
    0

    Is the source of Michael's modification available anywhere.  We'd be quite interested in using it.

  • Michael Sims 119 posts 387 karma points
    Aug 02, 2012 @ 17:01
    Michael Sims
    0

    Its available on the codeplex site for the project.

Please Sign in or register to post replies

Write your reply to:

Draft