Callback functionality for deferred loading images