X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=EVENTS.txt;fp=EVENTS.txt;h=1a6cba63165b3337485cd9b71ae4a1cad65c1705;hb=adf896bc12f7578196f3a93301e6777ef08174db;hp=fffaa20fd06d1a6f7cf032a0eca858a76a876cbc;hpb=3f9a16dc587b86b8912bc5a00dd1800c6475f73d;p=quix0rs-gnu-social.git diff --git a/EVENTS.txt b/EVENTS.txt index fffaa20fd0..1a6cba6316 100644 --- a/EVENTS.txt +++ b/EVENTS.txt @@ -1459,6 +1459,11 @@ CreateFileImageThumbnailSource: Hook to create image thumbnail source from a Fil - &$imgPath: Path to image file which can be used as source for our thumbnail algorithm. - $media: MIME media type ('image', 'video', 'audio' etc.) +StartResizeImageFile: Hook to resize an image and output it to a file. No matching End event yet. +- $imagefile: ImageFile object we're resizing. +- $outpath: string with output filepath +- $box: array with size ('width', 'height') and boundary box('x', 'y', 'w', 'h'). + StartShowAttachmentRepresentation: Attachment representation, full file (or in rare cases thumbnails/previews). - $out: HTMLOutputter class to use for outputting HTML. - $file: 'File' object which we're going to show representation for.