Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2006-11-02 10:31:37

arengula
Member
Registered: 2006-11-02
Posts: 13
Website

Simple portfolio site

Hi everyone,

I’m just starting out with TXP and I’d like a little advice if possible. I’ve searched the forums and plugins for some ideas but I’m a bit confused by the options. Here’s what I want to do:

Create a simple site with 3 pages:
The home page is a portfolio page and should display a list of thumbnail images that belong to the “portfolio” image category. This is the bit I’m stuck on.

Ideally I’d like to create this kind of effect: http://www.suerubira.co.uk/

Can anyone offer some advice?

Thanks

Last edited by arengula (2006-11-02 10:35:29)

Offline

#2 2006-11-02 16:34:09

colak
Admin
From: Cyprus
Registered: 2004-11-20
Posts: 9,090
Website GitHub Mastodon Twitter

Re: Simple portfolio site

you need zem_article_image plugin
and a form similar to
<txp:permlink><txp:zem_article_thumb /></txp:permlink>
and call it ‘thumbs’
Then you need to call the form in your default template
<txp:if_category name="portfolio"><txp:article limit="10" form="thumbs" /></txp:if_category><txp:else />whatever...

Also the suerubira site is using the bas_lightbox plugin

experiment:)

Last edited by colak (2006-11-02 16:34:45)


Yiannis
——————————
NeMe | hblack.art | EMAP | A Sea change | Toolkit of Care
I do my best editing after I click on the submit button.

Offline

#3 2006-11-02 17:16:03

els
Moderator
From: The Netherlands
Registered: 2004-06-06
Posts: 7,458

Re: Simple portfolio site

colak wrote:

you need zem_article_image plugin

This works in 4.0.4: <txp:permlink><txp:article_image thumbnail="1" /></txp:permlink> :)

Offline

#4 2006-11-02 19:11:50

colak
Admin
From: Cyprus
Registered: 2004-11-20
Posts: 9,090
Website GitHub Mastodon Twitter

Re: Simple portfolio site

Els wrote:

This works in 4.0.4: <txp:permlink><txp:article_image thumbnail="1" /></txp:permlink> :)

mmmm!!! haven’t updated yet as I’m still checking it on my localhost before I go live


Yiannis
——————————
NeMe | hblack.art | EMAP | A Sea change | Toolkit of Care
I do my best editing after I click on the submit button.

Offline

#5 2006-11-03 00:50:07

soulship
Member
From: Always Sunny Charleston
Registered: 2004-04-30
Posts: 669
Website

Re: Simple portfolio site

There’s an easier way to do this now. The plugin you really want is hak_article_image

The site you linked to is using a lightbox script of some sort. The way that Els described will work to, but not with the lightbox script. It will use your thumbnail to link to a full article which is another way to do this, if you have more to say abouot each image. Patrick was kind enough to update his plugin for me and it will do everything you are looking for right out of the box- including image captions for your lightbox flavored script. It will take the “rel” attribute and “title” attribute out of the box without hacking on it.

You could even feasably create one or two articles that have all of your portfolio images in them. Without making a seperate article for each item in you portfiolio.

To save you some time trying to beat your head against the wall figuringout how to do this I’m just gonna give you the form you need for your article and save you a bunch of tinkering time.

<txp:asy_wondertag>
<txp:hak_article_thumb limit="15" link="1" offset="0" linktype="image" popup="0" rel="lightbox[<txp:sitename />-<txp:page_url type="s"/>-<txp:title />]"  linktitle="txp:caption"/>
</txp:asy_wondertag>

Oh, you also need the t-totally-awesome-kick-as$ asy_wondertag plugin.

And a lightbox script of some sort….

Offline

#6 2006-11-03 09:02:39

arengula
Member
Registered: 2006-11-02
Posts: 13
Website

Re: Simple portfolio site

Wow, you guys are awesome. Thanks for all the replies. I’m off to have a play and I’ll let ya know how I get on.

Thanks :)

Offline

#7 2006-12-05 10:47:24

arengula
Member
Registered: 2006-11-02
Posts: 13
Website

Re: Simple portfolio site

Ok, finally got the site up and running. I’ve posted a link in the “show me yours” forum…

You can take a look here

Once again, thanks for all the help and advice :)

Offline

#8 2007-01-19 18:57:21

decoderltd
Member
From: London
Registered: 2006-06-20
Posts: 248
Website

Re: Simple portfolio site

Hi all,

Many thanks for all the info posted here, it’s been invaluable.

One question – I’m using the asy_wondertag + hak_article_thumb combination but instead of adding all my images to an article I’d like them to display by image category. I’m not sure what the best tag to use is and don’t really want to introduce another image plug-in if possible – can anyone help?

Last edited by decoderltd (2007-01-25 18:03:46)

Offline

#9 2007-01-29 00:04:20

decoderltd
Member
From: London
Registered: 2006-06-20
Posts: 248
Website

Re: Simple portfolio site

Not to worry guys, I’m using smd_slimbox to create the flow I need.

Offline

Board footer

Powered by FluxBB