base_path
and rename
can contain the following placeholders:{pk}
the primary-key of the entry (only for base_path
){uid}
the user-id of the current logged-in user{date:format}
the current date in the format defined in format
. For example {date:d.m.Y}
{random:10}
random string with N charactersbase_path
can, for example, look like the following:source
property relative to Voyagers storage-disk. There are a few optional arguments you can use:
position the position where the watermark is placed. Can be:width
and can pass height
and position
.
An example for fit
would be:width
and height
and can pass x
and y
.
An example for crop
would be:width
and/or height
.
Some examples for resize
:watermark
to true
for each thumbnail you want to insert the watermark to.