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.
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.?
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.
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?
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?
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.
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:
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.
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
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
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
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
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
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
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
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:
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
Yes - smart tags is actually a custom control. I would be happy to contribute.
Cool :-). You can send me a request to collaborate. What is your Codeplex username so I can also add you there?
Jeroen
Is the source of Michael's modification available anywhere. We'd be quite interested in using it.
Its available on the codeplex site for the project.
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.