Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics RMS (Archived)

Net Display (Customer Monitor) - Cycling local images?

Posted on by Microsoft Employee

I want to cycle through images (slide show) for the bottom half of the net display. We just went live three days ago with three POS stations. We've got a couple of websites on there now (http://) and that's displaying fine.

From what I can tell, net display only works with HTML files. So if I want to show a JPEG or GIF file, I need to embed the image in a HTML file (a web page just sitting on the POS hard drive).   (I'm assuming I can't get away with just putting a JPEG file in the net display dialog box.)

Here's some sample code:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">

<head>

<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />

<title>Title Not Used</title>

</head>

<body>

<img name="ImageNameNotUsed" src="c:/CustomFiles/CustomerDisplayImage.jpg" width="1280" height="512" alt="" />

</body>

</html>

I save the HTML file and type the path:

c:\CustomFiles\CustomerDisplayImage.htm

Into the net display dialog box, but when I click "Preview" I get nothing.

 

FWIW, I also tried backslashes in the file path in the HTML file too, just in case. (I'm more of a Unix guy and that Windows doesn't follow Unix, Web, or Mac path conventions drives me nuts.)

Suggestions??

Thanks folks!

Andrew

 

p.s. Yes, I could just host the photos on our website online, but I don't want to use up the bandwidth pulling photos every 20 seconds.

*This post is locked for comments

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    Re: Net Display (Customer Monitor) - Cycling local images?

    Ok. I learned some things.

    - IIS does not need to be enabled to have an HTML file work.

    - RMS will display JPEG files without having them embedded in HTML files.

    With a 1024 x 1280 screen split to 512x1280, your JPEG file cannot be 512x1280 or it will cover part of the image with scroll bars. (Why? Don't know.) I had success with 471x1231 (you could probably eek out a few more pixels, but I know that works. 475x1235 is too big in both directions).

    I'm not sure what the issue was with our system, but it's working now.

    Thanks to those who sought to help.

    Andrew

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    Re: Net Display (Customer Monitor) - Cycling local images?

    Thanks, Jerry. I turned on IIS so that if I go to http://localhost/ in IE, the IIS screen comes up, so that's running now. I opened inetmgr and verified that the server is running---"start" is grayed out, but "stop" is not.

    Someone I know got his RMS to work just fine using a C:\folder\htmlfile.htm path in the Net Display dialog box. Mine still doesn't though.

    I copied my files into C:\inetpub\wwwroot and tried http://localhost/customfile.htm but got a 404 error. Just for kicks, I tried http://localhost/iisstart (which is the provided "welcome" HTML file in the same folder) in the dialog box and it comes up as a 404 also! A head scratcher.

    Microsoft sure didn't make this easy!

    Thanks!

    Andrew

  • Gerald Rothaus Profile Picture
    Gerald Rothaus 2,930 on at
    Re: Net Display (Customer Monitor) - Cycling local images?

    No. You must set up a web server, like iis, on your machine. Then the path to your page would be like http:\\localhost\yourwebpage.html. Has to be a virtual path too, I believe.

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    Re: Net Display (Customer Monitor) - Cycling local images?

    Thanks, Jerry, I really appreciate your efforts. Frustratingly, I'm still striking out. (Yes, I expanded the xhtml declaration that the forum software abbreviated above.)

    The only real difference in my html/xml file from the example immediately above is I have the height and width of the image specified. I even tried removing that specification and it still didn't work.

    In the dialog box, I have:

    c:\RMSNetDisplayFiles\CustomerDisplayImage.htm

    The format for that path is correct, right?

    I imagine it's something little and stupid that I'm missing. This isn't rocket science!

    1. I have a JPEG file in a directory/folder on the C drive.

    2. I have an HTML/XML file in the same folder that references the JPEG file.

    3. When I click on Preview for that image/file in the Net Display dialog box, I get nothing.

    Any other ideas? Thanks!

    Andrew

  • Suggested answer
    Gerald Rothaus Profile Picture
    Gerald Rothaus 2,930 on at
    Re: Net Display (Customer Monitor) - Cycling local images?

    <html xmlns="www.w3.org/.../xhtml">

    <head>

       <title>Untitled Page</title>

    </head>

    <body  >

       <img alt="" src="survival.jpg" />

    </body>

    </html>

    -Jerry

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    Re: Net Display (Customer Monitor) - Cycling local images?

    Thanks for the quick reply. I'm still having trouble.

    I have the JPEG image and the HTML file in the same folder ("CustomFiles" off of the root of the C drive).

    I edited the HTML file so the image source tag is just "CustomerDisplayImage.jpg" with no path.

    And in the Net Display dialog box, I added back in the path for the HTML file:

    c:\CustomFiles\CustomerDisplayImage.htm

    Seems that this should work, but it's not. Preview still won't work (it acts as if I didn't even press the button) and if I forge ahead with the new HTML file anyway, the customer monitor get an error for that position in the rotation. (The other two positions are websites and work fine.)

    *sigh*

    Is there some weird default directory in which RMS is l looking for the image other than the directory that the HTML file is in?

    Thanks!

    Andrew

     

  • Suggested answer
    Gerald Rothaus Profile Picture
    Gerald Rothaus 2,930 on at
    Re: Net Display (Customer Monitor) - Cycling local images?

    You have to interpret the path to do that. You can drill down with a '../' reference, 2 directories back then "../../" and so on.

    You may just want to have a proper image file in your web folder.

    Then you can just go

    <img src="Images/whatever.jpg" />

    Put your images in the same web folder to makes things easier.

    C:\inetpub\wwwroot\yourWebSite

    &

    C:\inetpub\wwwroot\yourWebSite\images

    It's a lot easier to manage than a drilling into your file system.

    You can also use javascript to cycle through all the images in your folder with a timer,

    but you do the homework on that. Just google it.

    -Jerry

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,253 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,188 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans