The best way to approach the creation of your content repository is to look for third-party software. That way, you don't need to focus on the back-end and figure out the logic of building one yourself, and you can dedicate your efforts to creating a content taxonomy that makes sense to you. Digital asset management is the most popular option for the image repository needs.