Feature proposal #5097
closedImplement CBLib API classes
Description
Pull out the API and turn it into CBLib API classes so it can be better utilized by other plugins and support auto loading. It show allow for easy gallery folder/item creation and display.
Updated by krileon over 9 years ago
This should function kind of like CB Activity. Basically a gallery API class that can render any gallery. Don't bother with heavy ajax functionality, but instead just use standard page views except use return handling like GJ is for returning to the correct location. This will allow custom galleries for basically anything.
Updated by krileon over 8 years ago
Asset usage will be more strict here. Stream was a different beast and needed global stream capabilities, but galleries will always be specific to their asset (as will 99% other API usages).
Updated by krileon over 8 years ago
Implement new way to pass stream parameters. Currently this is done via POST/GET variable, but as parameters are added this can get huge. Instead on gallery output store the params to user session by an id generated from asset (so it's obscured.. simple md5 is fine) then simply pass the id between pages to rebuild the gallery. This usage should be implemented in CB Activity as well. If the session data is lost and the id doesn't exist in session then the gallery construction should fail (and error).
Updated by krileon over 8 years ago
- Status changed from Assigned to Resolved
- % Done changed from 80 to 100