Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2008-10-05 02:39:40

elstrausso
Member
Registered: 2008-09-25
Posts: 49
Website

Attempting a Flickr style Prev/Next interface

Hello,
I’m currently setting up a Portfolio section on my Txp site. I would like to modify/add a thumbnail image to the <txp:link_to_prev> and <txp:link_to_next> tags, exactly like Flickr.com. I’m using the wet_article_thumb to accomplish this, however I’m experiencing a few difficulties, and wanted to ask the advice of the Txp community. I’ve done a search around, and the closest thing I’ve found, is on a german based site http://textpattern.kbbu.de/plugin/gallery-mit-wetarticlethumb.
They have the following code snippet:

Baustein: photoblog_form

<div class=“photoblog”>
<txp:link_to_prev showalways=“1”><txp:article_image /></txp:link_to_prev>
</div>
<ul class=“post-links”>
<li class=“prev”><txp:link_to_prev showalways=“1”>voriges
bild</txp:link_to_prev></li>
<li class=“next”><txp:link_to_next showalways=“1”>nächstes
bild</txp:link_to_next></li>
<li class=“posted”><txp:posted /></li>
<txp:if_article_list><li class=“comments”><txp:comments_invite
/></li></txp:if_article_list>
<li class=“archive”><a href=”<txp:site_url />arkiv/?c=foto”>Arkiv</a></li>
</ul>
<txp:body />

I’m currently working with this code, to accomplish this task. My site http://www.thedept.com
I will post my progress here, and please feel free to chime in with any suggestions at all.

Best,
Elstrausso

Offline

#2 2008-10-05 02:42:21

elstrausso
Member
Registered: 2008-09-25
Posts: 49
Website

Re: Attempting a Flickr style Prev/Next interface

I just wanted to Add that I am not trying to pull in images from Flickr , Im just trying to set up/simulate a Prev/Next with an article thumbnail image(s), exactly like their site interface.

-elstrausso

Offline

Board footer

Powered by FluxBB