• Q: How can I use this plug-in with Twenty Ten/Eleven theme?

    A: The best idea is to create a child theme indeed, someone already tried it: http://blog.duncanmoran.net/archives/1436

    Q: How can I set the order of the pictures?

    A: First rename the pictures like this: 01-pic, 02-pic, 03-pic and finally upload them.

    Q: Why when I refresh the page then the rotation does not start from first picture even if shuffle images is turned off?

    A: Because the plug-in calculates a time frame where every picture should be positioned based on the swap rate and the total amount of uploaded pictures and then this time frame is assigned to this picture in this moment.

    Q: Images never load, “Loading images…” stays always there, what happened?

    A1: Did you install recently a plug-in? If yes try to isolate it, most probably it is its fault due to wrong inclusion of jQuery script. Its author should fix this referring to WordPress documentation: http://codex.wordpress.org/Function_Reference/wp_enqueue_script
    A2: If did not help then probably you have selected Slide effect and you did not read that your images should be bigger than the div so: reduce the div dimensions and/or reduce the speed of this effect.
    A3: If still did not help then probably you loaded too big images (the file size) and takes too long to load all of them.

    Q: When feature XYZ will be added?

    A: I don’t know, remember that this is a 100% free project so answer is “When I have time and/or when someone help me with a donation”.

    Q: Can I help with a donation?

    A: Sure, visit the donation page or contact me via e-mail.

    Q: Can I hack this plug-in and hope to see my code in the next release?

    A: For sure, this is just happened and can happen again if you write useful new features and good code. Try to see how I maintain the code and try to do the same (or even better of course), I have rules on how I write it, don’t want “spaghetti code”, I’m Italian and I want spaghetti only on my plate.
    There is no guarantee that your patch will hit an official upcoming release of the plug-in, but feel free to do a fork of this project and distribute it, this is GPL!

    Q1: I have found a bug what can I do?
    Q2: Something does not work as expected, why?

    A: The first thing is to download the latest version of the plug-in and see if you still have the same issue.
    If yes please write me an email or write a comment but give as more details as you can, like:

    • Plug-in version
    • WordPress version
    • MYSQL version
    • PHP version
    • exact error that is returned (if any)

    after describe what you did, what you expected and what instead the plug-in did :)
    Then the MOST important thing is: DO NOT DISAPPEAR!
    A lot of times I cannot reproduce the problem and I need more details, so if you don’t check my answer then 80% of the times bug (if any) will NOT BE FIXED!

489 Responses

WP_Floristica
  1. Itachi says:

    How can i make it so the Swap rate is on Refresh?

  2. Itachi:
    not yet supported, but 1 second swap will do mostly the same.

  3. webmist says:

    Hi Marco

    thanks for great script – am building a site for my first paying client and this is fantastic. Works well in firefox,opera,safari but in IE7 the images are flickering. have googled and can’t find an answer. (Not such a big problem is that Firefox seems to change the images much more smoothly than Opera or Safari – but at least they are not flickering!)
    Building the site locally with Xampp version 1.6.6a
    Using latest script – – WordPress plugin
    Wordpress 2.7.1
    Apache 2.2.8
    MySQL 5.0.51a
    PHP 5.2.5

    Hope that’s all the info you need, and that you can help me get rid of this flickering in IE!

    blessings
    webmist

  4. webmist:
    there is no point to send me an email AND write a comment here, I will receive it twice.

    About flickering:
    I know about the issue and I don’t think I can/want do something, Internet Explorer is just crap, avoid to use it is the best thing you can do.

  5. webmist says:

    got an’ error 404 not found ‘that time, but dont worry, I won’t repeat myself in an email

    blessings
    webmist

  6. webmist:
    yes, 404 should be fixed now

  7. Zentode says:

    wp2.7.1 and latest versions of everything else.

    I installed, activated and uploaded images no problem. Problem is, the plugin vanished from the plugin page after I activated it. Still in menu though. Ideas?

    I’ve never had anything like that happen before…

  8. Zentode says:

    Sorry false alarm. I left the ‘puter for a short time. Came back to find my cat on my keyboard. My ftp prog was still up in plugins folder and cimy plugin folder got renamed by one charater. Wow, the dog ate my homework too.

  9. Jamie says:

    I find that the rotator is only using six of my twelve images. Is there a way to change this?

  10. Jamie:
    give more details, those images have strange filenames? Can you give also details on software using?

    Please have a look at the FAQ on how to report a bug.

  11. ‘Flickering’ on IE. Possible fix???

  12. Claude Michaud:
    change browser

  13. Tony Devlin says:

    Just for the record I agree with Marco’s change browser comments, however in the real world that is not an acceptable answer to our clients who are trying to create a site for everyone. Personal sites are one thing, businesses won’t “switch” browsers because like it or not IE still owns the market.

    With that said here is how you fix the flickering in IE7:

    Open up “cimy_header_image_rotator.php” from the plugins folder using your favorite editor.

    Goto line #193, underneath ” var tot_images = $tot_images; ” add ” var new_img; ”

    Goto line #202 and change ” function cimy_change_image() ” to ” function cimy_change_image(old_img) ”

    Goto line #221 and change ” var new_img = parseInt(tot_time / swap_rate) % tot_images; ” to ” new_img = parseInt(tot_time / swap_rate) % tot_images; ”

    Goto line #223 and change ” span_id.innerHTML = ”; ” to “if (old_img != new_img) {
    span_id.innerHTML = ”;
    } ”

    Goto line #227 and change ” t = setTimeout(“cimy_change_image()”, 1000); ” to ” t = setTimeout(“cimy_change_image(new_img)”, 1000); ”

    =======
    That’s it. Just a note your entire section should look like this:

    [code]

    var img = '$path';

    var swap_type = '$swap_type';
    var swap_rate = $swap_rate;
    var all_images = Array($js_array);
    var tot_images = $tot_images;
    var new_img;

    function cimy_change_image(old_img)
    {
    var d = new Date();
    var span_id = document.getElementById('$span_id');
    var tot_time;

    if (swap_type == "s")
    tot_time = d.getSeconds();
    else if (swap_type == "i")
    tot_time = d.getMinutes();
    else if (swap_type == "G")
    tot_time = d.getHours();
    else if (swap_type == "d")
    tot_time = d.getDay();
    else if (swap_type == "W")
    tot_time = d.getMonth();
    else
    tot_time = d.getYear();

    new_img = parseInt(tot_time / swap_rate) % tot_images;

    if (old_img != new_img) {
    span_id.innerHTML = '';
    }

    t = setTimeout("cimy_change_image(new_img)", 1000);
    }

    [/code]

  14. Tony Devlin says:

    Apologies, the form cut off all the script and img src references. If you need help with this and the instructions above are too difficult then contact me at http://www.wecentral.com, I’ll write a post up over there once I reconstruct the site.

    Thanks,
    Tony

  15. Tony Devlin
    Thanks a lot, I will integrated into the plug-in and release it giving you credit.

  16. Claude says:

    The only solution, for me, was not to use your plugin. I still think that I should use it on my site and three others. But, I can’t convince 95% of the people to drop IE and go to Firefox or Opera. Most people just want to click and look, but will click out when they see a flickering header.

    But, I can’t afford to pay you or someday to fix the problem, if it can be fixed. I assume that you can fix it and I wonder why you just will not fix the problem.

    I assume people are downloading your plugin and don’t realize that they may encounter a ‘problem’…soon.

    Wish you would just address the issue…down the line, people will pay for a quality product.

    I still believe that your plugin is a great plugin!

    (for now, I’m using the Neoclassical theme/with Rotating Header)

    Thanks, for now.

    Claude.

  17. Claude:
    the issue seems solvable, there is already a patch, try it and report back.

    I will include it as soon as I have time to.

  18. Claude says:

    Thanks Marco…will try this week on a subdomain.

  19. Bob says:

    Like the plugin. Tried the patch, but it doesn’t solve the flickering problem in IE6. I agree that IE is crap, but until the rest of the world catches up…Without a solution, I will not be able to use your plugin.
    Thanks.

  20. Bob:
    I won’t support IE at all, but if I will for sure I will do for 7.0 or 8.0, about rest of the world… not sure if I’m interested really :)

    Feel free to find a solution and point it to me as others did ;)

  21. Ian says:

    Hi Marco

    Great plugin, saved me a job!

    I couldnt get the IE hack to work either, still flickering.

    I removed the javascript call from my code (in header.php) but this only stopped the whole thing working. Any ideas?

    Ian

    ps its on http://www.ianapplegate.co.uk/capitox

  22. Ian:
    no ideas, as said IE is not supported, I do not want to spend ANY of my free time trying to fix it ;)

  23. nuNce says:

    Hello,
    I’ve installed your plugin, uploaded 2 images, set rotate time to 20 seconds, but then nothing happens. What shall I do?

  24. nuNce:
    copy/paste the code in your theme as written in the plug-in area itself.

  25. dgoodchild says:

    Is there any way to fix a size for the div ? The problem I have is that every time a new image loads, the rest of the page jumps when the new image starts loading.
    I’m sure it’s just a css tweak, but I can’t find the answer

  26. dgoodchild:
    Which div are you referring? The code you paste does not contain any div.

    Did you try resizing images first?

  27. dgoodchild says:

    Sorry, I meant to say I’d tried fixing the size with a div.
    The images are all resized to 200px height, but as each new one loads everything below it jumps up as there’s nothing there before it.

  28. dgoodchild:
    Again: what about resizing images first?

  29. dgoodchild says:

    Sorry again (not explaining myself well). The images are resized to exactly 900×200. Now 40-50kb isn’t much, but before each one has loaded / cached the size of the area it occupies is effectively 0. It’s only for a fraction of a second, but it means the rest of the page below it flickers into that space before it’s started loading then flickers back out when the image does start loading.

  30. dgoodchild:
    are you using crap IE? If yes then this is the flickering everyone is speaking about in comments. Read previous ones please.

  31. Joe Harkins says:

    Just because you are giving this away for free (and soliciting donations), that does not justify the arrogance of your attitude towards its bugs. Your “let them eat cake” response is what cost Marie Antoinette her head. In this case, it cost you the donations ($20 each) that I would have given you for the five web sites on which I would have installed it today, and who knows how many in the future.

  32. Joe Harkins says:

    I am added a note because this post contains my correct email address without the typo in the previous one.

  33. Paul C says:

    Tony left you a fix for the IE flashing back in March. When can we expect to see it in a new release?

  34. Paul C says:

    Marco,

    Found an interesting bug.
    Using;
    Wordpress 2.8
    Plugin version 1.0.0 plus Tony’s fix
    php 5.2.9
    MySQL 5.1.30

    I have set the swap rate to “seconds”. If I use 2 then all 26 header images rotate. If 5 secs, only the first 12. If 15 secs, only the first 4. If 25 secs, only the first 3. If 31 secs, only the first 2. See the pattern?

    After 60 seconds the script goes back and starts at header 1.

    All 26 headers use the same naming convention and are all exactly the same size.

    Your help would be appreciated, Thanks.

  35. Paul C:
    you are right, because plug-in does not consider all images when are more than the 60/# seconds set.

    So when 60/15=4 uses first 4 images.
    I have to think about a fix thanks for reporting the issue.

    Unluckily I’m very busy with my first job and the real life ™, I will try to fix this by July.

  36. Paul C says:

    Thanks for looking into this problem.

    I know what an inconvenience our “real” jobs can be.

  37. Tom Odell says:

    This is the first time we have used WordPress and we are trying to delete pictures that did not upload properly on the Cimy Header Image Rotator. How can we get them to delete? When we press the (x) nothing happens. On the website, it now appears as a blank screen with an x in the corner.

  38. Shane says:

    Hey, good work. I have a problem though, i cant get it to work.
    read all the posts, to no avail.
    its installed, i created the folder, images in there, but what else do i do.
    not knowing wordpress great, it appears to me some entries must be made in the header.php file, ??

  39. Marco Cimmino says:

    Tom Odell:
    odd, can you tell me:
    1. refreshing the page then disappears?
    2. does the javascript console gives error?
    3. can you post more information as requested in the readme file and in the FAQ above these comments?

    Shane:
    it is written in the admin page what you have to copy/paste.

  40. wwwindi says:

    Trying to to install your wonderful plugin, but:

    error: “bad header information”

    Could you help me use your plugin with a workaround for this?

    thanks -
    W

  41. wwwindi:
    please read FAQ above on how to report correctly a bug.

  42. just a quick note for those who dont feel happy editing the php in teh module

    in your css file just had the #id name of span and set teh hieght to that of your header images?
    no flickr as sets area height

  43. Greg says:

    I’m not sure if this is an official bug yet which is why I’m not following the standard bug protocol.

    On the site: blog.beasleyandhenley.com the header image is blinking on and off (not changing though) for many viewers, where it should only be changing every day. I noticed this myself in FF but not in Safari.. didn’t try any IE yet.

    Has anyone else run across this and have an easy fix?

    As far as I know I have the latest version of the plug since this site says 1.0

    … and upon further reading of all of the comments… I just noticed people have been having the same issue but in IE. I can confirm that it happened in FF.. I don’t even use IE.

    Is there a patch?

    Thanks!

  44. vagabond solutions:
    say again?

    Greg:
    probably you can notice only on first load of the images. Anyway I’m thinking to re-write the plug-in to be smarter, no time now anyway, sorry.

  45. Euclides says:

    Hello, thanks for the plugin bro, I just wanted to know if there is a way to link the images that I use with the plugin to another section of my site?

    Thanks in advance!

  46. Euclides:
    yes it is possible, just use normal html code to do it.

  47. storm says:

    Hi, I´m using the default theme and try to make the Kubrikheader-Image change, but I don´t know where to put the code. I tried to put it the header.php but it didn´t work and I don´t think its the right place to put.
    Thx 4 F1. st.

  48. storm:
    no idea, maybe header-img.php but I can’t know it for every theme, this vary depending on the code used.

  49. Grizzzz says:

    Hi, is there a limit ,how much Pics I can use ? besause in my directory ther are 10 pics, but on the website ther are rotating only 4

  50. Grizzzz:
    there is a bug, read previous comments. I have to rewrite the plug-in, but I don’t have so much time.

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>