|
#1
Jun 8, 2010, 10:18 AM
|
|
Hi, I would like to specify the order that the header images load and rotate on my website. I tried to follow the instructions from this blog post to no avail. Here is a link to my site so you can see what I am trying to do- I am trying to get the colored evolution sequence from left to right.
Has anybody already found a solution for this? Thank you, Brian
|
#2
Jun 8, 2010, 10:34 AM
|
|
|
|
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
|
|
Name the images image1.jpg, image2.jpg etc
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
|
#3
Jun 8, 2010, 10:35 AM
|
|
|
|
10,176 posts · Jul 2009
Central New York State USA
|
|
It looks like you don't have your images named sequentially. The should be something like 1-header.jpg, 2-header.jpg, 3-header.jpg, etc. in the order you want. You have lm1red.jpg, mh6.jpg, 6mh6.jpg. Thus the rotato doesn't know what order you want.
__________________
~Larry ( CNY Web Designs)
This site should be a membership site since it so full of good stuff.
Please consider donating which gives you access to even more good stuff.
|
#4
Jun 8, 2010, 10:36 AM
|
|
|
|
10,176 posts · Jul 2009
Central New York State USA
|
|
Ooops... I was too slow.
__________________
~Larry ( CNY Web Designs)
This site should be a membership site since it so full of good stuff.
Please consider donating which gives you access to even more good stuff.
|
#5
Jun 8, 2010, 12:17 PM
|
|
Thanks for the help guys, but even when I name them sequentially, there seems to be no reason to the order. But, the order does repeat itself. Very weird.
|
#6
Jun 8, 2010, 03:40 PM
|
|
|
|
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
|
|
which settings for the header images are you using?
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
|
#7
Jun 8, 2010, 06:47 PM
|
|
My header settings are-1 sec js rotation, 1 sec fade, no preload js, no clickable, 175 ht, top-center, no for the rest. Also, my images are named image01.gif-image13.gif.
|
#8
Jun 8, 2010, 09:03 PM
|
|
|
|
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
|
|
Try turning off the fade code
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
|
#9
Jun 9, 2010, 06:23 AM
|
|
|
|
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
|
|
do you know what server your site is running on? is is linux or something else?
could you try this. Edit bfa_m_find_in_dir.php (it's in the functions folder) and find line 36 (in version 3.5.1) which should be
HTML Code:
closedir( $dh );
and change it to
HTML Code:
sort($file);
closedir( $dh );
it seems that the php 'readdir' functions returns the files in the directory
Quote:
...in the order in which they are stored by the filesystem.
|
I'm thinking your server doesn't store them by name, maybe by date. Hopefully this will fix it.
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
|
#10
Jun 9, 2010, 08:40 AM
|
|
Thank you for the reply Juggledad, I tried your suggestion and edited the php file, but I could not get the files ordered. To see if the server was storing the photos chronologically, I deleted the files from the header folder and re-uploaded them one at a time. Still no order.
I found a solution that allows me a little more control- I made an animated gif in photoshop. The one drawback is that I can't seem to get the frames to fade in and out so I am still interested to a solution to this problem if someone comes across it. Thanks again, Brian
|
#11
Jun 9, 2010, 08:42 AM
|
|
|
|
10,176 posts · Jul 2009
Central New York State USA
|
|
How about a slideshow plugin. I think some of them allow for random or sequential ordering.
__________________
~Larry ( CNY Web Designs)
This site should be a membership site since it so full of good stuff.
Please consider donating which gives you access to even more good stuff.
|
#12
Jun 9, 2010, 10:19 AM
|
|
|
|
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
|
|
Brian,
can you put back in the iages and if you are willing, could you send me a PM with an admin id and PW so I can take a look and maybe do some debugging. I can't recreate it on my system so I need to test where it is a problem.
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
|
#13
Jun 10, 2010, 07:59 AM
|
|
|
|
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
|
|
I added a piece of code and it seems to be working, but your images need to be renamed. If you hafe 1.jpg, 2.jpg 3.jpg, 11.jpg and 22.jpg and sort them, you will get
1.jpg, 11.jpg, 2.jpg, 22.jpg, 3.jpg
you would have to call them 01.jpg, 02.jpg 03.jpg, 11.jpg and 22.jpg
The easiest thing is to call them image-01.jpg, image-02.jpg etc.
Please rename the images and see it it works now.
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
Last edited by juggledad; Jun 10, 2010 at 03:40 PM.
|
#14
Jun 14, 2010, 11:51 AM
|
|
|
|
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
|
|
see 'BUGFIX 351-02: Header images not showing in sorted order'
http://forum.bytesforall.com/showthread.php?t=7577
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
|
|