gallery str replace prettyphoto 4