Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Creating Thumbnails/archive page and other questions...
I’m trying to create a photo gallery…er…photoblog I guess with Textpattern. I read Threshold State’s article but that didn’t help as far as linking to new images. I finally used <code>txp:next_title</code>/prev title, which worked well, except my popup comments disappeared. I finally settled with the messy older/newer tag though. solved
1) How do I make a working thumbnail archive? Solved
2) Ideally, I’d like the thumbnails to be located in /gallery/. Can I post the images to the /gallery/ section, but have the index page show the thumbnails instead of the full images? [duh!]
3) I don’t know what’s with my thumbnails. My last gallery(minigal) used GD to create the thumbnails, but these look awful. Is there something I can do?
Thanks for the help! I’m looking foward to being able to post photos rather than tinker with my site :D!
Jon-Michael
Last edited by deldindesign (2006-02-04 17:22:36)
Offline
Re: Creating Thumbnails/archive page and other questions...
I’ll be amending wet_thumbfilter to accept a limit
attribute during the holidays, which will then return more than one thumbnail and thus make it act more like txp:article_custom. You will then be able to work with this plugin like that:
<txp:wet_thumbfilter section="gallery" limit="" />
This will return infite thumbnails from the section named “gallery” wherever you put that tag in. Promised.
Maybe this will help you.
Last edited by wet (2005-12-20 08:04:31)
Offline
Re: Creating Thumbnails/archive page and other questions...
Thanks, that’ll definitely help. For now, I’m just inserting the thumbnail in the excerpt and using the following:
<code>
<txp:if_individual_article>
<div id=“image”><txp:article_image /></div>
<p id=“details”><txp:comments_invite /></p>
<div id=“navigation”><txp:link_to_prev>←</txp:link_to_prev>|
<txp:link_to_next >→</txp:link_to_next ></div>
</txp:if_individual_article>
<txp:if_article_list>
<txp:permlink><txp:excerpt /></txp:permlink>
</txp:if_article_list>
</code>
The comments invite (popup) doesn’t work just yet, but I’m working on it.
Is there something I can do to get better-quality thumbnails? The ones TXP created are really awful looking. My server has GD installed, and I didn’t have a problem with it before with my old thumbnails (Minigal).
Thanks again,
JM
Last edited by deldindesign (2005-12-22 20:20:11)
Offline
Re: Creating Thumbnails/archive page and other questions...
Try wet_thumbfilter v0.3 and see if this fits.
Re thumbnail quality:
I’ve stolen one of your images:
and generated a thumbnail on my server:
That looks definitely better than the one you have:
Conclusion:
- You are experiencing odd lo-fi thumbnails
- I have no clue how this can happen
Last edited by wet (2005-12-22 22:24:17)
Offline
Re: Creating Thumbnails/archive page and other questions...
If I understood you correctly, you want something like :
X X X X X X X X X X X X X X
X X X X X X X X X X X X X X
X X X X X X X X X X X X X X
X X X X X X X X X X X X X X
Where X is an article image. Correct ? If that so, what you need is upm_img_popper (yes the name is misleading) :
In the default (called by the index page) template, call the articles you want with a <txp:article_custom limit="99999" form="Gallery" section="Gallery" >
Create a form Gallery, and in it put something like :
<code><div class=“gallery-a-photo”>
<txp:permlink>
<txp:title>
<txp:upm_article_image type=“thumbnail” limit=“1”/>
</txp:permlink>
</div>
</code>
And voilà.
Offline
Re: Creating Thumbnails/archive page and other questions...
Thanks for the reply. That is bizarre because a thumbnail generates by minigal looks as it should. I tried it on my other TXP installation (on a subdomain), and the same thing happens.
Thanks Jeremie— now I’ve got three options to consider!
JM
Last edited by deldindesign (2006-02-05 17:35:35)
Offline
#7 2005-12-23 19:20:30
- reptilerobots
- Member
- Registered: 2005-08-20
- Posts: 72
Re: Creating Thumbnails/archive page and other questions...
Maybe you have a weird color profile assigned to your image, or maybe an extra channel.
Offline
Re: Creating Thumbnails/archive page and other questions...
No, I usually never assign a color profile, since most browsers don’t read it. I wish it were true though…:(
Offline
Re: Creating Thumbnails/archive page and other questions...
(Bump)
I’ve tested it a few more times and found it’s isolated to my server. Every other GD resizer/thumb creator doesn’t have this weird problem. It’s not a problem to upload my own thumbnails, but I kind of wanted textpattern to do it for me…
Offline
Re: Creating Thumbnails/archive page and other questions...
Sorry to dig this up again. Could there be something with the resizing settings in textpattern that affects it? I was thinking /textpattern/lib/class.thumb.php would have something, but I’m not sure what affects it.
Resolved – upgrade GD/php
Last edited by deldindesign (2006-07-07 23:28:44)
Offline