Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
#13 2005-03-12 20:02:00
- lithiumdave
- Member
- From: UK
- Registered: 2004-09-14
- Posts: 10
Re: Img Selector - a very little hack
Fantastic work, really appreciated!
Offline
#14 2005-03-13 11:49:05
- feragnoli
- Member
- From: the hague
- Registered: 2005-02-10
- Posts: 150
Re: Img Selector - a very little hack
hello Bas, hope this works the way I expect it to do… but I think I did some thing wrong in the configuration cause I get these answer from the server:
<i>Fatal error: Call to undefined function: bas_img_selection() in /www/htdocs/denhaag/textpattern/include/txp_article.php on line 381</i>
and, above:
<i> Warning: Division by zero in /www/htdocs/denhaag/textpattern/include/txp_article.php on line 10
Warning: main(phpâ€) [function.main]: failed to create stream: No such file or directory in /www/htdocs/denhaag/textpattern/include/txp_article.php on line 10
Warning: main() [function.main]: Failed opening ‘php‒ for inclusion (include_path=’.:..’) in /www/htdocs/denhaag/textpattern/include/txp_article.php on line 10 </i>
I’m actually using version 1.0rC3 of textpattern, might that be the problem?
Thank you!
what was that again…?
Offline
#15 2005-03-17 11:24:34
- feragnoli
- Member
- From: the hague
- Registered: 2005-02-10
- Posts: 150
Re: Img Selector - a very little hack
RISMO, thanks, but still i can’t get it to work. it gives me this:
<i>
Warning: Division by zero in /www/htdocs/denhaag/textpattern/include/txp_article.php on line 10
Warning: Division by zero in /www/htdocs/denhaag/textpattern/include/txp_article.php on line 10
Warning: main(php’) [function.main]: failed to create stream: No such file or directory in /www/htdocs/denhaag/textpattern/include/txp_article.php on line 10
Warning: main() [function.main]: Failed opening ‘php’’ for inclusion (include_path=’.:..’) in /www/htdocs/denhaag/textpattern/include/txp_article.php on line 10
</i>
?
!
what was that again…?
Offline
#16 2005-03-18 10:44:44
- feragnoli
- Member
- From: the hague
- Registered: 2005-02-10
- Posts: 150
Re: Img Selector - a very little hack
mmm,
rismo thanks a lot, it works now, I just noticed that i was pasting a lot of characters which were not supposed to be there, in the include file.
thank you bastian, did not check it yet but this solves a lot of problems.
what was that again…?
Offline
Re: Img Selector - a very little hack
I would like if i could configure it, so if you select an image, it adds it to a comma-separated list in “image” field – to use it in combination with zem_article: http://thresholdstate.com/software/3699/zem_article_image
Also, if the popup would only show the thumbnails?
Last edited by harryv (2005-03-28 00:01:53)
Offline
Re: Img Selector - a very little hack
I’m working on an admin plugin.
Here is my list of things that plug should do:
- Insert image into post or into article-image-field.
- Show thumbs and images or only thumby or only images.
- The popup-select-option will be replaced by an popup-preview
- Optional link for thumbs to their orginals
Anything I forget?
If I bring alpumpattern to work with rc13, this should be included, too.
But so far I can’t get ap work with rc13.
Offline
#19 2005-03-29 10:28:22
- feragnoli
- Member
- From: the hague
- Registered: 2005-02-10
- Posts: 150
Re: Img Selector - a very little hack
bas, inserting the image into article-image-field is the best option, thanks for working on this.
still, i installed the (new) plugin on a fresh rc3 for another site i’m building and now I get no popup in the write page, only a link to a new window where toview and select the images.
now, though, when i click on the image it doesn’t paste the image into the body field of the article…
seems to me you changed the method to include the plugin. it used to be:
<i><b>include</b>(“lib/bas_img.php
Last edited by feragnoli (2005-03-29 10:30:22)
what was that again…?
Offline