Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
#46 2007-12-26 01:39:50
- Sono Juventino
- Member
- From: Skedsmo, Norway
- Registered: 2007-12-22
- Posts: 81
Re: stm_image_uploader: directly upload images from Write tab
ibalstoff wrote
i also wonder if the file upload form could just be slapped on there via javascript rather than javascript + iframes
How about php include? I don’t know shit about plugin devlopment, but that would be the best solution I think.
One suggestion. Will it be possible to add thumbnail hight and width in forms and choose forms with a drop down menu? I don’t know if that is even possible, but that would be really great. My site uses different sizes on news. At the moment, I’m letting the css hack down the image size, but it’s of course not a good solution because it’s hard on the server.
Just a suggestion. ;)
Offline
#47 2007-12-26 15:22:14
- Joey
- Member
- From: Netherlands
- Registered: 2005-01-19
- Posts: 257
Re: stm_image_uploader: directly upload images from Write tab
Great to see all the progress here, thanks! When will the updated plugin be available?
Regards,
Joey
Offline
Re: stm_image_uploader: directly upload images from Write tab
as soon as i can figure out how to completely get rid of the border around the iframe that keeps showing up in IE6.

tried everything from:
iframe.setAttribute("border","0");
iframe.setAttribute("frameborder","0");
iframe.style.border = "none";
iframe.border ="0";
iframe.border = "none";
and none of them get rid of it. bah! border doesn’t show up for any other browser. annoying as hell. if anyone has any ideas!
anyway i added a few more preferences to the backend:

Last edited by iblastoff (2007-12-26 18:55:32)
Offline
#49 2007-12-26 18:55:10
- Joey
- Member
- From: Netherlands
- Registered: 2005-01-19
- Posts: 257
Re: stm_image_uploader: directly upload images from Write tab
Here it says that giving the page within the iFrame a body {border:none;} declaration should remove the border. But maybe you’ve already tried that ;-)
Regards,
Joey
Offline
Re: stm_image_uploader: directly upload images from Write tab
i tried that..still no dice. will keep hunting i guess! but barring this issue, the updated plugin is pretty much done.
tested in ie7, opera 9.2+, safari beta 3+ and FF 2+ they all show up like so:

most of the options can be toggled on and off via the plugin preferences except the Alt input since you need that to validate anyway.
Last edited by iblastoff (2007-12-26 19:44:47)
Offline
Re: stm_image_uploader: directly upload images from Write tab
figured it out…its not ‘frameborder’ but ‘frameBorder’.
Offline
Re: stm_image_uploader: directly upload images from Write tab
Hey Steve – so I was thinking about this plugin and what’s the best way to approach it. You could use the ajax functionality of jQuery to display a specific part of a page. I started working on another POC that would give you this and it shouldn’t be more than a couple lines of jQuery. The only question is how well it will fit in with the page. I’m beginning to believe that a simple pop up might work better.
Offline
Re: stm_image_uploader: directly upload images from Write tab
variaas wrote:
I’m beginning to believe that a simple pop up might work better.
I think not usual pop-up should be used but something like thickbox inline
Providing help in hacking ATM! Come to courses and don’t forget to bring us notebook and hammer! What for notebook? What a kind of hacker you are without notebok?
Offline
Re: stm_image_uploader: directly upload images from Write tab
Offline