Copied to clipboard

Flag this post as spam?

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


  • Alan Mac Kenna 147 posts 404 karma points MVP c-trib
    Sep 26, 2013 @ 01:19
    Alan Mac Kenna
    0

    The Media Section and DAMP

    Hi all,

    I have a question on the best practice setup of DAMP. I am using it with an Image Cropper and I allow the user to select the content from the Media Section using DAMP. This works fine and allows the user to set the crops through DAMP while also restricting the type of image that is created (I have a custom image document type with specific crops set up that I want to use with that DAMP property and DAMP points to the specific parent folder in the Media Section where I want to store those image types).

    My problem is that the user still has access to the Media Section, and could get confused by going into the Media Section and use the built-in Multiple Image uploader to upload images (which will create images with the default image doctype... ie not the custom one I want with my custom crop properties). Or they could simply create a new image and choose the wrong image doctype. I'm aware that I can create a custom folder doctype that only allows my custom image doctype as a child but I'm wondering is there a better way? Especially since I've set it up as is already, and to create custom folder doctypes for each type of custom image doctype that I have will be a pain!

    Removing the Media Section using User Permissions isn't an option as it stops DAMP from working because it obviously pays attention to those permissions.

    Any recommendations out there?

    Thanks to Jeroen for a great package btw :)

  • Jeroen Breuer 4861 posts 12138 karma points MVP 3x admin c-trib
    Sep 26, 2013 @ 09:38
    Jeroen Breuer
    0

    Hello,

    It might be nice to have a look at the DAMP Gallery. That has some best practises for if you use the default Image Cropper.

    You can also have a look at the Hybrid Framework. There I'm using DAMP with CropUp.

    Jeroen

Please Sign in or register to post replies

Write your reply to:

Draft