So how would the popup know thats an image? Answer is it doesnt. So use <img>URLHERE</img> tags.
I spot a problem with your url though… that is not an HTTP url… thats a drive on your computer… at least I would hope you dont publish direct drive locations to HTTP
So try <img>D:\POS\k\images\bananasplit.jpg</img>
You might want to study MS Windows Path Computing and Hypertext Markup Language to understand the differences.
Yes but thats not HTML what your trying to do. If you do have a computer drive visible to internet via HTML then your probably going to get hacked soon very badly.
Sorry I am not trying to beat you down, Obviously you were confused by something bigger than just SambaPOS because you tried to use basic Drive Pathing like HTML which are two completely different things. I was trying to help you understand the difference.
URL is an acronym for Uniform Resource Locator and is a reference (an address) to a resource on the Internet.
So what you were needing was a Drive Path not a Url.
While that could be possible it would mean that the drive path would need to be published to the internet via a Web Server which would also mean EVERYONE on the internet would have access to it.
So basically if its just a drive on your computer then the term URL is not used at all and you do not access it like you would the internet. Its simply a drive path. You can read more about Windows Pathing here:
The quote you provided of Emre is for a different action than Ask Question Action. Its for providing a URL popup. It has nothing to do with just showing an image in a popup. That was specific for Popup Browser action. It can be used to show a popup with a URL like http:\\www.microsoft.com
Well your almost getting it. You cant access a local file using HTML unless you have hosted that drive on the internet with a web server which would be a very not so smart thing to do. But you saw what he did with that feature and thought it would work the same just to access local file which it doesnt.
But if you knew how HTML and Windows Pathing worked then you would have known that its not possible to do what you tried to do.
Actually you can, and the file URL @madiha originally had (file:///D:/POS/k/images/bananasplit.jpg) was actually a correct URL to a local file. The mistake was replacing file:// with http://.
A web browser can load a local HTML file and it doesn’t need to be hosted on a web server. You can create an HTML file, like test.htm, place anywhere on your hard drive, and add the following to it:
Yes but in the case use scenario you can’t. That is not the same as just trying to access it with a url using HTML. That’s creating an html file and accessing it with a web browser. That would not be the same as inserting a url somewhere and accessing the drive.
1 Use File explorer to locate your image
2. Right click choose open with… find Chrome or IE
3. The copy Address and put in Ask Question - Question <img>IMAGE FILE HERE</img> That is it.