Photo

Photo model containing base informations about uploaded image and original/thumbnail URLs


Public fields

Field name Type Description
id numeric ID of photo in database
slug string Unique slug of the image
orig_name string Original filename
size numeric Image file size in bytes
extension string Image file extension, as stored on server
orig_uri string Absolute URL of full-sized image
thumbnails array Array of absolute URLs of specific thumbnail sizes (by default 100 and 300) [czyt. Hembinails]