Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2007-02-19 16:15:37

adnanoner
Member
Registered: 2007-01-01
Posts: 20

Categorising an portfolio

Hey guys,

I’m making a portfolio site for an artist. But I’m stuck on categorising the gallery. The problem is:
I have 2 gallery’s. One is expositions and the other is Free Work. In the Exposition gallery I have different “albums”, the expositions I need to display. In those expositions there are different paintings, but I want details of that painting displayed next to the painting. So when I’m viewing an painting there are the details in thumbnails next to them.
So if I put it in levels I would have for example have Expositions -> Collection Of Certain Exposition -> Painting Of Certain Exposition -> Detail Of That Painting

Any idea on how I should handle this problem?

This would help me a lot, I’m kind of stuck now.
Thanks in advance,
Adnan Oner

Offline

#2 2007-02-19 16:34:09

mrdale
Member
From: Walla Walla
Registered: 2004-11-19
Posts: 2,215
Website

Re: Categorising an portfolio

Just so I understand correctly, what you are trying to do is…

  • Expositions > displays thumbnails of all of your expositions, which link to a gallery of a specific exposition
  • Specific Exposition > displays thumbnails of all the work in that exposition, which link to a gallery of views of a particular work
  • Specific Work > displays thumbnails of all of the views of that work, which link to a detail page for each view
  • Specific Detail > displays full size image and written detail about a specific view

Did I understand correctly?

Offline

#3 2007-02-19 16:42:50

adnanoner
Member
Registered: 2007-01-01
Posts: 20

Re: Categorising an portfolio

Almost:
Expositions > Displays list of all the expositions wich links to a gallery of a specific expositions
Specific Exposition > Displays thumbnails of all the work in that expositions, but not the details. It links to a gallery of that particular work.
Specific Work > Displays the specific work (large image), with thumbnails of the details next to it.
*Specific Detail >** Displays the specific detail (large image) of the specific work with the other detials of the specific work next to it.

So yes you did get the idea correctly except that I don’t need all the thumbnails of all the expositions but just a list of them :)

Offline

#4 2007-02-19 18:02:52

mrdale
Member
From: Walla Walla
Registered: 2004-11-19
Posts: 2,215
Website

Re: Categorising an portfolio

I’m assuming you will set up a category tree for images, the following way:
  • Galleries (root)
    • Expositions
      • Expo 1
        • Specific Painting 1
        • Specific Painting 2, etc…
      • Expo 2, etc…
    • Free Work
    • Another category added later

Many of the gallery plugins are not sub category aware (in that parent category will only display images that are assigned specifically to it and not it’s children).

I’ll use rss_thumbpop as an example with stw_category_tree somewhere on the page for navs (with start=“galleries” type=“image” onclass=“selected”)

So let’s say
  1. category=expositions.
    • Thumbnails: all the images assigned explicitly to “expositions” linked to Full-size image
    • Full Size Image: via popup, div or javascript.
    • Caption: output from image caption field, displayable in a div
    • Navs: unordered list showing links “Expositions” and “Free Work” (with a “selected” class for “expositions”)
  2. category=“Specific-Painting-1”
    • Thumbnails: all the images assigned explicitly to “Specific-Painting” linked to Full-size image
    • Full Size Image: via popup, div or javascript.
    • Caption: output from image caption field, displayable in a div
    • Navs: nested unordered lists showing exploded links “Specific Painting 1” and “Specific Painting 2” (with a “selected” class for “Specific Painting 1”) inside a parent unordered list containing “Expositions” and “Free Work”.

That’s how I’d attack your problem, hope this helps. There are bound to be better ways too…

Offline

#5 2007-02-19 20:14:49

adnanoner
Member
Registered: 2007-01-01
Posts: 20

Re: Categorising an portfolio

Thanks for the effort! that helps a lot :)

But I’m still half-way there, I hope I can get some help on this.

Now I’ve made 2 “Root” categories. One is Expositions and the other is Free Work (let’s just only mind the expositions one for now).
  • Expositions
    • Desperatly Seeking Entim (exposition)
      • Adnan (painting)
    • Festival Through A sultans Eyes (exposition)
      • Bird Fancier (painting)
        • Bird Fancier Details (details of painting)

And I have made a category list with
<txp:stw_category_tree wraptag=“li” orderby=“title” type=“image” onclass=“selected” label=“Expositions” section=”*” start=“expositions” maxlevel=“1” />

The section is Expositions (I’ll make a different section for Free Works).

But what now? How do I output everything. What txp tags should I add more? I have add an <txp: article /> tag but what now?

I’m sorry for the questions I’m relatively new to textpattern (but not to html/css). I’m trying to learn now so that in the future I can help other people here. Hope I don’t take to much of your time, if not, some help would be appreciated. :)

If I get it working I’ll write a tutorial haha :D

Thanks a lot!
Adnan

btw: here is the link to the site: www.atelier-semiramis.nl/expositions/

Offline

#6 2007-02-19 21:54:45

mrdale
Member
From: Walla Walla
Registered: 2004-11-19
Posts: 2,215
Website

Re: Categorising an portfolio

>adnanoner

But what now? How do I output everything. What txp tags should I add more? I have add an <txp: article /> tag but what now?

So now you have a nav structure, but in that section you need to create galleries. One way to create galleries without even having to write articles is to use the caption field of your images, then call rss_thumbpop call on the page.

something like…

<txp:rss_thumbpop mode="float" orderby="date asc" showfullalt="1" showfullcaption="1" showcaption="0" showalt="0" jpop="1"  cols="500" limit="10" clickonly="1"/>

Thumbpop knows what image category to present by the url. You just have to style the output. There are literally scores of ways to build a gallery in TXP, I’m just showing you one of my preferred approaches.

Last edited by mrdale (2007-02-19 21:56:07)

Offline

#7 2007-02-19 22:06:15

adnanoner
Member
Registered: 2007-01-01
Posts: 20

Re: Categorising an portfolio

Wow thanks a lot :)

I’m almost there now, but now when I click on an exposition it does not show any images, because the actual images are in for example “bird fancier” and not “festival through a sultan’s eyes”. Is there any way to add an image to 2 or more categories? That would save a lot of trouble.

Thanks for all the help :)

Offline

#8 2007-02-19 22:08:49

adnanoner
Member
Registered: 2007-01-01
Posts: 20

Re: Categorising an portfolio

never mind:

http://www.wilshireone.com/article/159/unlimited-categories-in-textpattern

:)

Edit: too bad that only works on articles and not images.. So how do I get childs in a parents album, overviewing al the children of a parent in that album?

Thanks for all the help :)

Last edited by adnanoner (2007-02-19 22:16:19)

Offline

#9 2007-02-19 22:15:30

mrdale
Member
From: Walla Walla
Registered: 2004-11-19
Posts: 2,215
Website

Re: Categorising an portfolio

Oh, and by the way, I don’t think you need to add the bottom level category, ie, “Bird Fancier Details (details of painting)”. Just apply “bird fancier” to all of the detail images.

Offline

#10 2007-02-19 22:17:28

adnanoner
Member
Registered: 2007-01-01
Posts: 20

Re: Categorising an portfolio

Yes I’m going to do that, but the problem is. I want to have the original first, and the details as thumbnails. Is there a way I can automise this (I could do something with ID’s?)

Edit: fixed it; just orderded it by name because all the details have longer names :)

Last edited by adnanoner (2007-02-19 22:23:10)

Offline

#11 2007-02-19 22:34:05

adnanoner
Member
Registered: 2007-01-01
Posts: 20

Re: Categorising an portfolio

Almost there… Now in the “Festival Through A Sultan’s Eyes” I’ve put the main paintings. But how do I link these main paintings to the details? So when you’re browsing “Festival Through A Sultan’s Eyes” you only see the main paintings. But if you click a main painting you get its details.

Sorry I’m such a pain in the *ss, but thanks for all the help :)

p.s. if you ever need any xhtml/css/illustration help, pm me ;)

Last edited by adnanoner (2007-02-19 22:46:19)

Offline

Board footer

Powered by FluxBB