NetTalk Central

Author Topic: Imaging - getting started  (Read 4797 times)

John Fligg

  • Sr. Member
  • ****
  • Posts: 361
    • View Profile
    • Ambrit Software
    • Email
Imaging - getting started
« 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

DonRidley

  • Don Ridley
  • Global Moderator
  • Hero Member
  • *****
  • Posts: 729
  • donaldridley2011@gmail.com
    • View Profile
    • Email
Re: Imaging - getting started
« Reply #1 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
"Eliminate the impossible, whatever remains, however unlikely, must be the truth."

NetTalk 12.55
Clarion 11

John Fligg

  • Sr. Member
  • ****
  • Posts: 361
    • View Profile
    • Ambrit Software
    • Email
Re: Imaging - getting started
« Reply #2 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

DonRidley

  • Don Ridley
  • Global Moderator
  • Hero Member
  • *****
  • Posts: 729
  • donaldridley2011@gmail.com
    • View Profile
    • Email
Re: Imaging - getting started
« Reply #3 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]
"Eliminate the impossible, whatever remains, however unlikely, must be the truth."

NetTalk 12.55
Clarion 11

bruce2

  • Full Member
  • ***
  • Posts: 108
    • View Profile
    • Email
Re: Imaging - getting started
« Reply #4 on: February 15, 2012, 08:20:58 PM »
Make sure you have build 6.19 John.

terryd

  • Hero Member
  • *****
  • Posts: 759
    • View Profile
    • Davcomm
    • Email
Re: Imaging - getting started
« Reply #5 on: February 15, 2012, 08:35:00 PM »
Hi Bruce
Is 6.19 out? I only see 6.18 on your download page.
Terry Davidson
Windows 10 64 bit/Windows7 64bit
Clarion 9.1.11529/Clarion10 12567
Nettalk 913
Nettalk 1015
StringTheory267/Winevent515/XFiles298/MessageBox239/Cryptonite186

kevin plummer

  • Hero Member
  • *****
  • Posts: 1195
    • View Profile
    • Production Accounting and Software Payroll
Re: Imaging - getting started
« Reply #6 on: February 15, 2012, 09:57:07 PM »
Downloaded from the 6.18 link and got 6.19

John Fligg

  • Sr. Member
  • ****
  • Posts: 361
    • View Profile
    • Ambrit Software
    • Email
Re: Imaging - getting started
« Reply #7 on: February 16, 2012, 12:02:15 AM »
Thanks you Don - I will check that out.

John

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11244
    • View Profile
Re: Imaging - getting started
« Reply #8 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.

John Fligg

  • Sr. Member
  • ****
  • Posts: 361
    • View Profile
    • Ambrit Software
    • Email
Re: Imaging - getting started
« Reply #9 on: February 16, 2012, 12:11:37 AM »
Please let us know when done and available as I am waiting to download.

Thanks

John