Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
#1 2008-07-19 15:00:22
- lister
- Member
- Registered: 2008-02-13
- Posts: 76
thumbnails error - more newbie questions
Thanks for every ones help so far.. I really appreciate it
my current site: http://www.precociouscollective.com
My site is being redeveloped using textpattern, I have set up a few pages and sections and have been playing around with if statements to swap each section within the main page.
Each section contains a simple article, except for the artist section which contains thumbnails of each artist, this will then be clicked and another page will launch about the artist bio.
At the moment I have just setup 2 artists thumbnail images and main images and assigned the id to there respective article.
the artist if statement has a form artwork_list which is
<txp:permlink>
<txp:article_image thumbnail=“1”/>
</txp:permlink>
When I view the site I can click through the nav and see the article for that section. But when I click the artist nav/section I get an error
<txp:article_image thumbnail=“1”/> — Textpattern notice: unknown image, on 2175.
Im not sure whats going on as I have assigned the thumb to the article..
code:
http://pastebin.com/m50c15e1b
any ideas
lister
Offline
#2 2008-07-19 17:21:55
- els
- Moderator
- From: The Netherlands
- Registered: 2004-06-06
- Posts: 7,458
Re: thumbnails error - more newbie questions
Your code looks fine. What exactly did you enter in the ‘article image’ field?
Offline
Re: thumbnails error - more newbie questions
Check out one of the image selector plugins1 – they make inserting article images a lot easier and eliminate input errors.
1 jmd_img_selector (shameless plug), upm_img_popper, bas_img_selector
Last edited by jm (2008-07-19 18:07:25)
Offline
#4 2008-07-20 20:01:18
- lister
- Member
- Registered: 2008-02-13
- Posts: 76
Re: thumbnails error - more newbie questions
weird.. It seems to have solved itself??
But for some reason when I click the thumbnail the URL displays the correct article address but the article does not display? All that displays is another thumbnail with some text under it saying “commenting is closed for this article” Why is it not displaying the full article typed in..??
Thanks for the help
Offline
Re: thumbnails error - more newbie questions
Is it me or is it working properly? When I click on a thumbnail I get a “lightbox” image with an article about the artist alongside it. Is that what I should be seeing?
Last edited by thebombsite (2008-07-20 20:42:33)
Stuart
In a Time of Universal Deceit
Telling the Truth is Revolutionary.
Offline
#6 2008-07-20 21:24:11
- lister
- Member
- Registered: 2008-02-13
- Posts: 76
Re: thumbnails error - more newbie questions
The new site is local. Im just not sure why when I click the thumbnail I get another thumb with the text below? I am basically learning as I go along..
lister
Offline
Re: thumbnails error - more newbie questions
Ahh that explains it. I was linking to the site mentioned in your first post.
You could try using the smd_slimbox plug-in which would give you the same “lightbox” effect you currently have, using the caption text for the artist’s bio. Or are you trying to avoid that?
Stuart
In a Time of Universal Deceit
Telling the Truth is Revolutionary.
Offline
#8 2008-07-20 22:00:54
- els
- Moderator
- From: The Netherlands
- Registered: 2004-06-06
- Posts: 7,458
Re: thumbnails error - more newbie questions
lister wrote:
Im just not sure why when I click the thumbnail I get another thumb with the text below?
Your individual article is probably using the same article form as the article list? You could create a form e.g. ‘artwork_single’:
<h3><txp:title /></h3>
<txp:article_image />
<txp:body />
and use <txp:article form="artwork_single" listform="artwork_list" />
on the page.
The text ‘commenting is closed for this article’ will go away when you set ‘Automatically append comments to articles’ to ‘no’ (in admin > preferences).
Offline
#9 2008-07-21 13:55:18
- lister
- Member
- Registered: 2008-02-13
- Posts: 76
Re: thumbnails error - more newbie questions
Thanks that worked a treat..I really appreciate all the help here… great forum!
Offline