PDA

View Full Version : Display images by category


cosmonaut
06-06-2005, 07:28 PM
Hello, I was wondering if it was possible to sort photos by categories and link each category to a seperate page? Thanks for your help

blinking8s
06-06-2005, 08:07 PM
well, in your admin, you have a categories page, you set this up, when posting or editing photos up select the categories its in.

On the main page, you can use the categories tag...the tag info is found in your docs folder of you pixelpost download, labeled template tags or something

cosmonaut
06-07-2005, 05:14 PM
Is it also possible to sort thumbnails by categories? I'd like to create pages for categories, and not have all the photos displayed together.

|Shrued
06-10-2005, 07:46 PM
cosmonaut: some of the templates are already configured to allow sorting by use of a pull-down menu. The browse-template.html in the pixel-post light folder gives a great example of that. <BROWSE_CHECKBOXLIST> is the tag that does just that.

If you happen to know html, you can choose to list the categories as well.

The docs folder has a file that lists other tags that would also help you acheive the results you are looking for.

derevaun
06-13-2005, 03:57 AM
It pretty much does that automatically. The browse template (archive) has a dropdown select menu by default, but if you use the category list as links tag instead, you can format it visually like a kind of footer and the page feels more like a separate page for each category rather than a viewing application.

I added a bit of add-on code that lets me insert a description for each category, with images if I want. I use it for descriptions of the crappy cameras I use. If you click on the first category, which usually is a camera, it goes to a page with a long paean to the camera with thumbnails of all the images from that camera below it. It's pretty easy to hack stuff like that out with a little basic scripting knowledge.