i resoileve it
for me it was a a problem with the langue file
in french there is some ' who can broke the code
so i change some words here in french.php
[code:1]DEFINE("_pg_DeleteWarning","Etes-vous sur de vouloir supprimer la photo sélectionnée? La photo sélectionnée sera supprimée et ne peut pas être annulée!"«»);[/code:1]