gallery str replace prettyphoto 2