core, bridge: new imageGeneratePreview helped method to generate a thumbnail
This commit is contained in:
parent
8777bd07cb
commit
3686d7e036
1 changed files with 90 additions and 0 deletions
|
|
@ -972,3 +972,14 @@ doc_param_1=width: width of the new image
|
|||
doc_param_2=height: height of the new image
|
||||
doc_return=path of the new image with desired size
|
||||
the image must be deleted once not needed anymore
|
||||
|
||||
[imageGeneratePreview]
|
||||
async=
|
||||
type=method
|
||||
category=core
|
||||
sig_in=ss
|
||||
sig_out=s
|
||||
doc=Generate a preview of an image in cache
|
||||
doc_param_0=image_path: path of the original image
|
||||
doc_param_1=%(doc_profile_key)s
|
||||
doc_return=path to the preview in cache
|
||||
|
|
|
|||
Loading…
Reference in a new issue