Add ability to put image in multiple folders

An image can now be in more than one folder. If the "folder" parameter is an array, the image will appear in more than one folder. Additionally the folder names are sorted alphabetically before being displayed.