]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - EVENTS.txt
MediaFile thumbnail event hooks + VideoThumbnails plugin
[quix0rs-gnu-social.git] / EVENTS.txt
index 0a1951d6403fb8b8f0ac8329dd550a547901a174..705a761358d9568c34dc476df457c3620e7075ca 100644 (file)
@@ -1440,3 +1440,8 @@ OtherAccountProfiles: Hook to add account profiles to a user account profile blo
             href: link to the profile
             text: text for the profile
             image: mini image for the profile
+
+CreateFileImageThumbnail: Hook to create image thumbnail source from a File
+- $file:    MediaFile object with related metadata
+- &$imgPath: Path to image file which can be used as source for our thumbnail algorithm.
+- $media:   MIME media type ('image', 'video', 'audio' etc.)