Getting someone's age from dob and current year
Michael Kann
mikekann at yahoo.com
Sat Jul 30 21:04:28 EDT 2011
The following works:
put "http://fake.com/fake.jpg" into k
set the filename of img 1 to k
To get the correct dimensions I guess you would have to find the dimensions of the online jpg, then make you img the same dimensions.
Just a thought.
Mike
--- On Sat, 7/30/11, Admin <admin at mfelkerco.com> wrote:
From: Admin <admin at mfelkerco.com>
Subject: Re: Getting someone's age from dob and current year
To: "How to use LiveCode" <use-livecode at lists.runrev.com>
Date: Saturday, July 30, 2011, 7:38 PM
Hi all - another one:
I have a path stored in a MySQL database to
an image file.
I have a page with a image control
I know how to
SELECT the imagepath info and bring it into a variable, but how do I
then load that image into the image control (with proper proportions)? I
tried the obvious ways and
nothing worked for me.
The image control
is named imgCandidatePic (just a small 140x140 square).
A sample path
would be http://www.server.com/userfiles/bear_harry/mypic.jpg for
example
I need to get that picture into the image control when the
card loads (so in the card script using opencard).
Thanks for your
help everyone.
Mike
_______________________________________________
use-livecode mailing list
use-livecode at lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode
More information about the use-livecode
mailing list