Accordion Image Menu Plugin

This wordpress plugin is based on this Image menu Mootols plugin.  Its allows to create a dynamical menu from your attached images (medium size).
You can see it on the right showing my recent posts.

Features

  • Allows to combine pages and categories and apply order to them.
  • You can list recent posts.
  • Multiple transitions effects included (Elastic, Bounce, Sine, Pow, Quart, Back, etc).
  • You can include or not “the title” of the target page.
  • Compatible with: Firefox 2,3, IE 6, 7 Safari.


Installation

  • Upload “Accordion Image Menu” folder to the ‘/wp-content/plugins/’ directory.
  • Activate the plugin through the ‘Plugins’ menu in WordPress.
  • Customize the menu under Settings/Accordion Image Menu.

Use

You can use the menu everywhere:

  • On the sidebars as a Widget.
  • On the content using:
  • On your theme files using:

Download

accordion-image-menu on wordpress

If you find the plugin usefull you can leave a message or/and make a small donation,


Enjoy!!!

March 3rd, 2009  | Tags: , , , ,
  1. Alain
    January 27th, 2010 at 15:04
    Reply | Quote | #1

    @Ryan
    On the header of your page there is a function that is affecting the menu, I dont know if your theme or other plugin is calling it.

    function sl(){
    document.body.innerHTML=document.body.innerHTML.replace(//g,”");}

  2. January 27th, 2010 at 05:29
    Reply | Quote | #2

    My plugin loads on my page correctly, but unfortunately the sliding feature doesn’t seem to be working. I only have the 2 default plugins installed, and they are not active. When I adjust the setting around in the back the plugin changes on the front end, for example if i change the open and closed dimensions the plugin adjusts accordingly, but when i mouse over other images they do not slide open, only the one that is open by default in the backend. anybody have any suggestions? here is a link to the site. http://www.mymadhatters.com/

    thanks, ryan

  3. January 4th, 2010 at 20:00
    Reply | Quote | #3

    @Alain

    I’m using the Arthemia free theme and can’t get the slider img and the posts thumbnail img to show up at the same time. Is there another custom fields code I could use for the accordion?

  4. Alain
    December 28th, 2009 at 16:23
    Reply | Quote | #4

    @Stef
    The images that you upload should be bigger than 300×300 px. In your menu the pink one looks better.

  5. December 28th, 2009 at 01:32
    Reply | Quote | #5

    @Alain
    My media settings are set at 300px for the medium size. I’ve tried to make the imgs bigger in the posts but it didn’t do anything different.

  6. Alain
    December 28th, 2009 at 01:22
    Reply | Quote | #6

    @Stef
    You need to work on yous images size. You can use bigger images on your posts and set the Medium size on your settings/media “300 px” for example. The plugin uses the wordpress medium size images.

  7. December 27th, 2009 at 21:56
    Reply | Quote | #7

    My images are showing up small on my testblog and I can’t figure out how to make them fill in the entire box in each area. What am I doing wrong? Please help this is making me crazy!

  8. December 27th, 2009 at 07:47
    Reply | Quote | #8

    The pluggin is awesome but when i use it in a post it doesn’t display any animation . I am using wordpress 2.7.1

  9. December 18th, 2009 at 06:56
    Reply | Quote | #9

    Very nice plugin! You could just put a demo link plz ;)

  10. December 6th, 2009 at 01:51

    Hi. I am excited about using this plug-in but my brain doesn’t seem to get how to make it work.

    Take a look at this page:

    http://littlegettysburgmusic.com/?p=322

    What I would love to do is to just have the title of each song as an ‘image bar’ as opposed to the title, player, buy button, etc. This way I can have more tracks taking up less space.

    I have activated the plug-in but hvae no idea how to make this design element come to life.

    Here is what my html page for the above referenced link looks like:

    Track Title: Walk the Walk
    Price: $1200

    Walk the Walk

    ————————————————————————-

    Track Title: Cherries in Pairs
    Price: $1200

    Cherries in Pairs

    ————————————————————————

    Track Title: The Hi-Fi
    Price: $1200

    The Hi Fi 10

    I would really appreciate any help ANYONE might be able to give…Thanks so much!

  11. Sonja
    December 4th, 2009 at 10:07

    Well, I figured it out all ready, so no need to reply and all… Bye

  12. Sonja
    December 4th, 2009 at 09:41

    Hello there,

    I’m not an expert on any of this – pls don’t laugh @ me if I ask somethinh really stupid ;-) – but I would really like to know ‘if and how’ I can manage to change the pictures selected for the accordion menu – Cause most of my posts have more than one pic in them.
    And my second question concerns the pages which do not necessarily have pics at all – can I have a pic in the accordion menu for a page withouth having a visual pic in the page itself?
    (Hope u don’t mind my questions, but if you do so, please consider them as non existent) Ciao

  13. November 24th, 2009 at 12:33

    Hmm.. It does not appear at all.

    I tried to set up on a local apache server and i could see one of the menu images.

  14. Alain
    November 23rd, 2009 at 19:32

    @ufukerdogmus
    You can edit the “imageMenu.css”

    .imageMenu a {

    background:#FFFFFF none no-repeat scroll bottom center;
    instead of
    background:#FFFFFF none no-repeat scroll center center;

    Thanks,

  15. November 16th, 2009 at 17:14

    Great plugin, easy to use and implement :) Thx a lot!

    I have a simple fix I need to do but I can’t find how to since I suck at javascript and have no idea yet about mootools.

    I want my images to be closed down to bottom of the image instead of the center. How can I arrange that? At least from which file? I am willing to hack the code if needed :)

    playing around with the css is not the solution since it kills the smooth opening effect :)

    note: obviously, I use it vertically.

  16. Stef
    November 4th, 2009 at 20:25

    Trying to get this accordion to work using the premium arthemia theme and I don’t know where to insert the code to take over my headline area. Any tips?

  17. mugger
    October 21st, 2009 at 16:26

    Your image demo is beautiful and fast. Can you do similar for expandable Page/Link list? wp-dtree variations seem to be dead for wp 2.8.x.

  18. October 17th, 2009 at 23:32

    Thanks

    Very great plugin

  19. October 6th, 2009 at 21:04

    Very useful plugin. Thank you for making it.

  20. October 1st, 2009 at 03:20

    @Mr. Mixed Media
    Maybe something in the database I can get rid of or something so that it can be as though I installed this for the first time(because I’m pretty sure the uninstall does not remove database entries). Please help

  21. October 1st, 2009 at 02:53

    Even version 2.0 isn’t working. I’ve used this before so I know how it works. I created the pages and put the images in but I ended up deleting the pages and creating new ones at some point. Now, no matter what I do, the menu doesn’t appear. Is there a way to start from scratch or something to get this working again?

  22. Alain
    September 19th, 2009 at 15:21
  23. September 19th, 2009 at 02:29

    Any idea why it wouldn’t work when Photojar is installed?

    I see it doesn’t RETRIEVE the image well:


    Ati ghicit: e Tania Budi!Ati ghicit: e Tania Budi!
     

    If you check the source you will see that there is no image after /cache/ of photojar.

    Please help me with this.

    Thank you.

  24. alain
    September 4th, 2009 at 15:37

    @Deniz
    If you select categories in your menu it will take the last image attached to the last post under this category.

  25. September 4th, 2009 at 10:25

    @alain
    How can i attach images to categories ?

  26. alain
    September 3rd, 2009 at 18:25

    @Deniz
    Are you attaching images to your post?
    Did you try using the widget?

    Anyway, next week I’m planing to release a new version that allows multiples menus, vertical or horizontals and fix some bugs and javascript interactions.
    Thanks.

  27. September 3rd, 2009 at 16:49
  28. alain
    September 2nd, 2009 at 16:11

    @Deniz
    Can you include a link?

  29. September 2nd, 2009 at 15:34

    i uploaded accordion-image-menu folder to plugins
    actived the plugin and checked categories and pages ( also tried with recent posts ) in settings . added echo do_shortcode(’[a_image_menu]‘); in sidebar.php . But it didnt work . What’s wrong with that ?
    P.s : i’m using wordpress 2.8.1

  30. August 25th, 2009 at 20:40

    I’m running your plugin on a wordpress mu site (multiple blogs). The menu works fine on one site but not another. Any ideas?

    Working: http://trusupremekillaz.com/tskgaming/
    Not Working: http://trusupremekillaz.com/tskgaming/clan

  31. August 24th, 2009 at 09:20

    Hello Alain,

    This is a great plugin and it looks great in my blog. However, i verify that the slider that i have in the main page doesn’t work with your plugin activated. Any reason for that? I would love to use both solutions.Help!

    Regards

  32. alain
    August 24th, 2009 at 01:25

    @PC User
    That is weird. You don’t need to edit the script, the menu just uses the link of your post or pages automatically.

  33. August 23rd, 2009 at 21:39

    I’m using the “accordion menu” (aka “switch menu”) which I like very much and I have it on each of my webpages so that the user can go back and forth on the website. The links in the menu’s script are on each of the seperate pages, which causes a problem when I add or delete a webpage. Each time that I do that I have to edit the menu script on each webpage to keep all the links correct.

    I’m looking for a script to centralize the links where I can edit them in one place to update them for all pages. Please let me know if there is a way to reprogram this script or if there is another script for the same type of menu that I’m using.

  34. alain
    August 23rd, 2009 at 01:30

    @Rob
    Your Theme is overwriting the styles of the accordion menu.

    Look in the style.css this two styles:

    #sidebar2 ul li{
    ...
    width:100px;
    }
    
    and  
    
    #sidebar2 a:link, #sidebar2 ul li a:link, #sidebar2 a:visited, #sidebar2 ul li a:visited {
    ...
    width:100px;
    }
    
  35. August 22nd, 2009 at 15:55

    I am trying to set it up like yours is at the top but it’s giving me everything in squares not a rectangular block like yours are. I go to the settings and It will only allow me to do a 2 digit variable for the pixels in any of the selections. If I try to type in 300px it makes it 30px etc I am using a self hosted version of WP version 2.7.1

  36. aston
    August 17th, 2009 at 17:06

    @alain
    Hi Alain,

    Thank you for your reply.

    At recent post, i checked all the post.

    No menu is shown still after i enter [a_image_menu] in the html context of the post.

    When i view the source, there is string of codes shown:

    #imageMenu ul {
    height: 0px;
    width: 300px;
    }
    #imageMenu ul li a {
    height: 100px;
    width: 300px;
    }
    #imageMenu {
    height: 0px;
    width: 300px;
    }

    Now, i am wondering, where am I able to state the images that I will be using for each menu?

    Thanks,
    Aston

  37. alain
    August 17th, 2009 at 17:05

    @Mikey Jay Morgan
    I see the plugin now on your site. But I think you need to set a different “Lines Height when the menu is open ” to make it works. ;)

  38. alain
    August 17th, 2009 at 16:57

    @aston
    I see that I haven’t default values for the plugin so, the first time you install it you need to go to the plugin options page under settings and save your plugin options, for example: check the “recent post”. After that it should works. Let’me know. I’ll fix this bug and I’ll test it on the version 2.8.4.

    Thanks

  39. aston
    August 17th, 2009 at 16:15

    @aston
    Pardon me, its Wordpress version 2.8.4.

  40. aston
    August 17th, 2009 at 16:11

    I can’t seem to get it work on wordpress 2.8.3.

    Tried all the three method but nothing is shown.

    Any tips?

  41. alain
    August 16th, 2009 at 14:30

    @Mikey Jay Morgan
    In this site I’m using the menu as a widget. Did you try another theme?

  42. August 16th, 2009 at 13:51

    Right, I have installed this menu and its displaying the widget in the widgets list, so thats fine, I added the widget to my sidebar and saved it, a-ok so far. I’ve gone into the settings and changed and saved them too. Right… Where the hell is the menu?

  43. August 11th, 2009 at 08:53

    ElGato :Hi!
    cool plugin and works great! thanks a lot.
    I just ran into a small compatibility issue with the “Hybrid” theme from themehybrid.com
    For some weird reason the “breadcrumb trail” gets confused as soon as I acitvate the accordion plugin. It happens on “PAGE pages”, there the breadcrumb always pretends you are looking at the latest POST instead, no matter on what page or sub-page you are. It works fine on post pages (single, archive, etc.) though.
    Does the plugin change any page-related variables or does anything else that would explain this effect? Would hate to remove the breadcrumbs, and would hate as well to kick out your plugin…
    Any hints much appreciated!

    Would be nice to get an answer on that.

    I have the problem that everything works fine – until I insert a second image into the page. Now the menu shows this image. What I do not intend to do. The only possibility is to delete the second image – not only from the page, but out of the mediathek. Then the first one is chosen for AIM.

    The only trick I found is to change the order of uploading. While it takes the last one integrated, this should be the one you want to have inside of your page.

    Do I have a better chance to get influence on this?

  44. ChadB
    August 10th, 2009 at 03:16

    Not working at all. Did the install, activated the plugin. Nothing. Adjusted the settings, nothing. Tried to figure out what to do with the code snippets under “Use”, nothing. Went looking for detailed install instructions, nothing. Glad I didn’t donate yet.

  45. July 29th, 2009 at 05:15

    Great Plugin!
    How can i align it to the right, such that it stays in my sidebar?
    theveryhungrycook.com

    Thanks
    Raghu

  46. Alain
    June 26th, 2009 at 17:38

    @Marj Wyatt
    Can you please send me the url?

  47. June 26th, 2009 at 17:07

    I’ve tried installing this plugin on an ecommerce site with 25 posts leading to product pages. There seems to be some menu height dictated that I cannot quite suss out from the code. I’d like to overcome this because those post images would make the site really look nice.

    I tried describing “height” in the style sheet to no avail and, since I am not a Java programmer, glancing at the code didn’t reveal anything obvious.

    Scroll bars present the whole menu but destroy the visual effect. Can you help?

  48. June 26th, 2009 at 09:36

    This is not working with postwiev plugin..

  49. June 25th, 2009 at 09:53

    Hi. This is great plugin, but in my blog i’m using blocks in sidebar. So how can i get in this menus in sidebar?

    Can you help?

  50. June 24th, 2009 at 19:13

    Hi!
    cool plugin and works great! thanks a lot.
    I just ran into a small compatibility issue with the “Hybrid” theme from themehybrid.com

    For some weird reason the “breadcrumb trail” gets confused as soon as I acitvate the accordion plugin. It happens on “PAGE pages”, there the breadcrumb always pretends you are looking at the latest POST instead, no matter on what page or sub-page you are. It works fine on post pages (single, archive, etc.) though.

    Does the plugin change any page-related variables or does anything else that would explain this effect? Would hate to remove the breadcrumbs, and would hate as well to kick out your plugin…

    Any hints much appreciated!

  51. June 22nd, 2009 at 20:15

    Can this be used horizontally as a header menu?

  52. June 18th, 2009 at 10:18

    Just had a look at your plugin,
    curious to know why there’s jquery javascript and mootools js?
    I’ve made a bunch of mootools/wordpress plugins, I highly suggest that you use the wp_register_script(’moocore’,
    ‘mootools-1.2.1-core.js’,
    NULL, ‘1.2.1′);
    then:
    wp_enqueue_script(’moocore’);
    this prevents double loading of the script.

  53. June 5th, 2009 at 12:40

    i’m arthemia-premium with this plugin used now.
    but active accordion plugin script error happened.

  54. June 4th, 2009 at 14:32

    Hi…! This rocks. You rock. Thank you for sharing and helping people out. I send you a virtual beer :)

  55. Rucolla
    June 3rd, 2009 at 13:17

    Tim McNabb :

    For some reason, it will not “open” – I would welcome your input. I have made this work on another site using the same theme. Right now no other plugins are running.

    It looks like the theme was at least part of the problem. Atahualpa 3.2 works, 3.3.2 does not.

    What have you done to solve this probkem?
    Your menu dont working with opera browser!

  56. Derek
    May 6th, 2009 at 17:27

    I am sure I am missing something simple.. but I am confused as to what (and how) the images are pulled for the menu.

    If I make a page and place a medium image it seems to pull it fine. However what if want an image in the menu that is not on the page I want called in the menu?

    Somehow you have done it here as the “Accordion Image Menu Plug-in” page has no image yet on the sidebar the accordion menu shows an image with a dog.

    How do you setup this plug-in to pull an image that is not on the page it links to?

  57. May 5th, 2009 at 17:40

    Hello there,

    I am trying to center the text but I get that the “shadows” doesn’t move with the text. Any clue would be very apreciated.

    Thanks for this nice plugin!!

    javier.

  58. April 10th, 2009 at 20:03

    I have installed your plug in on this site: http://jeffday.timmcnabb.com/

    For some reason, it will not “open” – I would welcome your input. I have made this work on another site using the same theme. Right now no other plugins are running.

    It looks like the theme was at least part of the problem. Atahualpa 3.2 works, 3.3.2 does not.

  59. April 9th, 2009 at 22:41

    I have installed your plug in on this site: http://jeffday.timmcnabb.com/

    For some reason, it will not “open” – I would welcome your input. I have made this work on another site using the same theme. Right now no other plugins are running.

  60. April 9th, 2009 at 02:49

    i’m using this and very nice plugin..thanks

  61. April 9th, 2009 at 02:32

    I am stumped. On this site I have 180×250 images http://printing.knowspark.com/ and it is working fine.

    This site http://jeffday.timmcnabb.com/ uses 300×200 images, and the silly hting won’t open. I know I am missing something…

  62. March 31st, 2009 at 15:33

    I pasted the echo code into the PHP file of my home page template and nothing happened. Do I need to install Moo Tools or the earlier Image Menu plugin that you based this on?

    Also, can it be configured to open by sliding horizontally?

    If it must open and close vertically, can the height be fixed?

    Is there a simple way to propel it, so it changes on its own?

    (I’m trying to get it going on a test site, not our old site at the URL I’ve given.)

    Thanks for a very promising plugin,
    Steve

  63. Eric
    March 18th, 2009 at 23:09

    @Richard, I am also having the same problems

  64. ydeya
    March 18th, 2009 at 13:09

    oye, está volao el plugin, ahora mismo lo instalo y en 2 meses haré famoso mi blog loco :-)
    verdad que un artista siempre hace diferencia jejeje
    Un abrazo desde Cuba!
    ydeya

  65. Richard
    March 10th, 2009 at 16:09

    I have found that when I view a post and select the Edit (Edit this Post) link from below the content, that the link too that post’s edit page corrupts and sends me to an alternative (wrong) post. Also my NavXT Breadcrumb (Core) plugin gets confused as well.
    This only happens when I have the Accordion Image Menu Plugin activated.
    Using WP 2.7.1

    Any Ideas?

  66. Alain
    March 5th, 2009 at 17:42

    @Alain
    If you are using lightblox – jquery this plugin Flexible lightbox” is compatible.

  67. Alain
    March 5th, 2009 at 17:34

    @Chad
    I see a lot of javascrip files on that page included “scriptaculous” and “lightbox” you can try uninstalling others plugins to see what is the interaction. ;)

  68. Chad
    March 5th, 2009 at 12:55

    @Chad
    Here’s the error I found..
    TypeError: Result of expression ‘this.elements[0]‘ [undefined] is not an object.

    Is the prototype framework not included in the plugin install? maybe I need to install that..

  69. Chad
    March 5th, 2009 at 12:52

    @Alain
    Thanks – here’s the link. The site is still in progress so I’ve just uploaded some placeholders for images. http://74.220.207.197/~spicyfis/?page_id=284

  70. Alain
    March 5th, 2009 at 12:35

    @Chad
    There is javascript errors on the page, please include a link.

    Thanks.

  71. Chad
    March 5th, 2009 at 11:48

    I’m excited to get this plugin working. I’m trying to use it to link to my photo albums, I’ve uploaded 3 test pages/photos and they show up using the a-image-menu tag but the script isn’t working to make it elastic. I just sits there and fades the text in and out when I roll-over. Any ideas? Do I have a conflicting script? or am I just doing something stupid :)

    Thanks!

  72. kevin
    March 4th, 2009 at 22:51

    This is a great plugin! I’m not saying to change it, but add some things like: 1. configurable “from your attached images” size small/medium/full 2. add the ability to point to an image in the sites media gallery 3. Link Behaviour – image links to : image, post/page, custom URL.

    Thanks

  73. Alain
    March 4th, 2009 at 21:18

    @Sushi Freak
    Sure, just edit “.vai_title” on plugins/accordion-image-menu/css/vimageMenu.css.
    Thanks.

  74. March 4th, 2009 at 20:02

    This plugin is awesome. Is there any way to change the font color when displaying titles?

  75. March 4th, 2009 at 17:30

    hi. Thanks for plugin

    perfect.

    Regards

  76. Alain
    March 4th, 2009 at 12:56

    Just upload the images when you write a post/page using the “add media” button. The plugin use the medium size generated.

    Thanks,
    Alain

  77. mario
    March 3rd, 2009 at 13:02

    i need help with adjusting the widget. into which folder i must load the pictures.

22 trackbacks/pingbacks

TOP