SharePoint: Hiding Destination Library option when uploading assets

SharePoint 2013 provides users with the ability to upload photos directly from pages that they are editing. This is a nice piece of functionality that avoids the user from first having to upload these photos manually.

But what if you want to have finer control over this? From what I’ve found, there is no way to confine images to reside in one library while other file types default to another library. Sometimes this additional choice just confuses users and then you end up with images spread out unnecessarily across multiple libraries.

In this post I will run through a brief example of creating a sandbox solution that works around this issue using jQuery.
Continue reading...