This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
46
Web Server - Ask For Help / Re: Open a form on a specific tab
« on: July 24, 2012, 12:32:29 AM »
Yes I am using "Tab". I saw that when you hover over a tab it shows a hash anchor, eg. "'#tab_updateuser_self3_div'" where "3" is the 3rd tab, but I wasn't sure where to go from there to actually open the tabbed form on the 3rd tab?
Thanks
Ian
Thanks
Ian
47
Web Server - Ask For Help / Open a form on a specific tab
« on: July 24, 2012, 12:07:36 AM »
I have a form which has a number of tabs. Is there a way of opening the form and it automatically going to a particular tab?
Thanks
Ian
Thanks
Ian
48
Web Server - Ask For Help / Re: Popup Google Map
« on: July 23, 2012, 09:57:15 PM »If you narrow down what you are after i can probably help.
Regards
Bill
Hi Bill
Thanks for the offer. I would really like to be able to display a Google map on a form at a certain location and size (but resizeable like a text box) displaying the map of the address shown in the address fields and for the map to update automatically when address fields are edited (Ie. there and then rather than needing to save form first - ?refresh button).
Thanks
Ian
49
Web Server - Ask For Help / Popup Google Map
« on: July 23, 2012, 04:10:57 AM »
I would like to implement a popup Google Map when hovering on a browse, based on underlying address. I have come across this : http://stackoverflow.com/questions/5418504/how-can-i-have-a-popup-google-map-appear-when-the-user-hovers-over-an-address
Would this javascript example be possible in a nettal browse, and if so, any suggestions re what to embed where (I am a Nettalk and Javascript novice!)?
Thanks
Ian
Would this javascript example be possible in a nettal browse, and if so, any suggestions re what to embed where (I am a Nettalk and Javascript novice!)?
Thanks
Ian
50
Web Server - Ask For Help / Twain scanning in nettalk web app
« on: July 21, 2012, 11:25:37 PM »
I want to give users the ability to scan using their attached twain device directly into my nettalk web app. There are a number of products on market that claim to allow web page to launch twain scanning but had anyone successfully done this in nettalk?
I do not want a local scanning app but it all to be online.
Thanks
Ian
I do not want a local scanning app but it all to be online.
Thanks
Ian
51
Web Server - Ask For Help / Re: Photo Thumbnail - resize proportionally
« on: July 19, 2012, 08:19:23 AM »
Hi Larry
Many thanks for your comprehensive answer.
I have started to experiment with FreeImage and have successfully created scaled copies of uploaded photos. I will delve into the clw/inc files and see what else is possible.
I am using "FILTER_BSPLINE" option with the Thumbnail method, but see that there are other possibilities - is FILTER_BSPLINE the best choice and what are the merits of the others?
Thanks again.
Ian
Many thanks for your comprehensive answer.
I have started to experiment with FreeImage and have successfully created scaled copies of uploaded photos. I will delve into the clw/inc files and see what else is possible.
I am using "FILTER_BSPLINE" option with the Thumbnail method, but see that there are other possibilities - is FILTER_BSPLINE the best choice and what are the merits of the others?
Thanks again.
Ian
52
Web Server - Ask For Help / Re: Photo Thumbnail - resize proportionally
« on: July 19, 2012, 07:02:44 AM »
Larry
Is there any documentation anywhere on the various methods in Freeimage?
Thanks
Ian
Is there any documentation anywhere on the various methods in Freeimage?
Thanks
Ian
53
Web Server - Ask For Help / Re: Photo Thumbnail - resize proportionally
« on: July 18, 2012, 08:30:53 AM »
Thanks Bruce.
My example 26 seems not to include the Freeimage stuff. Would you be able to upload the latest example (for C6) to the newsgroup?
Thanks
Ian
My example 26 seems not to include the Freeimage stuff. Would you be able to upload the latest example (for C6) to the newsgroup?
Thanks
Ian
54
Web Server - Ask For Help / Re: Photo Thumbnail - resize proportionally
« on: July 18, 2012, 03:27:37 AM »
Bruce
Since I cannot find reference to Freeimage code in example, I looked at embedding the following (slightly changed for my filenames) in the WebHandler procedure:
If ThumbImage.iImage.Load('C:\images\ImageFile.jpg')
ThumbImage.iImage.Thumbnail(64, FILTER_BSPLINE)
ThumbImage.iImage.SaveAs('C:\images\ImageFileThumb.jpg')
End
However, If I embed in the "RenameFile" point, it is too early and the uploaded file has not yet been uploaded - where should I embed so that it is after the file has been uploaded?
Thanks
Ian
Since I cannot find reference to Freeimage code in example, I looked at embedding the following (slightly changed for my filenames) in the WebHandler procedure:
If ThumbImage.iImage.Load('C:\images\ImageFile.jpg')
ThumbImage.iImage.Thumbnail(64, FILTER_BSPLINE)
ThumbImage.iImage.SaveAs('C:\images\ImageFileThumb.jpg')
End
However, If I embed in the "RenameFile" point, it is too early and the uploaded file has not yet been uploaded - where should I embed so that it is after the file has been uploaded?
Thanks
Ian
55
Web Server - Ask For Help / Re: Photo Thumbnail - resize proportionally
« on: July 18, 2012, 01:32:06 AM »you don't need ImageEx to create thumbnails.
you can use ClarionFreeImage.
Example 26 (File Uploading) contains an example of this - including the necessary FreeImage code to create thumbnails.
see www.clarionfreeimage.com for more information on that side of things.
cheers
Bruce
Thanks Bruce. I have looked at Example 26 and cannot see reference to FreeImage?
56
Web Server - Ask For Help / Re: Photo Thumbnail - resize proportionally
« on: July 18, 2012, 12:28:05 AM »yeah, exactly. I create thumbnails after upload and put them in sensible places so i can easily use the appropriate image.
I have a wrapper function for ImageEx so its a one liner to create the thumbnail.
OK great - looks like it's worthwhile investing in ImageEx. Any chance of "borrowing" your wrapper function?
Cheers
Ian
57
Web Server - Ask For Help / Re: Photo Thumbnail - resize proportionally
« on: July 18, 2012, 12:21:04 AM »Yes, but you must use some tool to do it. Personally I use ImageEx (http://www.solidsoftware.de) (but its not reentrant so it must be protected by a critical section). Before ImageEx I used LeadTools.
Basically you are on your own. Its the same a resizing images in a desktop app once you are on the server with the exception of the NT server being heavily threaded.
Thanks for the recommendation. Presumably you build in some code that creates a thumbnail version when the main image is uploaded...and I just use the thumbnail image when needed in browses etc?
58
Web Server - Ask For Help / Re: Photo Thumbnail - resize proportionally
« on: July 18, 2012, 12:03:40 AM »
Thanks - that did the trick.
An allied question....
By specifying the image size, the "full size" image is still loaded, even though it is displayed as a thumbnail. If the image is very large, then this may cause the page to load slowly, especially if the image is on a browse with a number of lines displayed.
These images are user uploaded, so there is only one version (full size) - is there a way of resizing the image on the server side?
An allied question....
By specifying the image size, the "full size" image is still loaded, even though it is displayed as a thumbnail. If the image is very large, then this may cause the page to load slowly, especially if the image is on a browse with a number of lines displayed.
These images are user uploaded, so there is only one version (full size) - is there a way of resizing the image on the server side?
59
Web Server - Ask For Help / Re: Open webpage after action on button
« on: July 17, 2012, 11:59:30 PM »
Many thanks - I had forgotten that it was included in a reply to a previous post of mine!
Ian
Ian
60
Web Server - Ask For Help / Open webpage after action on button
« on: July 17, 2012, 08:42:39 AM »
Excuse this basic question, but I have a button on a web browse that sends an email of the browse entry. After it has finished sending, I need the source code to open the "HomePage" of the Nettalk webserver app, but not sure how?
Many thanks
Ian
Many thanks
Ian