473,394 Members | 1,878 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,394 software developers and data experts.

I need help generating an image alongside other html

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
1 1993
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: millw0rm | last post by:
Hi, here is the complete detail what i m trying 2 do. i got around 2000+ images with size/desp/image_no/slno etc TABLE `sheet1` ( `SlNo` int(11) NOT NULL auto_increment, `Image No` double...
17
by: flupke | last post by:
Hi, i create my GUIs mainly via wxGlade. However when you start of to program and want to do some rearranging to the gui, wxglade overwrites your file and you've got to put your own code back...
1
by: Torben Hoffmann | last post by:
Hi, I have searched high and low for an answer to this, but I have not been able to find it. I have found tools (such as Batik) to generate a gif|jpeg|png from a SVG file, but I would also...
0
by: jason | last post by:
Hello. I've got a DOS script that generates <TD>s for image files in a directory. I then plug it's output into an html table producing thumbnail like image boxes (the script is also setting the...
14
by: George Hester | last post by:
http://hesterloli.dnsalias.com/test/javascript_image.htm The image is the 100x100 px block. If we right-click in it and try to save the image we cannot. Is it possible to say set a mime-type so...
1
by: Xah Lee | last post by:
The following is a program to generate thumbnail images for a website. Useful, if you want to do that. It is used to generate the thumbnails for my “Banners, Damsels, and Mores” project...
0
by: krish | last post by:
hi, I am dynamically generating Imagebutton (say 5 imagebutton, in loop) . for each imagebutton url , i am dynamically generating image and assigining to it. every thing is ok upto this...
2
by: bizt | last post by:
Hi, Is it possible to obtain the width/ height of an image when that image is dyanically created using a PHP script and passing GET attributes. For example: <img...
2
pradeepjain
by: pradeepjain | last post by:
hii guys, I am storing a image in a database in form of blob and now i want to send that image as a inline image in a mail ..how to do it.. this is the code ..plzz help <?php...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.