Image Zoom
[resolved] Solution for some problems - Soluciones (9 posts)

  1. t3sla
    Posted 1 year ago #

    First, congratulations for this plugin, helped me a lot.
    Second, sorry for my English, I'm still studying.
    The first problem we find is that for the plugin to work properly, we have to wrap pictures tagged with <a class="gallery_colorbox cboxElement" href=" your image "><img src=”thumb”/></ a>, that should fix the problem.
    Wait, still not working.
    Ok, then the problem is your version of JQuery.
    This plugin uses function .live () to stop the instance href and use the content of this (our image) in the zoom. If you are using a current version of jQuery, you should replace it by the function .on()
    Specifically in:
    Change this:
    By this:
    I hope to solve the problem

    Primero, felicitaciones por este plugin, me ayudo bastante.

    El primer problema que encontraremos es que para que el plugin funcione correctamente, tenemos que envolver las imágenes con una etiqueta <a class="gallery_colorbox cboxElement" href=" tu imagen " ></a>, eso debería solucionar el problema.

    Un momento, sigue sin funcionar.

    Ok, entonces el problema es tu versión de JQuery.

    este plugin usa la propiedad .live() para detener la instancia href y usar el contenido de este (nuestra imagen) para crear el zoom. si usas una versión actual de JQuery, es recomendable remplazarla .live() por la funcion .on().

    específicamente en:

    cambiar esto:
    por esto:

    Espero resuelva el problema


  2. Sed Lex
    Plugin Author

    Posted 1 year ago #

    I will change it on the next version I hope

  3. Sed Lex
    Plugin Author

    Posted 1 year ago #

    Just to be sure : the version of jquery is too old or too recent ? Because I cannot do anything regarding the version as it is the version of wordpress I use

  4. spkane
    Posted 1 year ago #

    I just followed t3sla's directions and it worked perfectly with WP 3.8.1 and //ajax.googleapis.com/ajax/libs/jquery/1.11.0/jquery.min.js


  5. t3sla
    Posted 1 year ago #

    Hello Sed Lex, JQuery use .live() function to version 1.3, and change to .on() since version 1.7 .live() documentation
    I think could create a select with jquery versions in the plugin settings or use:

    //or if you're using .noConflict():

    ...and the script print: .on(), .live() or .delegate() in the javascript

  6. Sed Lex
    Plugin Author

    Posted 1 year ago #

    Hi tesla ...

    I understand your point but colorbox is a code that I do not develop
    I upgrade this part to be sure that the last version of color box and jquery is used

    The last version of this plugin does not solved your issue ?

    I am confused

  7. Sed Lex
    Plugin Author

    Posted 1 year ago #

    For clarity sake, a version 1.7.0 has been issue for your specific point discused here ... I have hope that would be nice

  8. t3sla
    Posted 1 year ago #

    My JQuery version is:

    ...Jquery did not recognize .live() function, so the change to .on() in the scritp [js_front.js].

    Colorbox author says in the website:
    "Compatible with: jQuery 1.3.2+ in Firefox, Safari, Chrome, Opera, Internet Explorer 7+".

    But, Some users choose different JQuery versions and encounter this problem.

    Moreover, Jquery API documentation says:
    "As of jQuery 1.7, the .live() method is deprecated. Use .on() to attach event handlers. Users of older versions of jQuery should use .delegate() in preference to .live()."
    Link to documentation

    I hope to clarify the doubt. And as a community to solve the problem, Greetings from Peru

  9. t3sla
    Posted 1 year ago #

    Obviously the previous post.
    1. Colorbox solved the problem in actual version .
    2. My version of the Plugin is old, But I use WordPress internal plugin search.
    3. WordPress notice me recently 1.7.0 update 1 week later -_- of the plugin install, sorry for the confusion.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Image Zoom
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic