NetTalk Central

Recent Posts

Pages: 1 2 [3] 4 5 ... 10
21
have you looked inside the blob record to see what is actually there? is it binary, or base64 encoded?
22
Web Server - Ask For Help / Re: Google picking up documents from web folder
« Last post by Bruce on November 11, 2024, 10:35:50 PM »
Hi Rupert,

>> Is there a way to block / stop this, as it is a serious security concern for the customer.

I feel like you're missing the point here. If have the files publically available in the web folder is a security concern, then you should fix that. Perhaps by describing why private files are in a public folder to begin with?

Turning off Google indexing doesn't stop people fetching the files. If google found them, so can everyone else. And malicious users don't respect the settings in your robots.txt file.

Cheers
Bruce
23
Hi Jari

From the BLOB help
If you need to save images to a BLOB, and later restore them to an output file, the type of image should also be saved in the database (JPG, GIF, BMP, etc.).
Using BLOBTOFILE to save to a different extension can produce unpredictable results.

Possible problem is that the original file is PNG, and when the Blob is saved to disk it's a base64 encoded png file.
so you probably need to do some decoding and converting the image to different format.


regards

Johan

24
Hi Jari

I would try to save the image to disk to validate it and debug that way

I did have a quick look, but got a compile error when I tried to add the blobtoimage function

Will have a look later when I have more time

Johan

 
25
Hi Ron

I created a test program that demonstrates the issue. Copy it to the Webcam (79) folder.

Jari
26
HI, NT stores the pictures in the images folder under the web folder as PMG files.  NT apps should be able to save to BLOB and to the images folder. Can you access the png images in the images folder.  You should be able to view these images on your NT server with any program which will open a graphic.  If you can do this, try your windows APP. It should be able to open this as well.
I am not sure what you are really trying to say about your image in a BLOB and your windows application.  However, Web applications can open images delivered from blobs almost natively.  That does NOT exist in desktop applications.  On desktop, try using BlobToFile in String theory and save it to disk and use that image file in your web app.  You can delete the image file when procedure is done.
Maybe this will get you started.
Ron 
27
Web Server - Ask For Help / Re: Google picking up documents from web folder
« Last post by rupertvz on November 10, 2024, 09:21:02 AM »
Hi Guys,

Google suggests to add a META tag to the HTTP header of the page which calls the PDF's

"X-Robots-Tag: noindex"

Is the correct place to add this META tag under the xHTML tab of the NWB
After heading ?


28
I?m having trouble getting images taken with the NetTalk (image is saved to the BLOB) camera to display in my Windows application.
But if I load a file into the BLOB, everything works fine both on the web and in the Windows application .
However, images taken with the camera are visible on the web, but not in the Windows application.

Any ideas?
29

Hi,

Embedding a NTWS (Form) in an Iframe on an external website is resulting in the the NTWS page being called continuously.
In checking in with ChatGPT, the proposed answer it seems is add some JS to the NTWS page, see below.

Is this the correct way?
I have not added any JS before,
where and how to add this if this is correct way to do this?

The NTWS will only be used for this embedding purpose.

thanks

Johan




1. JavaScript to Detect Recursive Loading
Add this JavaScript snippet to the managemember page:

javascript
Copy code
if (window.location !== window.parent.location) {
    // Check if the page is loaded within an iframe, then prevent recursive load
    if (window.location.href === window.parent.location.href) {
        window.location = 'about:blank'; // Redirect to blank to stop recursion
    }
}
This code verifies if the managemember page is loaded in an iframe and compares the URL of the iframe with its parent. If they match, it stops further recursive loading by redirecting the iframe to a blank page.
30
Hi,

Found the solution!
Thanks John and the clarionlive team!

What an incredible resource

https://www.youtube.com/watch?v=CVTOUqz1uQ4&t=654s

cheers,
johan

Pages: 1 2 [3] 4 5 ... 10