• Hi,

    I’m running 2 different WordPress websites, both have the same plugin installed, I used the class “thickbox” to make the image open with Thickbox native to WordPress (admin side). On the first website things works perfectly. but on the other website, adding the class “thickbox” did nothing at all.

    After reading some topics here, I added 2 lines to the header function:
    wp_enqueue_script(‘thickbox’);
    wp_enqueue_style(‘thickbox’);

    Now its working partially, the problems is, after i click on the link with the class “thickbox” :

    1- the image box open but the image is outside the box (image)
    2- the link have additional parameters after it is clicked https://…../photo.jpg&width=753&height=574 (image)
    3- if I close the box and try to open it again, the box appear but empty with out the image. (image)

    Can someone tell me what could cause this problem ? knowing that on the other website it worked with just giving a class to the link.

    • This topic was modified 8 years, 2 months ago by psytanium.
  • The topic ‘Problems with Thickbox for image’ is closed to new replies.