src
query string parameter.example.com/images
is the route to our private server that hosts our image library. After creating this source, we can access all images that are stored in the images
via LibPixel by using the Path defined earlier.robor.libpx.com/images
and from this Path you can get the images delivered faster and processed according to the parameters you define. s3:GetObject
. An example IAM Policy to allow S3:GetObject
on a specific bucket (named libpixel-uploads
here, which you must modify to your own bucket name) is:s3:PutObject
and s3:PutObjectAcl
. For example:src
query string parameter makes the most sense when images are fetched from multiple different domains. A good example is an application or website where users submit image URLs, which you wish to resize or modify before displaying them.src
parameter needs be escaped correctly (e.g. in JavaScript by using encodeURIComponent
). But, if you are using any of the LibPixel Client Libraries then you do not have to worry about it since they handle it automatically.src
parameter. This is to prevent third parties from using your LibPixel account for their own purposes. You can use Secure URL Generator for this purpose. src
tag of an img
element like: