dynamic title generating and gallery completion