Hi there, I am trying to import images and put them into their own 'dummyimage' based upon their width and height. The 'dummyimages' are called Photo and Photo2. It doesn't work! Can someone help me with this one?
*on* mouseUp *put* empty into img "Photo" *put* empty into img "Photo2" *answer* file "Choose a photo:" *if* it = empty *then* *exit* mouseUp *put* url ("binfile:" & it) into tPhoto *put* the width of the last image into tWidth *put* the height of the last image into tHeight *if* tWidth <= tHeight *then* *put* tPhoto into img "Photo2" *if* tWidth >= tHeight *then* *put* tPhoto into img "Photo" *end* mouseUp Thanks! Greetings, William (from a very cold Holland) _______________________________________________ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution