Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#73 2006-06-23 17:06:36

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

Re: bos_image_display and bos_image_category for simple image gallery

Hi Alex.

Those lines are there with a reason, so don’t modify them unless you know what you are doing. I admit they are a bit paradoxical, but they work in my mind. So you can guess I’m not a programmer. :-)

Anyway, you seem to have a problem: “I was unable, for ex, to disable captions in txp:bos_image_index “. In my installation I can’t replicate the problem. Everything is just working fine, both with capt= 1 and capt = 0 in the index tag.

So could you please explain what’s happening and what’s your code like?

Thanks and bye

Z-

Last edited by Zanza (2006-06-23 17:07:29)

Offline

#74 2006-06-23 17:31:43

alexwest
Member
From: Järna, Sweden
Registered: 2004-08-04
Posts: 53

Re: bos_image_display and bos_image_category for simple image gallery

Hi Zanza,

Sorry about the noise.

I’m the culprit this time as making a change in the order I wanted the caption displayed messed things up. I’ve gone through a fresh upload of your plugin and things seem to be ok here too.

I follow your logic now, it is a bit paradoxical, but hell what isn’t anyway :)

Cheers


be safe and happy

Offline

#75 2006-06-23 21:14:52

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

Re: bos_image_display and bos_image_category for simple image gallery

No problem, Alex.

Your post remembered me a little adding to the plugin that I wanted to introduce, so I put it online just now. Added a “to_section” attribute to the index tag, to allow you a preview list in home page to point to a gallery (or any specific) section to view the full image.

About the paradox, it was a bugfix, so to avoid massive changes in the code, I used this counterintuitive method.. :)

Bye

Z-

Offline

#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

Board footer

Powered by FluxBB