 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
|
 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.
|
 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
|
 admin
|
Thanks for the blog – worked a treat!
Any ideas how to make it into a multi-image upload?
Thanks in Advance
Steve
|
 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.
|
 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” alt=”" width=”109″ height=”109″ />
|