CKFinder may be used in standalone mode inside any page, to create a repository manager with ease. You may define a custom JavaScript function to be called when an image is selected (double-clicked).
This sample is using the old "V1" integration method.