Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Re: Use thumbnails for txp:article_image
So…whatever became of this???
Offline
Re: Use thumbnails for txp:article_image
<txp:article_image thumbnail="1"/>
Offline
Re: Use thumbnails for txp:article_image
While documentation might be good, it still doesn’t work.
I have this plugged into my article form and I don’t see anything on the page:
<txp:article_image thumbnail="1" class="img" />
<h3 class="entry-title"><txp:permlink><txp:title /></txp:permlink></h3>
<p class="entry-summary"><txp:search_result_excerpt /></p>
<hr /><br class="clearfloat" />
What am I doing wrong? Do I need to create a thumbnail in the image tab, or will it be generated automatically?
Offline
Re: Use thumbnails for txp:article_image
Yes, you have to create a thumbnail when you upload or modify your image.
Offline
Re: Use thumbnails for txp:article_image
lol…I’m stupid!
Offline
Re: Use thumbnails for txp:article_image
Another problem…
According to the documentation, I should be able to turn my link to a <txp:permlink>. Do I lose this capability when I add an image class?
This works:
<txp:permlink><txp:article_image thumbnail="1" /></txp:permlink>
This doesn’t work:
<txp:permlink><txp:article_image thumbnail="1" class="img" /></txp:permlink>
Is there a way to make this work??? Preferably without using plug-ins.!!!!
Last edited by conspirator (2008-04-04 21:41:26)
Offline
Re: Use thumbnails for txp:article_image
Your code produces the following HTML – what are you expecting it to do?
<a rel="bookmark" href="http://txp.dev/third-post"><img src="http://txp.dev/images/2t.png" alt="" class="img" /></a>
Last edited by jm (2008-04-04 22:11:38)
Offline
Re: Use thumbnails for txp:article_image
I want people to be able to click the image and go to the article that the image is associated with.
Offline
#21 2008-04-04 22:25:59
- Mary
- Sock Enthusiast
- Registered: 2004-06-27
- Posts: 6,236
Re: Use thumbnails for txp:article_image
That’s what it does. What does it do for you?
Offline
Re: Use thumbnails for txp:article_image
Check it out for yourself… http://www.emqus.com
Offline
Offline