ImageController

ImageController

Controller for image services.

Constructor

new ImageController()

Source:

Methods

Get HttpLink appended with append

Source:
Parameters:
Name Type Default Description
append string ""
Returns:
Type:
HttpLink

Get an image link with size

Source:
Parameters:
Name Type Description
id string
size string

(100px, 300px, 600px or 1200px)

Returns:
Type:
string

upload(image) → {Promise.<any>}

Upload an new image

Source:
Parameters:
Name Type Description
image

Image in base64 format

Returns:
Type:
Promise.<any>