luadocs/content/lua.api.manual/events/post-import-image.md

665 B

title id weight draft author
post-import-image post-import-image 80 false people

event

This event is triggered whenever a new image is imported into the database. This event can be registered multiple times, all callbacks will be called. The call is blocking.

post-import-image.callback

function(
  event : string,
  image : types.dt_lua_image_t
)
  • event - string - The name of the event that triggered the callback.
  • image - types.dt_lua_image_t - The image object that has been imported.

post-import-image.extra registration parameters

This event has no extra registration parameters.