svip/ToyGallery — Issue #16: Create ability to make it a multi user gallery
Author: svip
Created: 2011-12-20 08:44:18+00:00
State: open
Labels: Enhancement

The last major feature of 1.0; create a switch $MultiUserGallery = true; to make the gallery akin to say DeviantART and other multiuser galleries around the Internet.

The front page will thus become a fixed list of images ($FrontPageGalleryLimit = 30[1]) showing the newest images by all users, who want their image displayed on the front page.

Each user will get their own page, akin to the current user page, but with the PATH equal to /gallery/ and all subsequent directories (/gallery//path/) are subdirectories.

This will be limited to uploader, but artists can also get galleries if $MultiUserArtistGalleries is true, even if they are not the uploader.

An additional minor alteration is needed; if a user, who is considered an artist, uploads an image with the 'Me' drop down selection, image_artist should be set to the same as user_id.

[1] Can be set to 0 or less for no limit, but for a $MultiUserGallery that would be unwise; only used on !$MultiUserGallery when $LimitSingleUserGallery is true.