• Resolved foto4go

    (@foto4go)


    Hi, I installed photonic on my site and configured with the api keys as indicated in the documentation. Unfortunately when I click on photonic button to insert a gallery in the article and I choose smugmug it begins an infinite loading.
    How can I solve?
    thank you

Viewing 11 replies - 1 through 11 (of 11 total)
  • Plugin Author Sayontan Sinha

    (@sayontan)

    On your screen where this happens, can you open the JavaScript console (F12 or Ctrl + Shift + I in Chrome)? Let me know what error messages you see on the “Console” tab.

    Thread Starter foto4go

    (@foto4go)

    thanks for the quick response. I made you a screenshot not to make mistakes in giving you the correct information. I’m sorry for my not perfect English.

    https://ibb.co/0y13DKB

    Plugin Author Sayontan Sinha

    (@sayontan)

    Do you know what version of PHP you are running?

    Thread Starter foto4go

    (@foto4go)

    I checked in the control panel of my provider and it turns out 5.3.29

    Plugin Author Sayontan Sinha

    (@sayontan)

    Can you upgrade to a higher version? Photonic can run on lower versions, but sometimes some conflicts arise due to other plugins, which cause this feature to stop working.

    Thread Starter foto4go

    (@foto4go)

    WONDERFUL!!!! I tried to put the highest 7.x.x but it gave me an error connecting to the database. I tried with other versions and now everything works with 5.6.32 !!!!
    Thank you!!!!!
    Can I ask if photonic has a maximum limit of photos that can be managed? I have albums on smugmug that contain 1000/1500 photos. Are there any problems with the plugin?

    Plugin Author Sayontan Sinha

    (@sayontan)

    Can I ask if photonic has a maximum limit of photos that can be managed? I have albums on smugmug that contain 1000/1500 photos. Are there any problems with the plugin?

    Photonic doesn’t, but SmugMug’s API does. It does not let you pull more than 500 photos at a time. But you can use a “More” button to load more photos.

    See the last example here.

    • This reply was modified 6 years, 1 month ago by Sayontan Sinha. Reason: Added link
    Thread Starter foto4go

    (@foto4go)

    Ok
    can I ask you something else? I’m testing this link and if you notice there are 20 different photos in the previews but then if I open the lightbox are all duplicated
    https://www.emanuelemusolino.it/articolo-di-prova/

    • This reply was modified 6 years, 1 month ago by foto4go.
    Plugin Author Sayontan Sinha

    (@sayontan)

    Hi,
    This seems to be a conflict between your theme (or some other plugin) and Photonic. For example, if you “View Page Source” (Ctrl + U on Chrome) for your page, you will see this:

    <li class="photonic-smug-image photonic-smug-photo photonic-pad-photos photonic-level-1 photonic-thumb photonic-thumb-square">
    	<a  class='photonic-launch-gallery launch-gallery-swipebox swipebox'  rel='lightbox-photonic-smug-stream-1'  href="https://photos.smugmug.com/Varie/i-LktzJmX/0/6e7f6952/X3/Pineto_parkrun_42-15-X3.jpg" title="View" data-title="<a href='https://folgore.smugmug.com/Varie/i-LktzJmX' >View</a>"   data-photonic-deep="gallery[photonic-smug-album-1]/LktzJmX/" ><br />
    		<img alt="" src="https://photos.smugmug.com/Varie/i-LktzJmX/0/6e7f6952/Ti/Pineto_parkrun_42-15-Ti.jpg"  class='square' /></p>
    <p>			</a>

    The </p> and <p> shouldn’t be coming – that seems to be coming from your theme or maybe another plugin.

    But the bigger problem is that it looks like there is some JavaScript component on your page that is duplicating the link! So if you right-click on a thumbnail and “Inspect Element” you see this:

    <li class="photonic-smug-image photonic-smug-photo photonic-pad-photos photonic-level-1 photonic-thumb photonic-thumb-square" style="display: inline-block;">
    	<a class="photonic-launch-gallery launch-gallery-swipebox swipebox" rel="lightbox-photonic-smug-stream-1" href="https://photos.smugmug.com/Varie/i-kWTphwT/0/68f25ad0/X3/Pineto_parkrun_42-1-X3.jpg" data-title="<a href='https://folgore.smugmug.com/Varie/i-kWTphwT' >View</a>" data-photonic-deep="gallery[photonic-smug-album-1]/kWTphwT/" title="View"><br>
    		<img alt="" src="https://photos.smugmug.com/Varie/i-kWTphwT/0/68f25ad0/Ti/Pineto_parkrun_42-1-Ti.jpg" class="square"><p></p>
    </a><p>
    <a class="photonic-launch-gallery launch-gallery-swipebox swipebox" rel="lightbox-photonic-smug-stream-1" href="https://photos.smugmug.com/Varie/i-kWTphwT/0/68f25ad0/X3/Pineto_parkrun_42-1-X3.jpg" title="View" data-title="<a href='https://folgore.smugmug.com/Varie/i-kWTphwT' >View</a>" data-photonic-deep="gallery[photonic-smug-album-1]/kWTphwT/">			</a>
    		</p></li>

    If you see here, the same a element is getting reinserted. Since it is not visible on your page source, it is happening due to some JavaScript.

    To try and resolve this you can try disabling all your other plugins and see if that helps. If that does not help, then this is a bug with your theme.

    • This reply was modified 6 years, 1 month ago by Sayontan Sinha. Reason: improved formatting
    Thread Starter foto4go

    (@foto4go)

    Thank you for your precious help. I’m doing some tests to set it up better. I created an album with about 2600 photo on smugmug and I would like to insert it using the shortcode
    [galleria type=’smugmug’ view=’album’ album=’brVJXG’ nick_name=’folgore’ columns=’auto’ count=’200′ more=’SHOW MORE’ layout=’square’]
    but when I click on the SHOW MORE button it stays on loading. Can I solve it in any way?
    thank you
    https://www.emanuelemusolino.it/miguel/

    • This reply was modified 6 years, 1 month ago by foto4go.
    Plugin Author Sayontan Sinha

    (@sayontan)

    Hi,
    Apologies for the delay in responding here. The issue that I outlined in my previous post is still the one that is applying here.

    However, I put in some code to handle this sort of a scenario, so you might want to try downloading the new version and see if that resolves the issue for you.

Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘Photonic and Smugmug’ is closed to new replies.