Scale ImageSource?

Terry Judd tsj at unimelb.edu.au
Thu Jan 7 21:28:59 EST 2010


Scott - What about exporting the scaled image object to a 'random' temporary
file (using the tempname function), setting the imagesource and then
deleting the file. That way you should avoid the caching issues that Jacqui
brought up the other day.

Terry...

On 8/01/10 9:07 AM, "Scott Rossi" <scott at tactilemedia.com> wrote:

> Can anyone think of way to scale the imageSource representation of an image
> in a field without actually scaling the source image?
> 
> I have a bunch of Web based thumbnail images that are larger than I would
> like, which I want to display in a field via imageSource links.  The only
> way I can think to scale the imageSource display is to set the fileName of
> an intermediate image object to the URL of the thumbnail, scale the
> intermediate image, and then point the imageSource items in the field at the
> intermediate image object.  But then I think I would need a separate
> intermediate image for every imageSource reference, which will eventually
> become unmanageable.
> 
> I tried adding standard HTML size tags (width =, height =) to the HTMLtext
> of the field but these seem to be ignored.
> 
> Any other ideas on how I might do this?
> 
> Regards,
> 
> Scott Rossi
> Creative Director
> Tactile Media, UX Design
> 
> 
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution




More information about the use-livecode mailing list