Documentation ¶
Overview ¶
Gracefully handle image uploading and thumbnail creation.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func LimitFileSize ¶
func LimitFileSize(maxSize int64, w http.ResponseWriter, r *http.Request)
Limit the size of uploaded files, put this before imageupload.Process.
Types ¶
type Image ¶
func ThumbnailJPEG ¶
Create JPEG thumbnail.
func ThumbnailPNG ¶
Create PNG thumbnail.
func (*Image) ThumbnailJPEG ¶
Create JPEG thumbnail from image.
func (*Image) ThumbnailPNG ¶
Create PNG thumbnail from image.
Click to show internal directories.
Click to hide internal directories.