Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
#16 2007-06-06 17:37:43
- els
- Moderator

- From: The Netherlands
- Registered: 2004-06-06
- Posts: 7,458
Re: list newest articles w/pictures only
So you did not use txp to upload your images at all? If so, could you try uploading one image and it’s thumbnail in the ‘images’ tab and see if it works for that one?
Offline
#17 2007-06-06 18:00:32
- herrin.blue
- Member

- From: Sometimes around Scotland
- Registered: 2007-05-26
- Posts: 10
Re: list newest articles w/pictures only
Yes yes, I did it.
this is the code in the default page:
<ul>
<txp:article_custom form=“justtheimage” allowoverride=“0” pgonly=“0” sort=“Posted desc” status=“4”/>
</ul>
this is the form:
<txp:permlink><txp:article_image thumbnail=“1” class=“article_image_thumb”/></txp:permlink>
and this is the article form:
<txp:article_image class=“article_image” thumbnail=“1” />
<div id=“posttitle”><txp:title /></div>
<div id=“date”><txp:posted gmt=“1” /></div>
<txp:body />
<br/></div>
In the advanced options for the article, I’ve chosen to attach the following image:
http://127.0.0.1/nuovosito/images/15.jpg
whose thumbnail is http://127.0.0.1/nuovosito/images/15t.jpg uploaded using txtpatter (locally).
So now, why on both forms (article and justtheimage) the displayed image is
http://127.0.0.1/nuovosito/images/15.jpg
and not
http://127.0.0.1/nuovosito/images/15t.jpg
I can’t read the mistake anywhere!
Thanks
Offline
#18 2007-06-06 19:12:13
- els
- Moderator

- From: The Netherlands
- Registered: 2004-06-06
- Posts: 7,458
Re: list newest articles w/pictures only
Can you try one more thing? In the article image field, just enter ‘15’ (without the quotes).
Offline
#19 2007-06-12 18:08:26
- herrin.blue
- Member

- From: Sometimes around Scotland
- Registered: 2007-05-26
- Posts: 10
Re: list newest articles w/pictures only
Hi Els,
I’ve tried this option as well, but no way. Could it be that some plug in is in conflict with some other?
It seems to me that textpattern is not recognizing the thumbnails, though they appear to be uploaded.
Thanks!
Offline
#20 2007-06-12 21:41:33
- els
- Moderator

- From: The Netherlands
- Registered: 2004-06-06
- Posts: 7,458
Re: list newest articles w/pictures only
You can try disabling your plugins and if it works then, activate them one by one, to find out which one is the culprit. Also try following the guidelines in this FAQ: Diagnosing template problems.
The only thing that doesn’t seem right in your code is thumbnail="1" in the individual article form. But that wouldn’t cause the thumbnail not to display…
Offline