Jump to content

PHP Image Generation


Hooker

Recommended Posts

Hey,

I have a MySQL db table which looks like this:

ID | Name | ImageURL | XSize | YSize

 

I wonderd if anyone could explain or point me in the right direction of a tutorial where i could take that information and generate an image based on the dimensions in the table and the image held at the url in the "ImageURL" field and be able to include it on a page like this:

 

<img src="http://www.website.com/pic.php">

 

Any help would be greatly appreciated,

 

Chris

Link to comment
https://forums.phpfreaks.com/topic/158438-php-image-generation/
Share on other sites

also, if i have something like:

 

<a href="www.website.com/link.php?id=12345"><img src="http://www.website.com/pic.php" border="0"></a>

Or

[url="www.website.com/link.php?id=12345"][img=http://www.website.com/pic.php][/url]

 

And i grabbed the image out of a db to generate "pic.php" is there anyway to get the ID of the pic generated, in the link like "link.php?id=12345&pic=123"

 

Link to comment
https://forums.phpfreaks.com/topic/158438-php-image-generation/#findComment-835588
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.