Forums / Setup & design / Slideshow Limit?

Slideshow Limit?

Author Message

Brian Gambill

Friday 13 May 2005 5:44:46 am

Since I began using the multiple file upload, I am less picky about the number pictures uploaded to a gallery. I have, however, noticed that when viewing as a slideshow only a particlar number of pictures are included in the slideshow. Does anyone know where this is defined?
The sequence shown versus what is in the admin side is pictures 1,2,6,11,16,21,26,etc (offset 5) Total of 55 picture in set.
Is the google navigator causing problems here? I checked the templates node/view/full/gallery_full and see a limit of 25, but that is only for display of thumbnails. The template /node/view/full/image has limit set for 1 one next and previous image so I wouldn't expect that to cause this behavior either. See example here:
http://www.altamesa.org/resources/galleries/habitat_for_humanity_house_spring_2005/see_the_latest_habitat_developments then click on view slideshow.

kracker (the)

Saturday 14 May 2005 10:24:25 am

First a word on the composition of your messages.

<i>Please</i>, separate the content of your posts with line feeds / carriage returns. Space out your thoughts and questions so that non-english users can understand and comprehend your thoughts clearly.

It is very hard to ...
1) Read your message, let alone
2) Understand what is happening, or
3) What or how you desire 'it' to work instead, let alone
4) Not get confused by your other suggestions and guesses on the possible causes.

<b>Gallery Image List Limits / Order</b>

<i>Limits</i>
Create a template override of this file for your (site) design / siteaccess : base/override/templates/full/gallery.tpl

Alter the <i>page_limit</i> variable in the following to match the desired limit.

{let page_limit=10
             children=fetch_alias( children, hash( parent_node_id, $node.node_id,
                                                   offset, $view_parameters.offset,
                                                   limit, $page_limit,
                                                   sort_by, $node.sort_array ) )
             list_count=fetch_alias( children_count, hash( parent_node_id, $node.node_id ) )}

Example:
<i>http://pubsvn.ez.no/nextgen/trunk/design/base/override/templates/full/gallery.tpl</i>

Alternately you can insert a <i>settings/siteaccess/name/site.ini.append.php</i> variable here to represent the limit if you expect the need to increase this variable quickly / dynamically in the future :)

A previous post of mine shows you just how to do this quickly. <i>http://www.ez.no/community/forum/setup_design/hostname_variable</i>

<i>Order</i>
You may also alter the order of the gallery image display. Review the documentation for the <i>fetch_alias</i> and <i>fetch</i> operators and the sort_by (parameter of the fetch).

<i>http://www.ez.no/ez_publish/documentation/reference/data_fetching
http://ez.no/ez_publish/documentation/reference/data_fetching/content
http://ez.no/ez_publish/documentation/reference/data_fetching/content/tree

http://www.ez.no/ez_publish/documentation/reference/template_functions/miscellaneous/fetch_alias
http://www.ez.no/ez_publish/download/changelogs/ez_publish_3_3/template_fetch_by_alias

http://www.ez.no/community/forum/general/number_of_row_for_each_item_with_fetch
http://www.ez.no/community/bugs/fetch_alias_problem_with_sort_by</i>

As you can either alter an one ini setting to affect the fetch_alias globally or you can duplicate the fetch_alias, rename it and then customize that specific implementation of the desired fetch sort order ...

regards,
//kracker

eminem : 8 mile : <i>find your voice ...</i>

Member since: 2001.07.13 || http://ezpedia.se7enx.com/

Brian Gambill

Saturday 14 May 2005 6:23:23 pm

Obviously I didn't make the point.

Steps to problem
1) Enter gellery page
http://www.altamesa.org/resources/galleries/habitat_for_humanity_house_spring_2005/see_the_latest_habitat_developments

2)Click view as slide show
-First picture is shown

3) Click next image
-Second picture is shown

4) Click next image
-Sixth picture is shown

A continuation of clicking next image skips pictures presenting every 5th picture through the rest of the slideshow.

In the future if my ramblings seems to be that of a madman without proper levels of caffiene, please feel free to ask for a re-statement of the problem OR disregard the post all together.

I do appreciate your attempt at helping me fix the problem.

kracker (the)

Sunday 15 May 2005 9:16:09 pm

Alright,

Weeeeel. I take it a little here but I can't not not stop.

First, Your right, I know your right and what kills me inside is that I have been were you are now like a year ago. I was furious and a little frustrated.

What really doesn't help is I can't remember just what I did about it. I remember hacking the .... out of an override of the navigator/google.tpl only to find that it wasn't inside that file ( fuzzy logic memory engaged).

It seemed like a big deal on the onset only to backup and find it was higher up that controlled that instantiation of that negative feature ( gut shot guess ).

Sorry I don't have a better memory here or the time to relive that particular few days.

I guess I'm stepping to the side on this one, save this, it's possible and i know I've done it before.

"You can do it!" -- Waterboy

//kracker

rem : man on the moon

Member since: 2001.07.13 || http://ezpedia.se7enx.com/