this commit will be merged with the others when the chages are accepted
Add the image controller to use the obsolete load_and_authorize_resource and authorize_resource methods in the gem