Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2006-12-10 20:34:20

gaup
Member
Registered: 2006-12-03
Posts: 37

Photogallery show as default

If you look at www.siank.no/bilder you can see that only the thumbs are showing up (this thumbs have category “no” in my images file, the other one has serie1 and reinsdyr) when you open the page.
How can I get both, the thumbsnails and photo open up as default (maybe the last serie added)? I hope you understand what I am mean. As you can see, it looks a little bit strange the way it opens now? PS, don’t look at the layout, I am working with that!

Here is the code:
<div id=“boks1”>
<h3>Noen bildeserier</h3>
<div id=“category_list”>
<p><txp:category_list categories=“serie1, Reinsdyr” type=“image” break=“br” this_section=“1” wraptag=”“ class=”“/>
</p>

<!—<txp:image_index />—>
</div></div>
<div id=“boksoppe”><txp:image_index break=”“ /></div> (I have no form for image_index)

<div id=“boks2”>
<p><txp:image_display /></p>(I have no form for image_display)
</div>

Offline

#2 2006-12-10 20:48:04

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

Re: Photogallery show as default

Try bos_image_display, it has more features than the default txp tags.

Offline

#3 2006-12-10 20:55:53

masa
Member
From: Asturias, Spain
Registered: 2005-11-25
Posts: 1,091

Re: Photogallery show as default

I’m not familiar with bos_image_display, but I’m very happy with rss_thumbpop. After checking out a lot of image-/gallery plug-ins I’ve found it to be the most versatile of them all for my purposes.

Cheers Martin

Offline

#4 2006-12-11 07:40:58

wet
Developer Emeritus
From: Schoerfling, Austria
Registered: 2005-06-06
Posts: 3,323
Website Mastodon

Re: Photogallery show as default

gaup wrote:

Here is the code:

<div id="boks1">
<h3>Noen bildeserier</h3>
<div id="category_list">
<p><txp:category_list  categories="serie1, Reinsdyr" type="image" break="br"   this_section="1" wraptag="" class=""/>
</p>

<!--<txp:image_index />-->
</div></div>
<div id="boksoppe"><txp:image_index break="" /></div> (I have no form for image_index)

<div id="boks2">
<p><txp:image_display /></p>(I have no form for image_display)
</div>

Is this code in an article/article form, or included elsewhere in the page template. If it is in an article, it is required for both the images an the article to share a common category, otherwise the image won’t show.

Offline

#5 2006-12-12 10:29:43

gaup
Member
Registered: 2006-12-03
Posts: 37

Re: Photogallery show as default

wet, no this is not in an article.

Offline

Board footer

Powered by FluxBB