finish images gallery ajax template