Documentation ¶
Overview ¶
Package imager handles image, video, etc. upload requests and processing
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewImageUpload ¶
func NewImageUpload(w http.ResponseWriter, r *http.Request)
NewImageUpload handles the clients' image (or other file) upload request
func UploadImageHash ¶ added in v2.6.0
func UploadImageHash(w http.ResponseWriter, req *http.Request)
UploadImageHash attempts to skip image upload, if the file has already been thumbnailed and is stored on the server. The client sends and SHA1 hash of the file it wants to upload. The server looks up, if such a file is thumbnailed. If yes, generates and sends a new image allocation token to the client.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.