Image links give me 404 errors :(
funkin
Registered Users Posts: 2 Beginner grinner
I'm going to be building a php page (using phpSmug, but that's further down the line) that displays all of my albums. I saw this thread about getting a random image from an album and then tried to get it working on an external webpage.
I've got the URL to get a random image from one of my albums:
http://www.smugmug.com/photos/random.mg?AlbumID=5308866&Size=Tiny&AlbumKey=2Tcey
...but when I embed it in an HTML file (as an <img src> tag) or even a hyperlink it does not work, but when I just put the URL into a new browser window it does work.
I've set up an example of this at the following URL which I'd appreciate anyone taking a look at and offering me their thoughts.
http://funkin.no-ip.com/temp/smug_test.html
The bizarre thing is that sometimes the embedded image links will work - I just don't know why sometimes they do and sometimes(mostly) they don't.
Any help/advice would be appreciated as this is a rather large stumbling block for me before I move from a trial account to fully paid smugmug member.
*UPDATE* this should work now - read the reply to the thread below!
I've got the URL to get a random image from one of my albums:
http://www.smugmug.com/photos/random.mg?AlbumID=5308866&Size=Tiny&AlbumKey=2Tcey
...but when I embed it in an HTML file (as an <img src> tag) or even a hyperlink it does not work, but when I just put the URL into a new browser window it does work.
I've set up an example of this at the following URL which I'd appreciate anyone taking a look at and offering me their thoughts.
http://funkin.no-ip.com/temp/smug_test.html
The bizarre thing is that sometimes the embedded image links will work - I just don't know why sometimes they do and sometimes(mostly) they don't.
Any help/advice would be appreciated as this is a rather large stumbling block for me before I move from a trial account to fully paid smugmug member.
*UPDATE* this should work now - read the reply to the thread below!
0
Comments
SmugMug API Developer
My Photos
Thanks very much for the speedy response.