Liking cljdoc? Tell your friends :D

burningswell.services.photos


content-type-extensionclj

(content-type-extension content-type)

Returns the filename extension from content-type.

Returns the filename extension from `content-type`.
raw docstring

create-profile-photo!clj

(create-profile-photo! {:keys [db] :as service} user photo & [opts])

Create the profile photo of user.

Create the profile `photo` of `user`.
raw docstring

dimensionsclj

The dimension used by the photos service to scale images.

The dimension used by the photos service to scale images.
raw docstring

download!clj

(download! service photo & [opts])

Create the photo.

Create the `photo`.
raw docstring

download-and-importclj

(download-and-import service photo)

Download the original image of photo and import it.

Download the original image of `photo` and import it.
raw docstring

download-imageclj

(download-image service {:keys [id] :as photo})

Download the original image of photo.

Download the original image of `photo`.
raw docstring

image-storage-keyclj

(image-storage-key service photo label content-type)

Return the storage key for photo, label and content-type.

Return the storage key for `photo`, `label` and `content-type`.
raw docstring

image-storage-urlclj

(image-storage-url service photo label content-type)

Return the storage url for photo, label and content-type.

Return the storage url for `photo`, `label` and `content-type`.
raw docstring

import-imageclj

(import-image service photo image)

Import the image of photo.

Import the `image` of `photo`.
raw docstring

resize!clj

(resize! service photo dimensions & [opts])

Resize the photo.

Resize the `photo`.
raw docstring

resize-and-importclj

(resize-and-import service photo original dimension)

Resize the original image of photo to dimension and import it.

Resize the `original` image of `photo` to `dimension` and import it.
raw docstring

resize-imageclj

(resize-image image dimension)

Resize image to dimension.

Resize `image` to `dimension`.
raw docstring

save-image-to-dbclj

(save-image-to-db {:keys [db] :as service} photo image)

Save the image to the database.

Save the `image` to the database.
raw docstring

save-image-to-storageclj

(save-image-to-storage service photo image)

Upload the image.

Upload the `image`.
raw docstring

serviceclj

(service & [opts])

Returns a photo service component.

Returns a photo service component.
raw docstring

Servicecljprotocol

-download!clj

(-download! service photo opts)

-resize!clj

(-resize! service photo dimensions opts)

update-photo-statusclj

(update-photo-status service photo status)

Update the status of photo in the database.

Update the `status` of `photo` in the database.
raw docstring

user-agentclj

The user agent string.

The user agent string.
raw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close