Viewing 15 replies - 1 through 15 (of 15 total)
  • Plugin Author wpgloe

    (@wpgloe)

    Hi, temuujina.

    This is currently not supported, but I will look into it and see if something can be done rather quickly.

    Meanwhile, if the images on those posts/pages have a certain class name this class name can be specified in the “Images” section of the settings page under “Exclude these images”.

    Chr.

    Thread Starter temuujina

    (@temuujina)

    I used this plug-in.

    https://hasthemes.com/plugins/wp-plugin-manager-pro/

    I disabled Image Projector on some posts. It works.
    Also, I used “Exclude gallery images” in the “Images” section for image. It works.

    Plugin Author wpgloe

    (@wpgloe)

    Good to hear that you could proceeed.

    I will check in a new version today that will allow you to specify posts/pages where the plugin shall not be activated. Then you should not need another plugin to deactivate it. I’ll let you know when it is available.

    Plugin Author wpgloe

    (@wpgloe)

    Version 4.5 is released and you can now specify posts/pages where the plugin shall not be activated – see the Activation tab in plugin settings page.

    Plugin Author wpgloe

    (@wpgloe)

    closinng this case.

    Thread Starter temuujina

    (@temuujina)

    Check this one.
    https://nationallibrary.mn/survalj-bichgiin-deejis/
    Click on search icon button. Then an image will appear, click left of mouse, then it will zoom it. Then Image projector will appear. Image projector works here.

    But it doesn’t work on normal posts. These are examples.

    https://nationallibrary.mn/эртний-хаадын-?ндэслэсэн-т?р-ёсны-зох/

    https://nationallibrary.mn/шинэ-эрин-зууны-номын-сан-сэдэвт-сург/

    I think there are bugs.

    In console: image-projector.min.js:4

    Uncaught ReferenceError: parseSrcset is not defined
        at image-projector.min.js:4:6935
        at HTMLImageElement.<anonymous> (image-projector.min.js:4:7043)
        at Function.each (jquery.min.js:2:3003)
        at s.fn.init.each (jquery.min.js:2:1481)
        at Object.getGallery (image-projector.min.js:4:6179)
        at Object.build (image-projector.min.js:4:2922)
        at Object.start (image-projector.min.js:4:2633)
        at HTMLImageElement.<anonymous> (image-projector.min.js:4:2324)
        at HTMLBodyElement.dispatch (jquery.min.js:2:43064)
        at y.handle (jquery.min.js:2:41048)

    I think you should check these.

    Plugin Author wpgloe

    (@wpgloe)

    I see the problem, thanks for reporting. I will check this promptly and return.

    Sorry for the inconvenience.

    Plugin Author wpgloe

    (@wpgloe)

    I checked it again on your pages and it seem to work OK.
    If you force a re-load of the page or clear the browser cache – will that fix it?

    On the last post you refer to, the three images side-by-side opens in the viewer and also have a thumbstrip.

    Plugin Author wpgloe

    (@wpgloe)

    Plugin updated to 4.6. Added versioning in script loading to prevent use of outdated, cached files.

    Thread Starter temuujina

    (@temuujina)

    I emptied browser cache and hard reloaded. It works.
    On this link
    https://nationallibrary.mn/шинэ-эрин-зууны-номын-сан-сэдэвт-сург/
    These three images works. But Featured image doesn’t work. Please check the uppermost image.
    In console,

    `image-projector.min.js:4 Uncaught TypeError: Cannot read properties of undefined (reading ‘localeCompare’)
    at Object.isAlreadyInCollection (image-projector.min.js:4:4434)
    at HTMLImageElement.<anonymous> (image-projector.min.js:4:6672)
    at Function.each (jquery.min.js:2:3003)
    at s.fn.init.each (jquery.min.js:2:1481)
    at Object.getGallery (image-projector.min.js:4:6174)
    at Object.build (image-projector.min.js:4:2945)
    at Object.start (image-projector.min.js:4:2656)
    at HTMLImageElement.<anonymous> (image-projector.min.js:4:2347)
    at HTMLBodyElement.dispatch (jquery.min.js:2:43064)
    at y.handle (jquery.min.js:2:41048)

    But it becomes only this image. The images of the other posts works properly.
    Check these.

    https://nationallibrary.mn/mongolian-library-update-2022/

    https://nationallibrary.mn/конгрессийн-номын-сан-дэлхийн-хамгий/

    • This reply was modified 2 years, 4 months ago by temuujina.
    • This reply was modified 2 years, 4 months ago by temuujina.
    • This reply was modified 2 years, 4 months ago by temuujina.
    • This reply was modified 2 years, 4 months ago by temuujina.
    Plugin Author wpgloe

    (@wpgloe)

    Noted, I will check what’s causing this and provide a remedy.

    Plugin Author wpgloe

    (@wpgloe)

    Found an issue that is likely to be the reason.

    Refering to the un-compressed image-projector.js from version 4.5, line 589, change this:

    if(src !== "") {

    to:

    if(src !== "" && typeof(src !== 'undefined')) {

    I will publish a new version, but before that it would be good if you could confirm that this solves the issue.

    Plugin Author wpgloe

    (@wpgloe)

    Note typo above, this works better: if(src !== "" && (typeof src !== 'undefined')) {

    It appears that there are several IMG elements with incomplete attributes (no src attribute) on the page. This is causing the abnormal behaviour and is handled in the new version 4.7 that is now available. There should be no need for manual editing if you install this version.

    • This reply was modified 2 years, 4 months ago by wpgloe.
    • This reply was modified 2 years, 4 months ago by wpgloe.
    • This reply was modified 2 years, 4 months ago by wpgloe.
    Thread Starter temuujina

    (@temuujina)

    Plugin Author wpgloe

    (@wpgloe)

    Thanks for reporting back and contributing to improving the plugin.

    Good luck to you too!

Viewing 15 replies - 1 through 15 (of 15 total)
  • The topic ‘To disable on some pages or some posts?’ is closed to new replies.