One way... Create a local html template and replace an href place holder in the template to the url of the web server image. Then load the template page into the browser widget and let html do the resizing heavy lifting. This will not break cors.
Ralph DiMola IT Director Evergreen Information Services rdim...@evergreeninfo.net -----Original Message----- From: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] On Behalf Of matthias rebbe via use-livecode Sent: Tuesday, July 13, 2021 5:00 PM To: How to use LiveCode Cc: matthias_livecode_150...@m-r-d.de Subject: How to scale the content of the Browser Widget Hi, i need to display jpeg images in the browser widget. The images are stored on a webserver and i have no control about the size of the images. What i can say is that the images are larger than the browser widget area. Is there a way to scale the images so they are fully visible in the browser widget? I do not want to temporarily store them on hard disk, resize them and then display. I need something like an "on the fly" scaling. I am wondering if this might be possible with Javascript? Unfortunately i am not very used Javascript. Does anyone know if this is possible? Regards, Matthias _______________________________________________ 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