You are here: Re: dynamic image and area creation « PHP Programming Language « IT news, forums, messages
Re: dynamic image and area creation

Posted by Krustov on 10/01/07 21:16

<comp.lang.php>
<dino d.>
<Mon, 01 Oct 2007 13:50:54 -0700>
<1191271854.383423.148210@57g2000hsv.googlegroups.com>

> > The 'stream' is where your going wrong .
> >
> > The end result your looking for is just a normal .jpg image with a
> > suitable image map matched to it .
> >
> > The end result .jpg and image map being generated via your genimage.php
> > script .
>
> so you're suggesting saving this to a file, then referencing the file,
> rather than referencing a script?
>

Only if you intend to reuse the generated image , A image generated by
GD doesnt need to be saved to a file .

Either way , You need to process and create everything before using the
<img> tag to display the .jpg image .

You also need to do everything in a logical step by step fashion .

Step one in your learning curve is how to find out the (width) of the
text thats passed via GET .

Step two is generating the oval images from the above widths .

Step three is putting the text into the center of the oval .

Step four is counting up the 3 widths to create blank image .

Step five is pasting the 3 oval image onto the blank image .

No point going any further until you can do all the above .

Typing the following string into google would be aq good start .

php tutorial find the text width of a string


--
www.vhit.co.uk

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация