Redesigned inline image internals using unique IDs.