
Con un poco de tiempo he creado un plugin de WordPress para una necesidad concreta que me ha surgido, y lo comparto con la intención de actualizarlo y mejorarlo, especialmente si la comunidad de WordPress pide más funcionalidades y se interesa en Smart Slideshow Widget, un plugin que sirve básicamente para mostrar un widget con una presentación de imágenes con una transición entre ellas, usando la librería de Javascript jQuery.
Publicado bajo licencia GNU/GPLv3.
Cambios en las versiones
2.7.4:
- Nueva característica (petición): ordenar imágenes por fecha de modificación (ascendente o descendente.
2.7.3:
- Arreglado un error en los callbacks (gracias a dansmith65).
2.7.2:
- Arreglado error de ordenación.
2.7.1:
- Añadida la opción de abrir enlace en nueva ventana/pestaña.
2.7:
- Añadidos botones (opcionales) de anterior y siguiente imagen.
- Añadida la opción “No auto ejecutar”.
2.6.2:
- Solucionado un error con el efecto Cortina hacia arriba.
2.6.1:
- Solucionado un problema del fichero de Javascript.
2.6:
- Cambio de framework, ahora se usa jQuery.
- Añadida una opción para la velocidad de la animación.
2.5:
- Solucionado un problema en la cabecera del plugin.
2.4:
- Añadida elección de orden para las imágenes: normal, inverso o aleatorio.
2.3:
- Ahora la altura del widget se calcula en base al tamaño de la imagen más alta.
2.2:
- Arreglado un problema con el CSS.
2.1:
- Arreglado un problema con el repositorio SVN.
2.0:
- Añadidos 10 nuevos efectos.
- Añadido efecto aleatorio.
- Toda la configuración ahora es por widget, se pueden definir múltiples widgets de presentación, totalmente independientes.
- Código totalmente reescrito, ahora utilizando la API de creación WP Widget.
- Arreglado: comprobación de archivos de imagen.
- Arreglado: añadido archivo POT para traducciones.
1.6:
- Solucionado un problema con las rutas absolutas para la carpeta de imágenes.
1.5:
- Primera version en el repositorio SVN de WordPress.
1.0:
- La ubicación de las imágenes.
- El retraso entre transiciones.
- Un estilo (CSS) personalizado para las imágenes.
- Un enlace para la presentación.
Página del plugin en WordPress.org »
English description
With a little amount of time I’ve created a WordPress plugin filling a concrete need I have, and I share it now, hoping to update and upgrade it, specially if you, the WordPress community, ask for more functions and get interested in Smart Slideshow Widget, a plugin that features a widget that shows a slideshow of images with a smooth transition, using the Javascript effects framework jQuery.
Published under license GNU/GPLv3.
Changelog
2.7.4:
- New feature (request): order images by modification date (ascending or descending).
2.7.3:
- Fixed bug on action callbacks (thanks to dansmith65).
2.7.2:
- Fixed incorrect sorting.
2.7.1:
- Added open link in new window/tab option.
2.7:
- Added optional sliding buttons (previous/next slide)
- Added not autorun option
2.6.2:
- Fixed ugly bug on Curtain up effect.
2.6.1:
- Fixed problem with Javascript
2.6:
- Changed the framework, now using jQuery
- Added animation speed option
2.5:
- Fixed plugin header problem.
2.4:
- Added select the image order: regular, inverse or random.
2.3:
- Fixed the height of each widget is calculated based in the highest image.
2.2:
- Minor CSS improvements.
2.1:
- Fixed SVN repo problem.
2.0:
- Added 10 new effects.
- Added random effect.
- All the settings are now per-widget, multiple slideshows can be defined, totally independent.
- Code totally rewritten, now using the WP Widget creation API.
- Fixed check for image files in widget show.
- Fixed translations and added a POT file.
1.6:
- Fixed a bug when using an absolute path for the image folder.
1.5:
- First version at WordPress plugin SVN repo.
1.0:
- Path for the images.
- Transition delay.
- Custom CSS style for images.
- A link for the images in the slideshow.

me da este error:
Warning: opendir(/plugins/smart-slideshow-widget/css) [function.opendir]: failed to open dir: No such file or directory in /homepages/23/d337527045/htdocs/webblog/wp-content/plugins/smart-slideshow-widget/smart-slideshow-widget.php on line 138
I really want to use this plug-in, but I’m not an ace designer. How do I upload images to a specific folder for a slideshow? My WordPress media library doesn’t seem to allow for separate folders. Obviously, I need to learn something. Can you help?
Hello,
I have installed your plugin. But it only shows one image. Is this a jquery conflict?
i have also removed the / from the images. can you please check and help me out?
Thanks
No funciona la transición entre imágenes ni los botones de desplazamiento.
Hola,
Baje la version 2.7.1 que por cierto tiene muy buenas opciones, sin embargo las imagenes no me aparecen. Lo que me tiene confundido (y seguro estoy haciendo mal) es que en el zip file viene un screenshot-1 que usas:
1- En el espacio de image folder escribes la carpeta donde estan las imagenes.
2- En Image URL escribes el url completo que termina con el nombre de dicha carpeta.
Ejemplo:
Image folder: advt_images
URL: http://mysite.com/wp-content/plugins/smart-slideshow-widget/advt_images
Esta bien asi?, pues yo hice un folder para las imagenes dentro del plugin, esto por orden y localizacion. O debo hacer un folder fuera del plugin?
Que hice mal???
Gracias por tu ayuda.
Hola,
Ya resovi la direccion que se debe poner en el espacio del Image Folder, es lo que va despues de /wpcontent/.
Ahora lo que me pasa es que las imagenes no se mueven, aparecen las flechas si asi lo quiero, pero no hay movimiento.
Gracias.
Hi There! I installed you plugin. All the settings are OK, but is does not show the images. Can you give me a hint on what i’m doing wrong? The website is http://www.islandcupgames.com.
Muchos Gracias! Nils
How do I change the dimensions of the slideshow in the widget? What code controls the Width and Height of the slideshow?
Hi,
A very good plugin to have on the website.
But I am facing a conflict while using this plugin. When the plugin is activated, I am not able to edit the permalinks as well as cannot move the menu items in my Main_Menu. As soon as I deactivate the plugin, I can do the above mentioned tasks. I am using wordpress 3.0 with chromonium template.
Please suggest.
Thanks
Kevin,
The plugin adjust itself to the size of the pictures, just be sure all are the same size, so they won’t see cut it. I try it and it works great, even the plugin twice in same page with different sizes.
I have installed your slideshow on another website I am building, and it begins working fine, however after a few minutes the pictures begin to skip through and instead of transition from each picture at the same rate, it just rapidly goes from one pic to the other. It will run the entire slideshow in under a second and then keep repeating until I refresh the page. I don’t know if the error is in the php script, or where. Can you help? I like the plugin otherwise.
Hello!
So far the script works fine, I use it as a flyer-slideshow. However the pictures get mixed up every time, I use “regular” and name the jpgs after their date, eg 20111015.jpg for a show on Oct 15th, 2011. I hoped that the flyer would then be shown in the correct order… unfortunaltely not… Any Idea what’s wrong?
You can vjeck out my site, an you will see that the dates of the flyer are mixed up…
Thanks!
Jörg
I’m having a similar problem to the one that David mentioned above. As long as I am looking at my website, the slideshow works fine. But if I leave the tab and go to another open tab, when I come back to the website with the slideshow, the images quickly flicker through until they “catch up.” I have tried adjusting the delay length and the animation speed but it hasn’t helped.
Sorry, but I’ve not had ANY time in the last months to put my hands on Smart Slideshow Widget. I’m not away, I read EVERY comment here and I will try to solve this bugs on a latter update.
Thanks a lot for your feedback, and for your patience too.
liisa: In which browser are you having the issue? Have you tried this on several browsers? What happened? I can’t reproduce it on my machine, but I’ll try.
Jörg, you’re totally right. The version 2.7.2 resolves this ordering issue. Update now.
Thanks for the feedback, a lot!
Hi!
i would love to use this plugin because it allows several slideshows with one single plugin and using folders, which is a great possibility, unfortunately it does show only 1 image and no transition with the others.
where s the problem? some jquery conflict?
thanks for answering
Rita, I fear is a jQuery conflict or misconfiguration of the plugin. Are you sure you have more than one image in your “Image Path” folder?
In case you have more than one image, the conflict can come from several versions of jQuery that I see are included in your site (http://www.hockeymammuth.it/), along with prototype, another Javascript framework that “doesn’t like” to work well along with jQuery.
You may try disabling/editing other plugins and test who is the “enemy” of Smart Slideshow Widget.
Hope it helps.
Hey Ruben,
Thanks for the quick reply. I can completely appreciate that this is something you do in your spare time, which many of us have little of.
The quick “catch up” seems to be a Firefox issue. I have tested it on IE8 and Safari 5 and they seem okay. My native browser is Firefox7 and it is the only one that glitches like this. Again, though, it is only an issue if I leave the tab open, go to another tab, and then come back to the website with the slideshow.
I am using version 2.7.1 of the plugin.
Cheers,
liisa
Ok, so…. this is a very valuable feedback liisa. I normally use Safari and have not noticed this. I will test it with a newer Firefox version (8 and 9) and I’ll let you know.
Stay tuned
PS: thanks for the nice words
Hello Ruben, thanks I’ll give it a try. unfortunately i m not really a pro of query and stuff, i’ll try though and let you know !
Hi again!
i did give a try, and tried with different themes too, and what i noticed is that it does not work when the theme has 2 blog posts columns on the frontpage.
for themes where the blog posts are listed one below the other, it works perfectly . but for 2 columned posts it does not .
hope this will help maybe to find a solution!
thank you, even if i can not use it , i love this plugin !
In Version 2.7.2 of this plugin, the last two lines of this file should be modified: smart-slideshow-widget.php
add_action(‘init’, sswEnqueueScripts);
add_action(‘wp_head’, sswAddHeaderLinks);
should be…
add_action(‘init’, ‘sswEnqueueScripts’);
add_action(‘wp_head’, ‘sswAddHeaderLinks’);
(with quotes around second parameter)
Good point dansmith65, this will be addressed on 2.7.3, the update is imminent.
Thanks for the feedback
It took me forever to figure out how to configure the plugin but once I did I found it to be working like a charm. I really like the plugin and would recommend it to others…In fact, I am doing that right here. Keep up the good work.
On another note…Will it be Button or Alonso that slots in to the number 2 spot? I am rooting for Fernando!
Roger F, thanks so much for the nice words. I’ve planned to improve and make easier the configuration procedure, but it’s more difficult that it seems.
Of course, I want Alonso to get the 2nd spot, but Button is going to get it, McLarens are very fast at the end of this season.
Alonso 2012 Champion!!
Hi Rubén,
I have the same issue as Liisa, although I’m using Google Chrome. I have two versions of my site, and the old one that is using v.2.7 works fine, but the new site using v2.7.3 has the “quick catch up” issue. Thought it might help.
Regards
Fredrik
Ok Fredrik, that’s nice feedback!!
I’ll diff the 2 versions and see why the regression. Thanks a lot
Hi Ruben, I hope you can help me? When the widget is installed it seams to stop the sidebar save function. after activation no matter which new wiget I drag over, it does not show (this is the same for your Smart Slideshow)! the wigit appears to work and allows you to save it, but when I view the change it does not show! I return to the wiget menu and the new widget has dissapeared! really strange! I’m using the latest WP 3.2.1 Any ideas? Thanks in advance Grant M
Thank you for making this excellent plug-in. I have one request – when the prev/next slide buttons are clicked the slideshow stops. Could there be an option to resume the slideshow, maybe when the mouse moves away, or after a set time?
Hi Rubén, could you make the 2.7 plugin available again, as long as the “quick catch up” issue isn’t solved?
Your plugin is great, but is hardly usable in the 2.7.3 version.
Thanks, Tom
Hey!
It seems everyone is very happy with your awesome pluggin. But unfortunantely I could not have it work at all. I have the same error as Zeugim on line 138 when I add the images in a folder on the wp-content…I tried jpg and pngs. Than I try to place into your image url folder (create a folder, put pictures blabla ba…) Not work again. This site I use to make test. I am try to use the pluggin for a client of mine (site is being build write now. Any way…do you have some light of how to fix the line 138 error?
Love the plugin! Brilliant and very simple to set up.
One request for future versions: please would it be possible to set alignment of images within the widget space?
Thanks anyway
Saludos desde el Reino Unido.
Hi there. Thanks for this plugin.
One question: How can I change the title from the light grey color to another color of my choice? What file (and what part of that file) do I need to edit?
Thanks so much!!!
Dave: The title color is managed by the theme. Your current theme defines a color for the widget zone titles (very likely it will be widget-title CSS class).
If you don’t know much of CSS, you must read some tutorials at W3Schools, they’re great and with lots of examples.
Good luck!
Hola Rubén,
he instalado el plugin y me pasa algo mega raro, se me redimensionan las imágenes en diferentes tamaños; todas ellas tienen las mismas medidas originales, te dejo el link de donde lo tengo: http://laraheredia.com/about/
A ver si me puedes echar un cable! Mil gracias
Just want to say – your slideshow plugin rocks! It took me a little time to figure out the correct path entry info, but now it works flawlessly! Thank you so much for improving the functionality and professionalism of my website so quickly. Definitely worth the effort!
Mason: so glad to hear such kind words! Thank you so much, I’m happy you could get it working
This is a really great plug-in for WordPress.
Actually, this is the easist slideshow to set up of the several that I have tried. It is wonderfully versatile because I can just have it call up any gallery that I wish.
As I am running 2 sidebar slideshows, I can use 2 different galleries, and have preloaded those galleries so that the slideshows complement each other.
Eventually, I’ll donate, but our site is non-commercial.
Hello,
Could you tell me where I could change the width and height?
Thanks for this great plugin!
The plugin seems great and all, and I just read all the comments, BUT IS TILL CAN’T FIGURE OUT how do put the images in a specific FOLDER so the widget would read them! All my photos are just uploaded to wp-content/uploads! Word press as far as i tried, doesn’t allow me to create specific folders to have photos in!?!? So what do I need to do, so I can specify a path to this FOLDER so that I can actually use the plugin. I will appreciate any answer, since not just the developer can answer me, but all of you who got it to work! THX! Keep up the good work!
Tu widget me parece sencillamente genial. Te agradezco mucho que lo hayas puesto libremente. Es lo mejor que he enonctrado en mucho tiempo.
Enhorabuena.
I hope this comment is correct. .as I don’t speak/write Spanish.
If I could get the plugin to work.. it would be perfect! I have images in a folder.. have defined the folder.. My side bar displays a box.. and can see it rotating placeholder image for photos.. but the photos don’t display! I am using .jpg’s Does the folder or images need permissions beside: 755 ( I’ve even tried 777 ) . HELP! I can be emailed at: oscardad500@gmail.com . ( and as noted: can only read English ) .. Thanks !
I’m afraid your plugin doesn’t work correct with WordPress 3.5. If it is activated there is an error in the editor. You can’t edit the categories, the date…
If I deactivate yor plugin I have no problems in the editor.
Please fix.
Thank You
Joachim
This is not compatible with 3.5. Will there be an update soon? I
Not working in WordPress 3.5. This is a great plugin. Please update it when you can.
Hola, tengo problemas con el plugin. No sólo no funciona si no que crea conflicto con el editor de entradas en WP 3.5
Alguna solución en vistas?
Muchísimas gracias.
Un saludo.
Very nice plugin…. Thanks
If you want the plugin to work in WordPress 3.5 update the jQuery UI File manually to the latest version (http://jqueryui.com/) and all works fine.
I have downloaded jQuery UI File but not sure which file to copy & plugin is not working as well. Please send me js file link to download.
Currently wp-content\plugins\smart-slideshow-widget\js\jquery-ui.min.js file was there but when i am updating js file info under smart-slideshow-widget.php for jquery-1.8.3.min.js OR jquery-ui-1.9.2.custom.js OR jquery-ui-1.9.2.custom.min.js it’s not working.
Kindly help.
Thanks
Script started working now… header.php has js script which was conflicting with smart slide show widget that has been removed now. No solution needed now. Thanks