WordPress.org

Forums

Image Zoom
[resolved] mage Zoom plugin not working in the Advanced Custom Fields WYSIWYG (8 posts)

  1. icakeov
    Member
    Posted 1 year ago #

    Hi everyone
    I created WYSIWYG columns and when I move the content there, the photos that that are linked that used to work with the "Image Zoom" plugin now don't work. The photos now don't zoom anymore, they just pop up in a new window.
    Any thoughts how to make the Image Zoom plugin work in the Advanced Content System?
    Thanks!
    here's the page I have in mind:
    http://leilaljuma.com/poems-and-songs/

    http://wordpress.org/plugins/image-zoom/

  2. Sed Lex
    Member
    Plugin Author

    Posted 1 year ago #

    Hi,

    When a page is displayed, each plugin is call turn by turn.
    I believe that my plugin is called first, modify the displayed HTML to enable the zoom.
    Then, the Advanced Custom Fields WYSIWYG plugin may be called and modify in its own way the html ... and delete my modification...

    What happen if you deactivate Advanced Custom Fields WYSIWYG ?

  3. icakeov
    Member
    Posted 1 year ago #

    Hi Sed Lex, thanks for the response, I use ADCF to create columns that display content on the website. (I use this to create columns for my client) So if I deactivate it, then any of the content won't display at all.
    Is there a way for me to add some code into the HTML directly in the code? maybe that would help?

  4. Sed Lex
    Member
    Plugin Author

    Posted 1 year ago #

    If you modify the HTML in the post, I assume that it will be deleted when the ADCF is called ...
    I am not very use with that plugin
    Normally, the link to the image should contains a class named gallery_colorbox after the execution of my plugin

    For instance <a href="http://domain/img.jpg" class="gallery_colorbox">

  5. icakeov
    Member
    Posted 1 year ago #

    Great that worked! It didn't override it!
    Thanks Sed Lex!

  6. Sed Lex
    Member
    Plugin Author

    Posted 1 year ago #

    Your welcome ... but it is still strange that work ... I will look at it ...

  7. icakeov
    Member
    Posted 1 year ago #

    Thanks, it would be good to know if there is a way around it, as I'll let my client continue using the website and in the future she won't know about adding that bit of code..

  8. Sed Lex
    Member
    Plugin Author

    Posted 1 year ago #

    The next version should correct this problem

Topic Closed

This topic has been closed to new replies.

About this Plugin

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

About this Topic

Tags

No tags yet.