Forum Replies Created

  • vilaca

    Member
    12 juillet 2024 at 13h46 en réponse à: Session storage photo IOS

    Bonjour Emmanuel,

    j’ai trouvé finalement,

    <div>
    <div>Set( imgJSON, JSON(Image4.Image,JSONFormat.IncludeBinaryData));</div>

    <div>Switch(Mode,</div>
    <div> “VIEW”,</div>
    <div> If(CountRows(CameraPhotos) <=30, Collect(CameraPhotos, {Nb:CountRows(CameraPhotos),Photo:imgJSON})),</div>

    <div> “NEW”,</div>
    <div> If(CountRows(CameraPhotos) <=30 ,Collect(CameraPhotos,{Nb:CountRows(CameraPhotos),Photo:imgJSON})) </div>
    <div> ;)</div>
    </div>
    <div>l’avantage de photo en json, vu que la prise de photo est dynamique, je ne sais pas combien de photo l’utilisateur va faire, je la structure donc en json et la resort du json quand il y a le besoin.</div>