Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#37 2006-04-03 17:11:02

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

Re: bos_image_display and bos_image_category for simple image gallery

Uhm… this sounds strange, I’ll think about it. Maybe a different php version has to do with this strange behavior? I didn’t set a default for the limit. Do you think I should ?

I’ll try to explore this. Anyway, thank for your debugging.

Bye!

Z-

Offline

#38 2006-04-03 20:27:14

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

Re: bos_image_display and bos_image_category for simple image gallery

If it helps, the site where it works without the limit attribute has php 4.3.11, and the other one 4.3.10.
I also checked if both plugin versions were the same, and they’re both 0.33.

If you would give the limit attribute a default value, a problem like mine would not occur, but then how often does this happen?

Offline

#39 2006-04-03 21:42:58

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

Re: bos_image_display and bos_image_category for simple image gallery

You’re probably right, but i’d just like to figure out the reason this happened.

When limit is left empty, in the function I set it to 9999999999. Could this be too high for the limit and make the bug happen with some php/mysql version? It is unnecessary, so in future version I’d put it to 9999, that is far enough for a single photo gallery… (I hope so! ;-)) I wonder if this could be the problem.

If anyone knows is welcome! :)

Bye

Z-

Offline

#40 2006-04-16 10:15:15

helge
New Member
Registered: 2006-03-05
Posts: 6

Re: bos_image_display and bos_image_category for simple image gallery

Hi Zanza,

just upgraded from 0.31 to 0.33 without any problems.

There is still a little problem in the code which prevents a page displaying a picture from validating against W3C XHTML Standard.
In lines 192 and 234 of the PHP-Code where you are setting up <code>$impath</code> you have an ampersand-sign as part of the URL.
Perhaps you should use <code>&amp;</code> instead. With that change applied, the output validates just fine.

Thanks again for this plugin.

Regards,
Helge

Offline

#41 2006-04-17 23:22:38

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

Re: bos_image_display and bos_image_category for simple image gallery

You’re so right, Helge! Thanks for pointing the problem, I missed it.

I’ve now upgraded to 0.34. Also changed the default limit for galleries to 9999.

Bye!

Z-

Offline

#42 2006-04-27 10:32:08

alexandra
Member
From: Cologne, Germany
Registered: 2004-04-02
Posts: 1,370

Re: bos_image_display and bos_image_category for simple image gallery

Could anybody elaborate on this plugin a bit? Possibly post his/her code? I like to write a more comprehensive tutorial on all the various gallery plugins we have for txp but my time is limited to test them all :) Thanks in advance :)

Offline

#43 2006-04-27 11:12:20

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

Re: bos_image_display and bos_image_category for simple image gallery

There are some basic usage examples in the help. That apart, what do you need most? I think it would be nice to explain how to put up a series of album, not just a gallery, that is pretty simple.

If you have a suggestion, I will try to write a tutorial with an example, but it need to be focused. So let’s focus! If any of you have examples, I will try to replicate them and to explain how to do it.

Some things it could be possible with this plugin:

  1. a comic gallery, split in episode
  2. a series of album divided by nested categories
  3. help me think of…

:)

Z-

Offline

#44 2006-04-28 07:08:28

alexandra
Member
From: Cologne, Germany
Registered: 2004-04-02
Posts: 1,370

Re: bos_image_display and bos_image_category for simple image gallery

@Zanza, Els
Els was so kind to send me the URL of one of the galleries she set up with the plugin:
http://quintas.portugalore.com/avo/

We could take this gallery as sample and explain how it was set up. I think Els´s gallery covers most one can achive with this plugin, correct?

Last edited by alexandra (2007-01-05 17:15:50)

Offline

#45 2006-04-28 14:42:43

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

Re: bos_image_display and bos_image_category for simple image gallery

Yes, it’s correct, but you could add local navigation: next and forward, and numbered navigation. But basically the multiple galleries Els set up is the reason the plugin is born. Unfortunately my client site is not running yet, so I can’t point to it.

Z-

Offline

#46 2006-04-29 07:57:41

alexandra
Member
From: Cologne, Germany
Registered: 2004-04-02
Posts: 1,370

Re: bos_image_display and bos_image_category for simple image gallery

Here is a short email exchange i had with Els about here gallery:

Would you mind elaborating a bit on the way you set up the photosection on
http://quintas.portugalore.com/avo/

Code on the page:
<txp:if_category name=“avo1-buildings,avo1-land”>
<txp:output_form form=“gallery-avo” />
</txp:if_category>

Code in the form:
<div class=“gallery”>
<txp:bos_image_display title=“0” />
<txp:bos_image_index break=“li” wraptag=“ul” limit=“12” sortby=“name” sortdir=“asc” />
</div>

Last edited by alexandra (2007-01-05 17:17:47)

Offline

#47 2006-04-30 08:55:08

alexandra
Member
From: Cologne, Germany
Registered: 2004-04-02
Posts: 1,370

Re: bos_image_display and bos_image_category for simple image gallery

For Germans: I did write a Tut on the Plugin.

Great Plugin Zanza! Thanks for that.

Offline

#48 2006-05-01 22:00:08

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

Re: bos_image_display and bos_image_category for simple image gallery

Thank you, Alexandra! I translated with google translator, it reads great! :)

And thanks to Els, too. :)

Bye

Z-

Offline

Board footer

Powered by FluxBB