NetTalk Central

NetTalk Web Server => Web Server - Ask For Help => Topic started by: John Fligg on February 15, 2012, 01:58:30 PM

Title: Imaging - getting started
Post by: John Fligg on February 15, 2012, 01:58:30 PM
I am just getting started with imaging. I am not sure where to start and wondered if there were any good tips or examples to get me staarted.

My brief simply is to allow the user to add an image from a location to an image control on a form, send that up to the server and then of course have it displayed when the form is re opened.

I am not quite sure where to start so any guidance or quick example would be useful.

I suppose I would need to save the image as a thumbnail and resize at some stage? I do own ImageEx.

Thanks.

John
Title: Re: Imaging - getting started
Post by: DonRidley on February 15, 2012, 02:15:11 PM
You don't have to do any image resizing but I highly suggest it.

I would start with taking a look at the upload example.

You do not need to use the "HotImage" procedure now though thanks to improvements to NetTalk.

The new image gallery control is pretty cool.  I just got it working in one of my apps.

Let me know if need any help. 

Don
Title: Re: Imaging - getting started
Post by: John Fligg on February 15, 2012, 02:36:11 PM
I'm afraid I do need help Don. I see how it works sort of but I cannot get the image to load from the browse nor display as the filename is not being saved.

So not really sure why? BTW I do have your web26a example - that is the one I cannot get to work. I have installed FreeImage. When I click on Browse I see the filename flash in the entry field but is not saved in the tps file.

Thanks

John
Title: Re: Imaging - getting started
Post by: DonRidley on February 15, 2012, 08:06:10 PM
Okay, I made some modifications to the Example 26 I sent you before.  This example demonstrates most - if not all - of the imaging feature in NetTalk 6 to include the new gallery control.  I have zipped everything so you should be able to see how to get it going.

Also, there's a good example of calling the "GalleryForm" and passing parameters.

Good luck!

Don

[attachment deleted by admin]
Title: Re: Imaging - getting started
Post by: bruce2 on February 15, 2012, 08:20:58 PM
Make sure you have build 6.19 John.
Title: Re: Imaging - getting started
Post by: terryd on February 15, 2012, 08:35:00 PM
Hi Bruce
Is 6.19 out? I only see 6.18 on your download page.
Title: Re: Imaging - getting started
Post by: kevin plummer on February 15, 2012, 09:57:07 PM
Downloaded from the 6.18 link and got 6.19
Title: Re: Imaging - getting started
Post by: John Fligg on February 16, 2012, 12:02:15 AM
Thanks you Don - I will check that out.

John
Title: Re: Imaging - getting started
Post by: Bruce on February 16, 2012, 12:05:57 AM
there are some files missing from 6.19 - specifically from the FileUploads example, so I'm rebuilding as 6.20 now.
Title: Re: Imaging - getting started
Post by: John Fligg on February 16, 2012, 12:11:37 AM
Please let us know when done and available as I am waiting to download.

Thanks

John