Getting someone's age from dob and current year

Roger Eller roger.e.eller at sealedair.com
Sat Jul 30 21:54:11 EDT 2011


On Sat, Jul 30, 2011 at 8:38 PM, Admin wrote:

>
>
> 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
>

As long as your image size is not locked, the image container will adjust to
the proportions of the original image.

on mouseUp
    create img "bear_harry"
    set the filename of img "bear_harry" to "
http://www.skcastle.com/wp-content/uploads/2007/08/bearharry.jpg"
end mouseUp



More information about the use-livecode mailing list