gallery str replace prettyphoto 5