Our use-case is to disallow users from displaying the full-size image from CONTENTdm. I would like an admin option to choose whether the user gets the ability to do that. Patch to follow.

CommentFileSizeAuthor
#1 image-size-1331396-1.patch2.14 KBlaken

Comments

laken’s picture

StatusFileSize
new2.14 KB

Here's the patch. After I coded this it occurred to me that it might be desirable to implement stuff like this as permissions rather than a simple toggle, so it could be role-based, but I think this is good for now, and keeps the settings in one place. Let me know what you think.

markj’s picture

Status: Active » Closed (fixed)

Awesome -- tested and pushed to -dev in commit 2e501db.

Thanks!