Ask a Question related to PHP Development, Design and Development.
-
Ralph Freshour #1
Using PHP + Images in an html TextArea tag
I'm trying to add images to a TEXTAREA tag (in my PHP web page) using
the usual image tag:
<INPUT TYPE="image" etc.
But the images are not showing up in the TEXTAREA but rather outside,
below it - I'm trying to display thumbnail images in a scrolling area
on the web page so I can insert a variable number of images into the
TEXTAREA object - can this be done this way or is there a better way
to insert multiple images in a scrolling object for a web page?
Thanks...
Ralph Freshour Guest
-
strip html tags from textarea content
Hi, I'm really new to flex developing, I'm writing a page that have to retrieve some content from an xml file and display it in some form... -
textArea - HTML - img URL
I've got a textArea loading html from an external file. The problem is with displaying images. Everything works fine when the image URL is e.g.... -
load images from database into textarea
Hi Im trying to load a small pice of HTML from our CMS system into the textarea component. If an image src is a dynamic file the image is not... -
TextArea HTML Help
If someone can help it would be great!....I'm using ActionScript in Flash MX2004 to fill a TextArea box with results from some calculations. I have... -
Removing carriage returns from <textarea></textarea> input
Hiya, I have a form with a <textarea></textarea> to receive user input. This input is then stored in a database and sent by fax... I need to... -
Eric Kincl #2
Re: Using PHP + Images in an html TextArea tag
Ralph Freshour wrote:
I know it's impossible for images to be in a textarea, hence it being a> I'm trying to add images to a TEXTAREA tag (in my PHP web page) using
> the usual image tag:
>
> <INPUT TYPE="image" etc.
>
> But the images are not showing up in the TEXTAREA but rather outside,
> below it - I'm trying to display thumbnail images in a scrolling area
> on the web page so I can insert a variable number of images into the
> TEXTAREA object - can this be done this way or is there a better way
> to insert multiple images in a scrolling object for a web page?
>
> Thanks...
"textarea" You could create a whole new PHP page (or accept a special
param in the GET line) and use an <iframe>...
Or just output it to the screen like you would normaly and let the user
scroll normally.
-Eric Kincl
Eric Kincl Guest
-
Michael Fuhr #3
Re: Using PHP + Images in an html TextArea tag
Ralph Freshour <ralph@primemail.com> writes:
TEXTAREA is for creating a multi-line text entry field for a form,> I'm trying to add images to a TEXTAREA tag (in my PHP web page) using
> the usual image tag:
>
> <INPUT TYPE="image" etc.
not for displaying images. And the "usual" image tag is IMG, unless
the form has clickable images that should effect a form submission.
Are you creating a form for submission, or are you just trying to> But the images are not showing up in the TEXTAREA but rather outside,
> below it - I'm trying to display thumbnail images in a scrolling area
> on the web page so I can insert a variable number of images into the
> TEXTAREA object - can this be done this way or is there a better way
> to insert multiple images in a scrolling object for a web page?
(ab)use form elements to control how the page is rendered? If the
latter, then perhaps IFRAME is what you want.
BTW, this doesn't have anything to do with PHP -- it's an HTML issue.
--
Michael Fuhr
[url]http://www.fuhr.org/~mfuhr/[/url]
Michael Fuhr Guest
-
Nikolai Chuvakhin #4
Re: Using PHP + Images in an html TextArea tag
Ralph Freshour <ralph@primemail.com> wrote in message
news:<6deorvcbnef7ouvm1rb1cr98oreu4svk5g@4ax.com>. ..Stop trying. It's not going to work. TEXTAREA is just a form>
> I'm trying to add images to a TEXTAREA tag
input, it is not supposed to hold anything othe than plain text...
Use frames.> I'm trying to display thumbnail images in a scrolling area
> on the web page
Cheers,
NC
Nikolai Chuvakhin Guest
-
Bob #5
Re: Using PHP + Images in an html TextArea tag
Hi, U can use < dev class="xx"></div>
Where class xx:
..xxx{
background-color: white;
overflow: scroll;
......
}
[email]nc@iname.com[/email] (Nikolai Chuvakhin) wrote in message news:<32d7a63c.0311200013.4713a023@posting.google. com>...> Ralph Freshour <ralph@primemail.com> wrote in message
> news:<6deorvcbnef7ouvm1rb1cr98oreu4svk5g@4ax.com>. ..>> >
> > I'm trying to add images to a TEXTAREA tag
> Stop trying. It's not going to work. TEXTAREA is just a form
> input, it is not supposed to hold anything othe than plain text...
>>> > I'm trying to display thumbnail images in a scrolling area
> > on the web page
> Use frames.
>
> Cheers,
> NCBob Guest
-
Anonymous #6
Re: Using PHP + Images in an html TextArea tag
Bob wrote:
i'd recommend using an iframe, it'd work much better> Hi, U can use < dev class="xx"></div>
> Where class xx:
> .xxx{
> background-color: white;
> overflow: scroll;
> .....
> }
>
> [email]nc@iname.com[/email] (Nikolai Chuvakhin) wrote in message news:<32d7a63c.0311200013.4713a023@posting.google. com>...
>>>Ralph Freshour <ralph@primemail.com> wrote in message
>> news:<6deorvcbnef7ouvm1rb1cr98oreu4svk5g@4ax.com>. ..
>>>>>>>I'm trying to add images to a TEXTAREA tag
>>Stop trying. It's not going to work. TEXTAREA is just a form
>>input, it is not supposed to hold anything othe than plain text...
>>
>>>>>>>I'm trying to display thumbnail images in a scrolling area
>>>on the web page
>>Use frames.
>>
>>Cheers,
>>NC
Anonymous Guest
-
ChronoFish #7
Re: Using PHP + Images in an html TextArea tag
"Anonymous" <anonymous@isp.com> wrote in message news:92mAb.315809$275.1067304@attbi_s53...If you don't want to deal with multiple "src" files which you would have to use in an Iframe, you can create a scrolling area with> Bob wrote:
>>> > Hi, U can use < dev class="xx"></div>
> > Where class xx:
> > .xxx{
> > background-color: white;
> > overflow: scroll;
> > .....
> > }
> >
> > [email]nc@iname.com[/email] (Nikolai Chuvakhin) wrote in message news:<32d7a63c.0311200013.4713a023@posting.google. com>...
> >> >>Ralph Freshour <ralph@primemail.com> wrote in message
> >> news:<6deorvcbnef7ouvm1rb1cr98oreu4svk5g@4ax.com>. ..
> >>
> >>>I'm trying to add images to a TEXTAREA tag
> >>
> >>Stop trying. It's not going to work. TEXTAREA is just a form
> >>input, it is not supposed to hold anything othe than plain text...
> >>
> >>
> >>>I'm trying to display thumbnail images in a scrolling area
> >>>on the web page
> >>
> >>Use frames.
> >>
> >>Cheers,
> >>NC
> i'd recommend using an iframe, it'd work much better
>
CSS. Personally I like this option the best as it keeps all the code together.
<DIV style="height:160px; border: thin #000000; overflow-y:scroll; overflow-x:hidden;">
Scrollable HTML/PHP code goes here
</Div>
In the end it's not really a PHP issue, but more of an HTML/CSS issue.
-CF
ChronoFish Guest
-
Tim #8
Re: Using PHP + Images in an html TextArea tag
ChronoFish <com> wrote or quoted: [/ref]
>
> If you don't want to deal with multiple "src" files which you would
> have to use in an Iframe, you can create a scrolling area with
> CSS. Personally I like this option the best as it keeps all the code
> together.
>
> <DIV style="height:160px; border: thin #000000; overflow-y:scroll; overflow-x:hidden;">
>
> Scrollable HTML/PHP code goes here
>
> </Div>[/ref]
As with the iframe, this won't work in Mozilla, Firebird or Opera.
--
__________
|im |yler http://timtyler.org/ org Remove lock to reply.
Tim Guest
-



Reply With Quote


