By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
455,743 Members | 1,850 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 455,743 IT Pros & Developers. It's quick & easy.

I need help generating an image alongside other html

P: n/a
I have been searching various boards trying to figure out how to generate an
image along with other html. I intend to put the image in a table, but for
now I am just having problem getting the image to generate alongside other
html.

I am using a form to set variables such as colors, text, font, etc and that
works fine as long as I set the header to image/jpeg. The problem is I need
the resulting page to show more than just the image.
However when I try to include other HTML the image displays in what I
believe to be binary form--not an actual image.

I have read posts that indicate to set the <img src> to the script that
generates the image but when I try that I get an empty placeholder (red x).
I obviously need to do more than just set the img src tag to the php file
that creates my image, but I can't seem to come up with how to do this.

I would post my code but I have several generations of it trying various
ways to accomplish this. The various attempts I have made are at
www.scorchingsun.com/php/ch19/design_button1.php with each variation
incrementing through design_button4.php which are the forms sending the
values for the image. To create the picture, these utilize the php file(s)
www.scorchingsun.com/php/ch19/make_button.php, /make_button1.php...all the
way through /make_button6.php.

If anyone knows how to accomplish this I would appreciate any help you can
provide. At this point I am not sure how many files I should be using. I
figure I need one with the form, another that generates the image, but not
sure if I should have another that will generate a table and other html and
reference the php file which generates the image.

Any suggestions out there?

Thanks,
~Sebastian
Jul 17 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a
On Thu, 6 Nov 2003 16:29:05 -0700, "no one" <no****@cox.net> wrote:
I have been searching various boards trying to figure out how to generate an


Please don't multipost. Answered in alt.php.

If you want to post to more than one group, then CROSSPOST (multiple
newsgroups in the newsgroups header, so all answers show in all groups), don't
MULTIPOST (posting several identical but separate messages to multiple groups,
so answers don't go to all the groups, so people may waste their time answering
a post that was already answered).

--
Andy Hassall (an**@andyh.co.uk) icq(5747695) (http://www.andyh.co.uk)
Space: disk usage analysis tool (http://www.andyhsoftware.co.uk/space)
Jul 17 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.