Getting an jpeg/gif image from code (java script)
Discussion
I have the ability for upload banners on to my new website. The problem I have is that I can only upload the banners as images (jpeg/gif/bmp etc) but the companies banners I want to upload are only supplied in code form (Java script).
How do I convert the Java script into a jpeg that I can actually upload???
Thanks for your help!!!
Sam
How do I convert the Java script into a jpeg that I can actually upload???
Thanks for your help!!!
Sam
It looks like this
<script language="javascript">
var uri = 'http://website.com/imp/js/99761/960702?' + new String (Math.random()).substring (2, 11);
document.write('<sc'+'ript language="JavaScript" src="'+uri+'" charset="ISO-8859-1"></sc'+'ript>');
</script>
Any ideas?
<script language="javascript">
var uri = 'http://website.com/imp/js/99761/960702?' + new String (Math.random()).substring (2, 11);
document.write('<sc'+'ript language="JavaScript" src="'+uri+'" charset="ISO-8859-1"></sc'+'ript>');
</script>
Any ideas?
Yeah the problem I have is that the code behind the banners is what is used to montior clicks etc so I cant just right click, save as or I will get the banner but not the code behind it that will link the clicks to my site.
I can upload only images so if there was a way to convert the code into an image before I uploaded it it would solve my problem. Does anyone know how to do this?
It seems I can get the code in HTML/javascript or IFrame?????
I can upload only images so if there was a way to convert the code into an image before I uploaded it it would solve my problem. Does anyone know how to do this?
It seems I can get the code in HTML/javascript or IFrame?????
Maybe I've misunderstood your problem. The people who provide the images are obviously set up to serve them out on demand. To do this you would insert the HTML text fragment they gave you, into the document where you want the banner to appear. When the user opens the document the text fragment downloads the image directly from the people who are providing the images. You never need to upload the images to your web site at all. Or maybe you're deliberately trying to avoid having your users get the images from your supplier. If so, why?
Gassing Station | Computers, Gadgets & Stuff | Top of Page | What's New | My Stuff



