Ask your WordPress questions! Pay money and get answers fast! (more info)

slow down gallery flow from a word press template WordPress

As you can see from this template and page here: http://www.pnbstudio.com/index.php/editorial

The Flow gallery is pretty Fast and sensible to let the usurers to schooling it regularly.

I'm sure is just a number value to be change in somewhere in the code of the wordpress template.

Can you help me?

Thank you

Mark

Answers (2)

2012-10-16

Luis Abarca answers:

I'm checking your site and everything looks good.

If you want to increase the animation delay, you have to change autoscroll_interval from 4 to a higher value.


<script>
/* ==== create imageFlow ==== */
// div ID, imagesbank, horizon, size, zoom, border, autoscroll_start, autoscroll_interval
imf.create("imageFlow", 'http://www.pnbstudio.com/wp-content/themes/artemis_tg/imageFlowXML.php?gallery_id=68', 0.6, 0.4, 0, 0, 8, 4);
</script>


Marco Zoi comments:

Thank you, I might work, so this is mean I nee to change this numbers for example from "0.6, 0.4, 0, 0, 8, 4" to
"0.3, 0.2, 0, 0, 4, 2" 50 % slower

Also before I try can you please tell me in which file of Word press of my template is locate the script to be changed.

thank you

Mark


Luis Abarca comments:

The theme should have a template file named page-gallery-flow.php or with a similar name, maybe in your theme options you can found a list of options too.


Luis Abarca comments:

Yeah, edit both files, one for homepage and the second is when you assign a custom template


Marco Zoi comments:

I did nothing has happen same speed... I set them (both) 8, then 10. Same speed :(

Then later I try to change others numbers and now the pictures are become really big and if I ser back the original numbers the picture remains big! I feel I will have to reinstall all word press! any help?! I'm really in trouble now.

have a look http://www.pnbstudio.com/index.php/editorial


Luis Abarca comments:

Just replace the edited files with the originals that comes with the theme, always duplicate the file before editing or duplicate the line and add comments to remember the original values


Marco Zoi comments:

Thank you I just replace the original files all is turned normal(picture seize).

So I have again re-upload the files and modified the speed values "from 4 to 8" but speed seems the same... to fast ... can you check?


http://www.pnbstudio.com/index.php/editorial/

thank you


Marco Zoi comments:

I'm sorry, but you help did not resolve my question ... :(

2012-10-16

Arnav Joy answers:

see this script

<script>

/* ==== create imageFlow ==== */

// div ID, imagesbank, horizon, size, zoom, border, autoscroll_start, autoscroll_interval

imf.create("imageFlow", 'http://www.pnbstudio.com/wp-content/themes/artemis_tg/imageFlowXML.php?gallery_id=68', 0.6, 0.4, 0, 0, 8, 4);

</script>


and see the last no. 4 , as Luis said you have to change that no. , 4 to anything else sat 10 .

and this script may be in your js files , or from functions.php or from the page template iteself


Marco Zoi comments:

Hi, I have find two file that are contains similar code (i believe one for the home page and one for others gallery flow) this file here: template-homepage-flow - With the code:

<?php
if(!empty($all_photo_arr))
{
?>
<script>
/* ==== create imageFlow ==== */
// div ID, imagesbank, horizon, size, zoom, border, autoscroll_start, autoscroll_interval
imf.create("imageFlow", '<?php echo get_stylesheet_directory_uri(); ?>/imageFlowXML.php?gallery_id=<?php echo $gallery_id; ?>', 0.6, 0.4, 0, 0, 8, 4);
</script>
<?php
}
?>
----------------------

then this file: template-gallery-flow - as follow:

<?php
if(!empty($all_photo_arr))
{
?>
<script>
/* ==== create imageFlow ==== */
// div ID, imagesbank, horizon, size, zoom, border, autoscroll_start, autoscroll_interval
imf.create("imageFlow", '<?php echo get_stylesheet_directory_uri(); ?>/imageFlowXML.php?gallery_id=<?php echo $gallery_id; ?>', 0.6, 0.4, 0, 0, 8, 4);
</script>
<?php
}
?>
-------------------

Should I modify both? Thank you


Arnav Joy comments:

try to clear your browser's cache and then check


Marco Zoi comments:

Hi, I did but nothing is changing ....


Marco Zoi comments:

I'm sorry, but you help did not resolve my question ... :(