Hi Simon This is a real pleasure to say it is working as designed now. Your a real wizard at scripting. Looking at this from start to finish I can say I have learned a lot about the image control, but more over I have a better perspective on how to work to find solutions in scripting. Thanks for your time and effort!!!
Thank you Vaughn Clement Apps by Vaughn Clement (Support) *http://www.appsbyvaughnclement.com/tools/home-page/ <http://www.appsbyvaughnclement.com/tools/home-page/>* Skype: vaughn.clement https://secure.join.me/appsbyvclement FaceTime: vclem...@gmail.com LogMeIn also avaialble Call on "ooVoo" at address: vaughnclement or 9282549062 Ph. 928-254-9062 On Thu, Jun 26, 2014 at 3:28 PM, Simon <si...@asato-media.com> wrote: > Yes, if there is no file "thePath" > And I think we've discussed enough why this happens. > > So to fix it so that it doesn't show an image at all if there is no file > "thePath": > > if there is a file the short id of this card then > put (specialFolderPath ("documents") & "/photos/" & the short ID of this > card) into thePath > set the filename of image "imageField1" of this card to thePath > else ---here is a new line > set the filename of image "imageField1" of this card to "" ---here is a new > line > end if > > Update your openCard script > > Simon > > > > -- > View this message in context: > http://runtime-revolution.278305.n4.nabble.com/Image-control-in-a-Background-tp4680553p4680681.html > Sent from the Revolution - User mailing list archive at Nabble.com. > > _______________________________________________ > use-livecode mailing list > use-livecode@lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > _______________________________________________ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode