473,395 Members | 2,468 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,395 software developers and data experts.

Dynamic inline image (png)

Is there a way to generate a dynamic image, passing an array (of
arrays) to the image creation script, such that it displays along with
text on a php generated HTML page?

I either get header errors (can't modify headers already sent), or I
get the php script passing 'Array' to the image script instead of the
actual array variable/object.

How do I get dynamic, incline images to show up with surrounding text?

TIA!

Jul 17 '05 #1
5 2509
di********@gmail.com wrote:
I either get header errors (can't modify headers already sent),
news:BE**********************@invalid.invalid
or I get the php script passing 'Array' to the image script instead
of the actual array variable/object.


http://www.php.net/manual/en/function.serialize.php

--
Jock
Jul 17 '05 #2
*** di********@gmail.com escribió/wrote (11 Mar 2005 07:14:00 -0800):
Is there a way to generate a dynamic image, passing an array (of
arrays) to the image creation script, such that it displays along with
text on a php generated HTML page?


If I understand what you mean, you cannot. HTML is text-only, you cannot
embed images in an HTML document (unlike MS Word or Adobe PDF). However you
can *link* external images and generate them in a different script.
--
-+ Álvaro G. Vicario - Burgos, Spain
+- http://www.demogracia.com (la web de humor barnizada para la intemperie)
++ Manda tus dudas al grupo, no a mi buzón
-+ Send your questions to the group, not to my mailbox
--
Jul 17 '05 #3
Alvaro G. Vicario <kA*****************@terra.es> wrote:
If I understand what you mean, you cannot. HTML is text-only, you cannot
embed images in an HTML document (unlike MS Word or Adobe PDF).


Then please don't look at the folowing URL: http://tmp.tryba.nl/inline/

That URL scheme is just 7 years old :)

Jul 17 '05 #4
*** Daniel Tryba escribió/wrote (11 Mar 2005 22:40:22 GMT):
Alvaro G. Vicario <kA*****************@terra.es> wrote:
If I understand what you mean, you cannot. HTML is text-only, you cannot
embed images in an HTML document (unlike MS Word or Adobe PDF).


Then please don't look at the folowing URL: http://tmp.tryba.nl/inline/

That URL scheme is just 7 years old :)


It does not work in IE (just Mozilla) but it definitively does exist. Never
in my life will I say "you cannot" again :)
--
-+ Álvaro G. Vicario - Burgos, Spain
+- http://www.demogracia.com (la web de humor barnizada para la intemperie)
++ Manda tus dudas al grupo, no a mi buzón
-+ Send your questions to the group, not to my mailbox
--
Jul 17 '05 #5
Alvaro G. Vicario <kA*****************@terra.es> wrote:
That URL scheme is just 7 years old :)
It does not work in IE (just Mozilla) but it definitively does exist.


We just have to wait a couple of more years for MS to update their 5
year old browser :(
Never in my life will I say "you cannot" again :)


It was my pleasure to teach you this :)

Jul 17 '05 #6

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
by: K | last post by:
I have found a script online that I want to use (I am new to PHP). It creates dynamic images based on the text that you pass it. However, no matter how I try, I can't get anything other than a...
3
by: Mark Tranchant | last post by:
On my site, I use a background image of a small arrow to denote links that lead away from my site. This page has four such links in the first section: http://tranchant.plus.com/notes/cable-wrap...
7
by: JavaScriptRocks | last post by:
I've been trying to imitate / reverse engineer the add attachment feature in gmail composer. I managed to do it to say about 80% but its giving me trouble in IE on WinXP-Sp2. I am using PHP to do...
4
by: Phil | last post by:
I've recently seen a couple of sites that have dynamically generated .png files on them and I'm wondering how to do it in c#, or if it's a server side thing. Here are a couple of links:...
2
by: pamelafluente | last post by:
Hi guys, I am trying to add some code in the body of a document just after it has loaded. I have the following code (this is referenced in an html page). When I click on the document I...
3
by: AleXmanFree | last post by:
Hi , I have got problem with passing my inline based value to y user control (or custom control, no matter which one I use, I have tried both to make sure it doesnt matter) . So say I have...
1
by: AleXmanFree | last post by:
Hi , I have got problem with passing my inline based value to y user control (or custom control, no matter which one I use, I have tried both to make sure it doesnt matter) . So say I have...
1
by: neovantage | last post by:
Hey all, I am using a PHP script which creates headings at run time in a sense at page execution. I am stuck a with a very little problem which i am sure i will have the solution from experts. ...
2
by: neovantage | last post by:
Hey all, I have created transparent PNG images from text dynamically. But it edges are pixel-ate or we can say edges are distorted. Here is my LINK which shows my generated transparent PNG image....
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
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: 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:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
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
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.