How to increase the size of the description entry text box?

HomeSupportNextGEN Public UploaderHow to increase the size of the description entry text box?

This topic has 1 voice, contains 5 replies, and was last updated by  admin 539 days ago.

Viewing 6 posts - 1 through 6 (of 6 total)
Author Posts
Author Posts
July 8, 2010 at 8:32 am #349

admin

I am using this plug-in on a new site that i am creating. I have a page rather than a widget for uploading images. I only dabble in php and so cannot find what I am looking for. Can anyone please point me in the direction of the code that I need to modify so that I can make the data entry box for the image description larger?

Thanks

Colin

July 16, 2010 at 2:34 pm #350

admin

If you only want to make it longer you can change it's appearance in your style sheet by specifying a width for #imagedescription.

I turned mine into a multi line input field by changing npu-upload.php line 219 from:

$strOutput .= “nt<input type=”text” name=”imagedescription” id=”imagedescription”/>”;

to:

$strOutput .= “nt<textarea type=”text” name=”imagedescription” id=”imagedescription” cols=”38″ rows=”9″ /></textarea>”;

You can change the size by changing the cols and rows values. Firefox gives me a defined box while safari and chrome give me a resizable box with this.

July 16, 2010 at 3:21 pm #351

admin

Jasonl,

Thanks very much i was trying to hack the php and screwed my site up and had to reload the plugin. <img title=”Frown” src=”/wp-content/forum-smileys/sf-frown.gif” alt=”Frown” /> Why I didn't think of doing the CSS I don't know I am far more familiar with editing that <img title=”Embarassed” src=”/wp-content/forum-smileys/sf-embarassed.gif” alt=”Embarassed” />. Thanks again

Colin

November 29, 2010 at 7:40 am #352

admin

Thanks for the blog – worked a treat!
Any ideas how to make it into a multi-image upload?
Thanks in Advance
Steve

November 29, 2010 at 8:15 am #353

admin

Steve, You can't unfortunately. It will need a re-write of the plugin to do that iirc. It is something that I would like too.

November 30, 2010 at 4:48 am #354

admin

Thanks for getting back to me.  I'll look forward to seeing it in action if you ever get
<img src=”file:///P:/Users/sevans/AppData/Local/Temp/moz-screenshot-9.png” alt=”" /><img src=”http://thirdofacentury.net/images/aRoundTuit.jpg&#8221; alt=”" width=”109″ height=”109″ />

Viewing 6 posts - 1 through 6 (of 6 total)

You must be logged in to reply to this topic. Register or login