beeseven
May 29 2005, 03:44 PM
| | Say you have this script that makes an image, and you want to include it in another page. Would you just use <img src="blah.php">? I'd test it right now, but all my PHP image stuff is on my school's server, which is currently down. |
Reply
snlildude87
May 29 2005, 04:18 PM
Yeah, that's how you do it. The reason I know is from the many Home Land Security indicators that are online. Search for them and look at the code that they give you.
Reply
HmmZ
May 29 2005, 10:50 PM
well i take it you use an image editor such as imageready (wich creates a fair amount of html for rollover images and such) if you do get the html code of an image editor, then you should use the include statement rather then including it through the <img> tag, the image tag could work (i wouldnt know) but im 100% sure it works with include, so include "blah.php"; and for the record, what kind of image will it create? if you actually use php functions to control your image i would love to know..
Reply
theRealSheep
May 30 2005, 12:38 PM
For the record (HmmZ  ), http://www.php.net/manual/en/ref.image.php has all the information on using the GD library functions in PHP to create, manipulate and save images.
Reply
HmmZ
May 30 2005, 07:14 PM
Whoa! thanks for the link there realsheep. This is one lovely feature of PHP i didn't know about! Wonderful! Oh im so excited! I must try it out!  (in other words, thanks for the link)
Reply
beeseven
May 30 2005, 07:48 PM
If you think that's neat, php can also create pdf files... http://us3.php.net/manual/en/ref.pdf.php
Reply
Similar Topics
Keywords : including, php, made, images, page
- How To Display Images Of A Directory
(4)
My Code Doesnt Resize Large Images, Please Help.
(2) Can someone please have a look at the following code, this uploads an image, and make it in 2 sizes,
one size is max. 600 x 800, uploads to images folder and second 120 x 120 and uploads to thumbs
folder. this script works fine, with normal size images, but if i try to upload large pics( for
example, an image with dimension 2432 x 3300, it shows blank page, and uploads the original image
without sizing to "image" folder, and doesnt make any small thumbnail... I hope u understand..
Please someone help me, i shall be so thankful. session_start(); header("Cache-contro....
Php Help Needed Including File In A Page.
(2) i'm a noob in php programming, i can understand and modify php programs, but i dont know to
write on my own. So please somebody who is well versed in php help me. My need is, I'm
currently builiding a knowledge base website , i've my own design for the website, check here,
http://laschatz.info/kzone/ Each page in the left hand site has a tree navigation of all the
topics available. Since this information must be same in all the pages, presently I need to change
all the pages after adding a new category. Could you please help me in such a way that I can ad....
Can You Add Images Into A Mysql Database?
Using Php? (20) I'm learning php in class right now, but I'm still not that good at it, what I'm
wondering is when I write the php so that it can connect with a database, can I at the same time
have it that it is able to display back images that I choose. Like, I want a search feature, where
you can search for a keyword, and it will bring back a list of all the possible entries with that
keyword, but each of these entries will have a photo associated with it. Now, do I put these image
files directly into the database, or do I write the code to link them from my files to th....
Php Parse Error
Including Variable in post (2) ok this is my config script that runs my site: CODE <? # Set up info for left column on the
top page: # It should begin with html tag <td> and finish with tag </td>
$top_leftcol=" <td width='195' bgcolor='#eeeeee'
valign='top'> <table width='100%' bgcolor='#777799' border=0
cellspacing='0' cellpadding='0'> <tr><td> <font
FACE='ARIAL, HELVETICA' color='#ffffff' size='-1'>
<b>MMORPG Trade Center<....
How To Create Images?
(3) How can i create images (using php) of 128x128 by giving some types of background... and users can
write text on the background... /blink.gif' border='0' style='vertical-align:middle'
alt='blink.gif' /> QUOTE you can take example from the followinbg site:
http://zedge.no/?side=navnelogo ....
Securing Images
(2) Just wondering if anyone's worked with securing images to avoid direct linking than just by
obscuring the URL or using a .htaccess file. I briefly looked through the documentation and source
for gallery and it looks like the images are stored under the web root, so anyone with a direct link
can browse the images regardless of user privileges. I was thinking one way of doing this would be
too store the images above the webroot directory so that visitor's can't navigate to them
and having a php script that can read the image dir output the images by sending th....
Vote Script Help
images as a result? (1) I made a vote poll script, and it work fine with results in numers or %, but i want to show images
as a result. Is that possible? For example like voting poll in this forum. I tried something but
that couldnt work. Someone?....
Refreshing Images
(1) I've got a script that generates a graph by creating it as a .png file (I can't output the
image directly to the browser because of the way I need to generate the data). This all works ok
however, in order to keep the data managable I've set a limit so that it only displays 12 months
data at a time. The problem I have is that when I click on the next button to display the next set
of data, the graph remains the same until you refresh the browser. I've tried using unlink() to
delete the image file forcing the script to re-generate it when the script is r....
Looking for including, php, made, images, page
|
*RANDOM STUFF*
*SIMILAR VIDEOS*
Searching Video's for including, php, made, images, page
*MORE FROM TRAP17.COM*
|
advertisement
|
|