Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
What is the dbf format to hold an image
Message
De
06/04/2017 10:09:29
Dragan Nedeljkovich (En ligne)
Now officially retired
Zrenjanin, Serbia
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Photos et traitement d'images
Divers
Thread ID:
01649850
Message ID:
01649879
Vues:
88
J'aime (1)
>Yes, I meant this. If the Client has access to the server holding images, then HTML will contain links to the images. If the client doesn't have access to the server holding images, but the process that originally created the html does have access to these images, then we need to embed the images into HTML using data:uri format. In both cases we don't need to store actual images inside the table.
>
>then we need to embed the images into HTML using data:uri format. Do you have an example of code to do this?

then your line to generate the image inside html becomes
TEXT to lcHtml noshow textmerge
<img src="data:image/png;base64,<<strconv(lcFullPathToImage, 13)>>" alt="<<lcImageDescr>" />
endtext
Beware, it may become large. The Base64 encodes three bytes into four, so if your image is 300K, the string will be 400K.

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform