Hack Forums
[PHP] Adding a banner to an image upload script [help] - Printable Version

+- Hack Forums (https://hackforums.net)
+-- Forum: Tech (https://hackforums.net/forumdisplay.php?fid=444)
+--- Forum: Coding (https://hackforums.net/forumdisplay.php?fid=151)
+---- Forum: Web Development (https://hackforums.net/forumdisplay.php?fid=183)
+---- Thread: [PHP] Adding a banner to an image upload script [help] (/showthread.php?tid=942275)



Adding a banner to an image upload script [help] - abdulthegreat - Jan 1, 2011

hey guys,
I found an image upload script and got bored and messed with it etc etc

So I made a banner I wanted to put on the top of it ,
I tried using <img src ""/> but it didn't work, Any other ideaS?
I also had html tags along with that ^


* - Uncomplicated - Jan 1, 2011

Code
<img src="" alt="" />

Here src defines the source of image i.e absolute or relative url of the image and alt defines the alternate text that will be displayed in place of image incase image is not loaded.

Sample usage :

Code
<img src="http://www.mghz.com/happynewyear.jpg" alt="Hackforums" />



* - abdulthegreat - Jan 1, 2011

(Jan 1, 2011 12:39 AM)Uncomplicated Wrote:  
Code
<img src="" alt="" />

Here src defines the source of image i.e absolute or relative url of the image and alt defines the alternate text that will be displayed in place of image incase image is not loaded.

Sample usage :

Code
<img src="http://www.mghz.com/happynewyear.jpg" alt="Hackforums" />
Thanks dude, got it done =D