Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
NetObjects Fusion
Message
De
21/06/2004 21:35:28
 
Information générale
Forum:
Visual FoxPro
Catégorie:
ActiveVFP
Divers
Thread ID:
00915485
Message ID:
00915886
Vues:
12
Claude,

When you publish a site in NOF, it normally creates a directory named Assets, which is located at the same level as the Html directory. This directory contains all of the non-html files (both program-generated and and user supplied).

After further testing, I've only been able to successfully display the graphics when all of the files have been published into the same directory (no Html or Assets directories). I'm starting to think this is a problem with the way I'm publishing the files from NOF. However, if that's true, I would think that the graphics wouldn't display properly when opening the Html file directly IE.

Dan

>Dan, the images are relative to where your VFP mtdll is when the application is run. For example in the demo's default.htm, it looks like:
>
<img border="0" src="../../AVFPdemo2r/images/activeVFP.gif" width="166" height="28">
. This particular pathing also works when just editing in the HTML editor so it works in both the live application and when editing. You can test in NOF by bringing up the default.htm page that's used in the demo. The /AVFPdemo2r is a virtual directory, pointing to \AVFPdemo2r physical directory that that holds the images. I think the WebAppBuilder already does this for you - if it does, the images directory would be your app name +r. If it's there for your application, you should put your images in there. Otherwise, you could either create your own virtual/physical directory to hold your images...
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform