We are no longer offering accounts on this server. Consider https://gitlab.freedesktop.org/ as a place to host projects.

  • mattl's avatar
    Dynamically generate thumbnails (see full text) · d59eb5e1
    mattl authored
    The File object now stores width and height of files that can
    supply this kind of information. Formats which we can not read
    natively in PHP do not currently benefit from this. However an
    event hook will be introduced later.
    The CreateFileImageThumbnail event is renamed to:
    CreateFileImageThumbnailSource to clarify that the hooks should not
    generate their own thumbnails but only the source image. Also it now
    accepts File objects, not MediaFile objects.
    The thumbnail generation is documented in the source code. For
    developers, call 'getThumbnail' on a File object and hope for the best.
    Default thumbnail sizes have increased to be more appealing.
EVENTS.txt 51.5 KB