Copied to clipboard

Flag this post as spam?

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


  • Anton 135 posts 186 karma points
    Mar 30, 2016 @ 16:34
    Anton
    0

    How to add multi media picker to grid layout?

    How to add multi media picker to grid layout? how I can create custom editor for adding a lot images there?

  • Dennis Adolfi 1082 posts 6446 karma points MVP 5x c-trib
    Mar 31, 2016 @ 06:51
    Dennis Adolfi
    100

    Hi Anton!

    A quick way of solving this (if your Grid editor allows macros) is to create a Gallery macro. The best about that is that there´s already a snippet for a Gallery that you can use:

    Create a new macro partial "Gallery" and choose snippet "Gallery", and remember to tick the box "Create macro".

    enter image description here

    Go to the macro and tick the box "Use in rich text editor and the grid, and go to tab "Parameter". Add a new parameter with alias "mediaIds" and Type "Multiple Media Picker".

    enter image description here

    Now, in your grid, Insert a macro and select the Gallery macro, then you can select the images from your Media section:

    enter image description here

    Its not a Custom ediotor, but another way of solving it. Hope that it helps. Have a great day!

  • Anton 135 posts 186 karma points
    Mar 31, 2016 @ 07:52
    Anton
    1

    Thank you!) I will try

  • Dennis Adolfi 1082 posts 6446 karma points MVP 5x c-trib
    Mar 31, 2016 @ 07:58
    Dennis Adolfi
    0

    Awsome! :)

    Good luck with the rest of your Umbraco site and have a great day!!

  • Pedro Adão 43 posts 80 karma points
    Oct 04, 2016 @ 16:18
    Pedro Adão
    1

    Thanks! You just saved my day! =)

  • Dennis Adolfi 1082 posts 6446 karma points MVP 5x c-trib
    Oct 05, 2016 @ 06:15
    Dennis Adolfi
    0

    Glad i could be of help Pedro! :)

    Have a great day!

Please Sign in or register to post replies

Write your reply to:

Draft