Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
#16 2006-12-12 12:09:00
- Mary
- Sock Enthusiast
- Registered: 2004-06-27
- Posts: 6,236
Re: Frustration/ thumbnails won't work
We need to see more of the trace. What comes after what you’ve posted?
Offline
#17 2006-12-12 12:15:35
- WhiteDog
- Member

- From: Maine
- Registered: 2005-09-07
- Posts: 174
Re: Frustration/ thumbnails won't work
here is the entire post.
<!-- Runtime: 0.3530 -->
<!-- Query time: 0.323615 -->
<!-- Queries: 18 -->
<!-- Memory: no info available -->
<!-- txp tag trace:
[SQL (0.001541): select name from txp_lang where lang='en-us' limit 1]
[SQL (0.004787): select name, data from txp_lang where lang='en-us' AND ( event='public' OR event='common')]
[SQL (0.022149): select name, code, version from txp_plugin where status = 1]
[SQL (0.074012): select * from txp_section where name = 'default' limit 1]
[SQL (0.052201): select host from txp_log where ip='74.69.250.81' limit 1]
[SQL (0.113176): insert into txp_log set `time`=now(),page='/index.php',ip='74.69.250.81',host='cpe-74-69-250-81.maine.res.rr.com',refer='',status='200',method='GET']
[SQL (0.000998): select user_html from txp_page where name='default']
[Page: default]
<txp:page_title/>
<txp:feed_link flavor="atom" format="link" label="Atom" />
<txp:feed_link flavor="rss" format="link" label="RSS" />
<txp:css n="default" />
<txp:css n="live" />
<txp:css n="footer" />
<txp:output_form form="ie styles" />
[SQL (0.000593): select Form from txp_form where name='ie styles']
[Form: ie styles]
<txp:output_form form="live search" />
[SQL (0.000633): select Form from txp_form where name='live search']
[Form: live search]
<txp:cbs_live_search defaultvalue=" search" excerpts="true" waitimage="../images/load.gif" wraptag="p" />
<txp:article_custom category="featured" limit="1" />
[SQL (0.043561): select *, unix_timestamp(Posted) as uPosted from textpattern where 1 and Status = 4 and Posted <= now() and ((Category1='featured') or (Category2='featured')) order by Posted desc limit 0, 1]
[SQL (0.000654): select Form from txp_form where name='default']
[Form: default]
[article 8]
<txp:permlink>
<txp:title/>
</txp:permlink>
<txp:body/>
<txp:article_image/>
<txp:comments_invite wraptag="p" />
<txp:older>
</txp:older>
<txp:newer>
</txp:newer>
<txp:article_custom form="fullarticle" limit="1" pgonly="0" searchall="1" category="professional" status="4" />
[SQL (0.001130): select *, unix_timestamp(Posted) as uPosted from textpattern where 1 and Status = 4 and Posted <= now() and ((Category1='professional') or (Category2='professional')) order by Posted desc limit 0, 1]
[SQL (0.000490): select Form from txp_form where name='fullarticle']
[Form: fullarticle]
[article 11]
<txp:permlink>
<txp:title/>
</txp:permlink>
<txp:body/>
<txp:article_image/>
<txp:older>
</txp:older>
<txp:newer>
</txp:newer>
<txp:article_custom form="thumbs" limit="21" category="professional" />
[SQL (0.001179): select *, unix_timestamp(Posted) as uPosted from textpattern where 1 and Status = 4 and Posted <= now() and ((Category1='professional') or (Category2='professional')) order by Posted desc limit 0, 21]
[SQL (0.000440): select Form from txp_form where name='thumbs']
[Form: thumbs]
[article 11]
<txp:permlink>
<txp:article_image thumbnail="1" />
</txp:permlink>
<txp:output_form form="footer" />
[SQL (0.001048): select Form from txp_form where name='footer']
[Form: footer]
<txp:output_form form="accordion" />
[SQL (0.002208): select Form from txp_form where name='accordion']
[Form: accordion]
[ ~~~ secondpass ~~~ ]
-->
Grrr RRR nnndth grrr Skeek!
Offline
#18 2006-12-12 13:33:56
- Mary
- Sock Enthusiast
- Registered: 2004-06-27
- Posts: 6,236
Re: Frustration/ thumbnails won't work
Now what are you entering the article image write tab field? The image id? it’s name? Something else?
Offline
#19 2006-12-12 14:01:29
- WhiteDog
- Member

- From: Maine
- Registered: 2005-09-07
- Posts: 174
Re: Frustration/ thumbnails won't work
the absolute url
http://www.sitename/images/@imageid@.jpg
Grrr RRR nnndth grrr Skeek!
Offline
Re: Frustration/ thumbnails won't work
Should just be the number … 54, 23, etc …
nuff-respec ::: dannyb
Offline
#21 2006-12-12 15:21:52
- alexandra
- Member

- From: Cologne, Germany
- Registered: 2004-04-02
- Posts: 1,370
Re: Frustration/ thumbnails won't work
@Whitedog – just a note:
in general you should check out the better hak_article_image plugin
Offline
#22 2006-12-12 19:10:41
- WhiteDog
- Member

- From: Maine
- Registered: 2005-09-07
- Posts: 174
Re: Frustration/ thumbnails won't work
oh great thank you everyone!
Grrr RRR nnndth grrr Skeek!
Offline
#23 2006-12-13 03:35:10
- Mary
- Sock Enthusiast
- Registered: 2004-06-27
- Posts: 6,236
Re: Frustration/ thumbnails won't work
You can use an absolute url or the image name as well.
I don’t recommend using plugins to work around problems with core tags not working correctly and leaving it at that. It leaves the problem unsolved.
But in any case, does that particular plugin work for you, WhiteDog? That at least gives me a clue of what I should be looking for, if this is a bug.
Offline
Re: Frustration/ thumbnails won't work
WhiteDog wrote:
I have been going mad, I can’t get
<txp:article_image thumbnail="1" />to work
Mary wrote:
You can use an absolute url or the image name as well.
I don’t think so. Absolute URLs would work for images, but not for thumbnails. So this is not yet a bug but rather an occurence of the widespread ambiguity in core code and image related plugins on how to handle image ids, comma separate lists of image ids, and image names.
Offline
#25 2006-12-13 12:05:19
- WhiteDog
- Member

- From: Maine
- Registered: 2005-09-07
- Posts: 174
Re: Frustration/ thumbnails won't work
the plugin seems to work along with the image id but , i was unable to get upm_img to ever work. Which is odd because I have used it many times before on other sites with no problems.
But thank you once again for all your help.
Grrr RRR nnndth grrr Skeek!
Offline