Results 1 to 4 of 4

Thread: Pict in a WebView section does not appear in Web Preview

  1. #1
    Senior Member
    Join Date
    Feb 2012
    Location
    Germany, near Jena and Weimar
    Posts
    258

    Pict in a WebView section does not appear in Web Preview

    A pict listed under "Image Files" of an App, I reference in a WebView section by img src="pict.jpg". The pict appears in DevView und DeskView but not in WebPreView! In this case, it will be searched in a temp directory. How should be the img src - reference?

  2. #2
    Hi gcjm,

    Have you deployed the app using the deploy option?

    You need to make sure all your files are deployed so the web server can see them.

    Herb

  3. #3

  4. #4
    Lianja Support Team lianjasupport's Avatar
    Join Date
    Feb 2012
    Location
    Boston USA, Wokingham UK
    Posts
    1,259
    Is your WebView Section based on an rsp script? If so, open the Web App View, click Deploy, then click Preview (or open your browser and go to http://localhost:8001 and open the App from there). You should see your image correctly. (If not, check the inspector in the browser and see if there are any errors.) The Web App View is looking for the image in the temporary directory where the code it generated instead of the App's directory.

Bookmarks

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Journey into the Cloud
Join us