But until that time, I'm in need of some help.I'm trying to write an image gallery script(Or program/application?) for displaying images on a web page. That part of it is working just fine, what I want to add though is the ability for people who use this script to be able to copy/paste a link to insert the HTML into their page/weblog.
In other words... How do I get it to display the text: <img src="myserver.com/path/to/picture" height="reasonable size"> instead of actually displaying the picture? Here is a copy/paste from the code I've been using:
if ($i <= '5') // column count (designed for 5 columns wide - change the 5 for however many wanted)
{ $i = $i + '1';echo ' <td align="left" width="115" height="100"> <a href="'.$filename.'"><img src="'. $filename.'" height="60" border="0" /></a><br /> <font size="1" face="tahoma">'. $filename.'<br />'.filesize($filename).' bytes. <BR /> link info: <img src="http://www.raoset.com/media/images/texas/images/'. $filename.'" height="50%" ></font>
</td>I have tried another more robust script but this is the one I'm currently working with. I'm usually a quick learner but right now I'm just lost, and I can't see the trees through the forest.I'm pretty sure I'm using php4.*, If someone can tell me where exactly to find that I would be more then happy to tell you the EXACT version I'm using. :) I'm not real good on the command line YET... It's another one of my many projects filed under "CRITICAL" Ahhh... The joys of a small business and wearing many many hats :)
Anyway... Long enough post for my question I think, if you need more info let me know, and thanks in advance for any help even if it's just a RTFM... Just please include TFM ;)
-- Jason Pruim japruim@xxxxxxxxxx Production & Technology Manager MQC Specialist (2005 certified) 3251 132nd Ave Holland MI 49424 616.399.2355 www.raoset.com"We hold these truths to be self-evident. That all men are created equal, that they are endowed by their creator with certain unalienable rights, (and) that among these are Life, Liberty, and the pursuit of Happiness."
Attachment:
smime.p7s
Description: S/MIME cryptographic signature