My understanding is that chromium which reacts with gelatin when used as a hardener has an affinity towards the silica in glass and it is able to help the gelatin bind to a glass substrate.