Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
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
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
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
Re: bos_image_display and bos_image_category for simple image gallery
Ok, that’s good. :)
Bye
Z-
Offline
Re: bos_image_display and bos_image_category for simple image gallery
Hi,
Is it possible to display a random image from any children of a parent category?
The way I would want to use this is something like:
<code><txp:bos_image_display default=“random” cat=“Destinations” /></code>
Where ‘Destinations’ was the parent category for categories of images arranged by countries…
This functionality appears to be present in the bos_subcat_image_index tag, but that one doesn’t allow singular images to be random.
L.
“Absorb what is useful, Discard what is not, Add what is uniquely your own” – Bruce Lee
Offline
Re: bos_image_display and bos_image_category for simple image gallery
Uhm. It’s not possible at the moment, and it is not planned for the next future. What is planned is to have a comma separated list of categories from which to pick the images. It is already working on my site, but I don’t use the feature so you can’t see it at work. It is not yet released because I’m adding some tags to the plugin, and eventually I will rename it to manage albums in an easier way.
I will think about the feature you ask, anyway. I’ll let you know in the coming weeks. Thank for your interest.
Z-
Last edited by Zanza (2006-09-17 22:55:24)
Offline
Re: bos_image_display and bos_image_category for simple image gallery
ok, cool!
out of interest, would it be something easy or hard to implement, considering you have a similar functionality in ‘bos_subcat_image_index’ ? I may have a go myself…
a comma separated list would certainly help, but to be able to select image categories by parent would be a godsend.
L.
“Absorb what is useful, Discard what is not, Add what is uniquely your own” – Bruce Lee
Offline
Re: bos_image_display and bos_image_category for simple image gallery
Great plugin :)
Is it possible to make the links open in a new window?
Offline
Re: bos_image_display and bos_image_category for simple image gallery
Thanks.
New window: nope, like original txp tags from which I tweaked, they are meant to be opened in page, with index and full image side by side. Anyway, with some javascript trickery you should be able to do what you need, but I’m not expert in js. You could also change the code to add a target blank, if you want.
Bye
Z-
Offline