I've been developing a fan controller for my solar air heater. I have the Arduino Uno + Seeeduino Ethernet Shield posting values on a simple web page I built using client.print html from my home connection. It all works pretty well so far allowing me to check on the panel from work. A couple things have me stumped however:
How would I go about setting up my page to display a clickable link from the Arduino? HTML should look something like this:
client.print(click this link);
but it doesn't work, neither can I find a solution.
Also, I'd like to display a simple icon sized image on the web interface based on the value of a variable. My thought was to upload the image to my photobucket account, then display the image by linking on my web interface via arduino.
EDITED FOR FULL IMAGE PATH
Alright at the risk of someone having to hold my hand through this whole thing.... a little more help please. I have a feeling it's a syntax problem, maybe not. I'm just learning html too, which doesn't make this any easier.
Thanks to SurferTim, I have a link correctly formatted on the Arduino based web server. The next step is I can't get an image to appear.
The image is on my Photobucket, who offers the following bit of HTML:
I put the following HTML bit in notepad, opened it in Firefox and it works fine:
Look closely at the escaped double quotes at the end of the image url on mine.
// this is not the same...
client.print("<img src=\"http://i250.photobucket.com/albums/gg256/spiral_72/Fan-Spin.gif>");
//... as this:
client.print("<img src=\"http://i250.photobucket.com/albums/gg256/spiral_72/Fan-Spin.gif\">");