Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#76 2006-06-26 06:33:52

visualpeople
Member
From: Corvallis, Oregon - USA
Registered: 2005-11-16
Posts: 73
Website

Re: bos_image_display and bos_image_category for simple image gallery

I’m sure that I’ve just made a dumb mistake but I’ve been looking at this for hours and can’t seem to figure out what it is:

My bos_imgprev link never shows up and the bos_imgnext is always pointing to the same image no matter how I change the settings.

Here’s how they are coded right now:
<code>
<txp:bos_image_display cat=“web” sortby=“name” title=“0” capt=“1” />
<div class=“navimg”>
<txp:bos_imgprev cat=“web” sortby=“name” wraptag=“p” sortdir=“desc”> &lt; &lt; Previous</txp:bos_imgprev>
<txp:bos_imgnext cat=“web” sortby=“name” wraptag=“p” sortdir=“desc”> Next &gt; &gt;</txp:bos_imgnext>
</div>
</code>

(those greater than and less than signs are coded as & l t ; and & g t ; (without the spaces, of course)

And here’s the page

Incidently, the images in the “web” category have ids of 3, 4, 11, 12, 13 and 14

-Ryan

Last edited by visualpeople (2006-06-26 06:37:40)

Offline

#77 2006-06-26 08:18:21

Zanza
Plugin Author
Registered: 2005-08-18
Posts: 699
Website

Re: bos_image_display and bos_image_category for simple image gallery

Hello Ryan.

The plugin only works when all the images have a thumbnail (I wrote it in the help, but maybe I should make this more evident). In your site this don’t seem to be true: only 4.png has a thb. Can you try making a thumbnail for your 3, 11, 12, 13 and 14 images and try again?

Z

PS: BTW, I’ve found another little “bug”: if you use apostrophe (single quote) in the name field of your image, the name ordering won’t work properly. Please use instead the & # 8217; character reference (without spaces). This has nothing to do with your case, anyway, but I’ll put it in the help for the next version.

Offline

#78 2006-06-26 20:32:04

visualpeople
Member
From: Corvallis, Oregon - USA
Registered: 2005-11-16
Posts: 73
Website

Re: bos_image_display and bos_image_category for simple image gallery

Z -

Thanks so much. I knew I was just overlooking something. I must have read the help section 100 times, but I missed that every time!

Works great now!

-Ryan

Offline

#79 2006-08-14 22:32:16

curiouz
Member
Registered: 2006-06-20
Posts: 56

Re: bos_image_display and bos_image_category for simple image gallery

Hi Zanza! I’ve been using your plugin for a while now and I love its versatility! Thanks for that. Right now my galleries are setup without a thumbnail index but I’m starting to realise how practical thumbs can be! So I’ve tried to setup an index and this is how far I got: http://www.reetroest.nl/photography/testing/. I’ve used the bos_if_p and the bos_if_not_p tags to hide the image and index respectively. All I need to do now is hide the navigation in the thumbnail index. Is that possible?

/curiouz

Last edited by curiouz (2006-08-14 22:32:52)

Offline

#80 2006-08-14 22:39:23

Zanza
Plugin Author
Registered: 2005-08-18
Posts: 699
Website

Re: bos_image_display and bos_image_category for simple image gallery

Hello Curiouz. Can you point me exactly to the pages thare are screwy? At the moment I can’t see the problem you have, so I can’t help you (if it’s a css issue, I’m using firefox on mac). Nice photos, anyway! :)

Bye

Z-

Offline

#81 2006-08-14 22:56:54

curiouz
Member
Registered: 2006-06-20
Posts: 56

Re: bos_image_display and bos_image_category for simple image gallery

Hi! Already fixed it! Just needed to wrap the navigation in the txp:bos_if_p tag also… Thanks for the fast reply though :D and thanks for the compliment!!

/curiouz

Last edited by curiouz (2006-08-14 22:57:13)

Offline

#82 2006-08-14 23:55:31

Zanza
Plugin Author
Registered: 2005-08-18
Posts: 699
Website

Re: bos_image_display and bos_image_category for simple image gallery

You’re welcome! Bye

Z

Offline

#83 2006-08-16 10:55:29

Zanza
Plugin Author
Registered: 2005-08-18
Posts: 699
Website

Re: bos_image_display and bos_image_category for simple image gallery

New version of this plugin (v.0.42). Now you can use it also inside articles, using in_article=“1” attribute in the bos_image_index tag. Don’t use this attribute outside articles, i.e. in page template, obviously.

Also fixed a couple of warnings in debug mode.

Z-

Last edited by Zanza (2006-08-16 10:55:45)

Offline

#84 2006-08-23 11:33:35

Zanza
Plugin Author
Registered: 2005-08-18
Posts: 699
Website

Re: bos_image_display and bos_image_category for simple image gallery

New version (0.43). Now bos_subcat_image_index only display the first subcat level, not all as before. If you want the old behavior, set the new allchildren attribute to ‘1’.

The new behavior is more logic, as before all children were put on the same nesting level, that was inappropriate. Maybe in the future I’ll be able to better nest a custom level of children, who knows… :)

Z-

Offline

#85 2006-08-24 22:00:39

Zanza
Plugin Author
Registered: 2005-08-18
Posts: 699
Website

Re: bos_image_display and bos_image_category for simple image gallery

New version: 0.44. Some attributes added to bos_subcat_index tag, for better album previews. Read first post. You can also read this thread (and following) for details.

Z-

Offline

#86 2006-09-10 20:59:49

daim
New Member
Registered: 2006-04-15
Posts: 4

Re: bos_image_display and bos_image_category for simple image gallery

hello,

i try to do simple gallery by categories and articles. I only need to show list of images. Only one plugin i find with needed functionality, thank you.

In article i put <txp:bos_image_index title=“0” link=“0” thumb=“0” capt=“0” cat=“photos” />

But this tag don’t work and don’t write anything in page source. May be i do something wrong?
Need your help :) Sorry if my english not so good.

Offline

#87 2006-09-10 21:56:16

Zanza
Plugin Author
Registered: 2005-08-18
Posts: 699
Website

Re: bos_image_display and bos_image_category for simple image gallery

The tag is self-closing. You don’t need the closing tag, you need to close the first and unique tag:

<txp:bos_image_index title="0" link="0" thumb="0" capt="0" cat="photos" />

Let me know if it that works. Bye!

Z-

Offline

#88 2006-09-11 08:08:12

daim
New Member
Registered: 2006-04-15
Posts: 4

Re: bos_image_display and bos_image_category for simple image gallery

if i try <code><txp:bos_image_display title=“1” capt=“1” cat=“photos” /></code> – it’s work, but if i try <code><txp:bos_image_index title=“1” link=“0” thumb=“0” break=“div” capt=“1” cat=“photos” /></code> (string from help) it’s don’t show anything :(

Last edited by daim (2006-09-11 10:23:27)

Offline

#89 2006-09-11 12:59:38

Zanza
Plugin Author
Registered: 2005-08-18
Posts: 699
Website

Re: bos_image_display and bos_image_category for simple image gallery

Are you sure that all images have a thumbnail (even if you don’t show them)? The plugin only works (and it does work, as I use it on different sites) if the thumbnails are created. This is also written somewhere in the help, I think.

If this doesn’t solve, you should try changing some attribute, to decide in which conditions it works and in when it doesn’t work. Let me know.

Z

Offline

#90 2006-09-11 13:06:55

daim
New Member
Registered: 2006-04-15
Posts: 4

Re: bos_image_display and bos_image_category for simple image gallery

thank you, thank you, thank you!!
problem solved, i don’t make thumbnails, thank you :)

Offline

Board footer

Powered by FluxBB