NetTalk Central

Author Topic: NetWebBrowse & Images  (Read 2823 times)

rupertvz

  • Sr. Member
  • ****
  • Posts: 323
    • View Profile
    • Email
NetWebBrowse & Images
« on: May 09, 2013, 03:52:38 AM »
Hi Guys,

  • I'd like to build a NetWebBrowse, but with an image of an item on each row.
    When the user clicks on the image, or a link on the same record, it should open a pop-up window with a larger version of the image.
    Could this be accomplished fairly easily in NT6?
  • It is better to store the both image files (thumbnail & larger version) in a folder on the hard drive, with a reference in the record to the file location,
    Or rather to use FiletoBlob function to store the images as binary in the table?





DonRidley

  • Don Ridley
  • Global Moderator
  • Hero Member
  • *****
  • Posts: 729
  • donaldridley2011@gmail.com
    • View Profile
    • Email
Re: NetWebBrowse & Images
« Reply #1 on: May 09, 2013, 03:59:59 AM »
Hi Guys,

  • I'd like to build a NetWebBrowse, but with an image of an item on each row.
    When the user clicks on the image, or a link on the same record, it should open a pop-up window with a larger version of the image.
    Could this be accomplished fairly easily in NT6?

Yes.  Look for the "On Click" tab under a field's properties.  You can point the click to a URL and open as pop-up.

Quote
  • It is better to store the both image files (thumbnail & larger version) in a folder on the hard drive, with a reference in the record to the file location,
    Or rather to use FiletoBlob function to store the images as binary in the table?
I store thumbnail and main image in a folder inside the web directory.  Path is stored in my table.  As far as BLOB's, I learned the hard way that - if you're using TPS - you can run out of room real quick.

Good luck!

Don[/list]
"Eliminate the impossible, whatever remains, however unlikely, must be the truth."

NetTalk 12.55
Clarion 11