Photo Of The Day for 156 million myspace users?
Photo Of The Day for 156 million myspace users?
Suggestion to the person that uploads the photo of the day:
Is there a way to post a copy of the small photo of the day to a fixed URL with a fixed filename? i.e. http://antwrp.gsfc.nasa.gov/apod/image/ ... TheDay.jpg
This way, myself and 156 million other myspace.com users could display this image on our pages, with a link to http://antwrp.gsfc.nasa.gov/apod/astropix.html whenever someone clicks on it.
Just a suggestion to get these awesome images out to the masses!
-Mike
Is there a way to post a copy of the small photo of the day to a fixed URL with a fixed filename? i.e. http://antwrp.gsfc.nasa.gov/apod/image/ ... TheDay.jpg
This way, myself and 156 million other myspace.com users could display this image on our pages, with a link to http://antwrp.gsfc.nasa.gov/apod/astropix.html whenever someone clicks on it.
Just a suggestion to get these awesome images out to the masses!
-Mike
the trade off
I have enjoyed the quietness of this posting board, all good things do come to a 156 million youtube end, eventually !
nope, that won't work. MySpace has gone to great lengths to prevent users from pasting potentially malious HTML code into their page. As a result, an HTML page cannot be used as the source for an image tag, as the contents cannot be trusted. IMG tags must reference .jpg, .gif, etc.
The solution is clean and simple: when uploading the image of the day, make a copy that is always called PhotoOfTheDay.jpg and upload it to a fixed URL.
Any one of the 157 million myspace pages could then reference this URL and have a different image appear each day without the need to log in and change the URL. eg. img src= http://antwrp.gsfc.nasa.gov/apod/image/ ... TheDay.jpg
[note: your jscript solution is also not an option as you cannot create that activex control in a myspace page. step out of the forest, and see the simple solution ]
The solution is clean and simple: when uploading the image of the day, make a copy that is always called PhotoOfTheDay.jpg and upload it to a fixed URL.
Any one of the 157 million myspace pages could then reference this URL and have a different image appear each day without the need to log in and change the URL. eg. img src= http://antwrp.gsfc.nasa.gov/apod/image/ ... TheDay.jpg
[note: your jscript solution is also not an option as you cannot create that activex control in a myspace page. step out of the forest, and see the simple solution ]
For the person that uploads the daily photo, it's a simple thing.
Re: myspace, I also have normal hosting, but that doesn't change the fact that 158 million people use myspace. Any simple change (for the person that uploads the photo!) that results in promoting these photos, is a good thing (especially for those seeking public funding)
p.s. tinyurl is a well known way to hide malicious code, so no, it does not work on myspace.
Re: myspace, I also have normal hosting, but that doesn't change the fact that 158 million people use myspace. Any simple change (for the person that uploads the photo!) that results in promoting these photos, is a good thing (especially for those seeking public funding)
p.s. tinyurl is a well known way to hide malicious code, so no, it does not work on myspace.
that won't be me, baby.mikek4010 wrote:For the person that uploads the daily photo, it's a simple thing.
so why don't you put there some php script like:...I also have normal hosting...
Code: Select all
<?php
header("Content-type: image/jpeg;");
readfile("http://www.astronet.ru/db/apod/last_apod_image.html");
?>
Code: Select all
RewriteEngine on
RewriteRule ^image.jpg$ image.php
get a dictionary, look up the word, "hotlinking". many people out there will be glad to explain how hotlinking is NOT a good thing....results in promoting these photos, is a good thing...
Don't think so buddy. Gods have not visited this place for monthes (if not for years).mikek4010 wrote:Can we hear from the person who uploads the daily photo as to why it's a big deal to simply copy the daily photo to a fixed filename and upload to a fixed URL?
What you want is a free lunch. and we all know that there is no such thing.