NetTalk Central
NetTalk Web Server => Web Server - Ask For Help => Topic started by: DonRidley on November 03, 2011, 03:43:41 PM
-
I don't know what the problem is but I cannot view the other thread when I'm logged in to NetTalkCentral. Weird.
Anyway, I have tried everyone's suggestion to no avail.
I noticed a reference to an object labeled "?draw." Is this a standard SV image control renamed to ?draw or is this another control? Maybe a Capesoft's Draw control?
Thanks,
Don
-
Don,
Yes, it was a Capesoft Draw reference (in my code, not sure about others).
I use Draw + FreeImage controls on my reports (which go to pdfs). It's the best way I've found thus far, and works fine with PDFTools.
-
Don,
Apparently you might have some joy with changing from a JPG to a GIF. Bruce has heard of someone doing this (he can't reply to the thread, perhaps for the same reason as you) with success.
-
You are on to something. Decided to try out a GIF instead of a JPG. The GIF worked perfectly. So, I know my image code works. But, it sure would be nice to be able to use JPG's.
Thanks,
Don
-
>> But, it sure would be nice to be able to use JPG's.
that would appear to be a Clarion question, not a NetTalk question.
cheers
Bruce
-
Don
Yes I use CapeSoft Draw but
?Image1{PROP:Text} = 'web\client\client.jpg' works for me just as well.
-
Yep. I think you're right Bruce. I'll do some additional testing in a Win32 app to see if JPG's are an issue there as well. I have a funny feeling they very well may be an issue that's no one has reported yet.
We shall see...
Thanks y'all!
Don
-
JPG's are displaying properly in PDF's on the Win32 side. So at this point I'm just about out of ideas.
Don
-
ok on the Win32 side _after_ converting to PDF? Not just in the report...
cheers
Bruce
-
In Win32 side..converts to PDF fine and displays JPG fine...
NetTalk..converts to PDF fine but does not display JPG.
Thanks,
Don
-
My apologies to all...
The PDF will generate AND the JPG will display but..it takes a very long time to generate the PDF.
I thought that the generation time may be related to the size of the JPG file. But, the image file I tested is only 250k. That is not very large.
EDIT: Okay - Images only seem to display if I use LONGPATH() & '\web\' & clip(IMA:ImagePath).
But it is hit and miss. Sometimes they display but mostly the browser times out.
Frustrating...
Don
-
Seems NetTalk 5.40 does not like the generation of a SV-PDF with a JPG image file.
GIF's perform flawlessly every time. JPG's, not so much.
I wonder if there is a way to convert JPG's to GIF's when the image is uploaded?
Thanks,
Don
-
I'm gonna make a small tweak to 5.41 - I'll be interested to know if that makes a difference.
Also
>> But it is hit and miss. Sometimes they display but mostly the browser times out.
If you are using the built-in Clarion PDF converter then you should see the "converting to PDF" screen that appears. Can you tell me approximately how long after the report starts it appears, and how long it displays for. I don't need an exact value - using a normal watch to time it is fine.
cheers
Bruce
-
also...
how _big_ is the PDF file being generated? not just how many pages, but the actual file size?
cheers
Bruce