Title: more button problem
Last modified: August 18, 2018

---

# more button problem

 *  Resolved [scarbantia](https://wordpress.org/support/users/scarbantia/)
 * (@scarbantia)
 * [7 years, 9 months ago](https://wordpress.org/support/topic/more-button-problem/)
 * Hi!
 * I have a problem with “more” button (flickr gallery). It works only, if I login
   the wordpress admin page.
    My another problem with more photo loading is, that
   the gallery is first loading the pictures in a large size under one another, 
   and after sorts them in mosaic. This is a UX problem, so not user friendly.
 * Can you help me?

Viewing 13 replies - 1 through 13 (of 13 total)

 *  Plugin Author [Sayontan Sinha](https://wordpress.org/support/users/sayontan/)
 * (@sayontan)
 * [7 years, 9 months ago](https://wordpress.org/support/topic/more-button-problem/#post-10602829)
 * Can you share a link and the shortcode you are using?
 *  Thread Starter [scarbantia](https://wordpress.org/support/users/scarbantia/)
 * (@scarbantia)
 * [7 years, 9 months ago](https://wordpress.org/support/topic/more-button-problem/#post-10602914)
 * [http://foto.karculat.hu/photonic-test/](http://foto.karculat.hu/photonic-test/)
 * [flickr type=”flickr” user_id=’48473408@N06′ view=’photosets’ photoset_id=’72157700347925015′
   media=’all’ tag_mode=’any’ sort=’date-posted-desc’ per_page=’20’ more=’More’ 
   photo_more=’More’ layout=’random’ caption=’none’ thumb_size=’t’ main_size=’h’
   collections_display=’lazy’ fx=’fade’]
 * The loading problem is only with a lot of picture annoying. (50-100 or more load)
 *  Plugin Author [Sayontan Sinha](https://wordpress.org/support/users/sayontan/)
 * (@sayontan)
 * [7 years, 9 months ago](https://wordpress.org/support/topic/more-button-problem/#post-10602943)
 * In your case what I see is that there are 2 JavaScript errors showing up from
   other plugins:
    - `Uncaught TypeError: $currentSong.data is not a function`
    - `POST http://foto.karculat.hu/wp-admin/admin-ajax.php 400 (Bad Request)`
 * Both of these seem to be coming from your theme, file [http://foto.karculat.hu/wp-content/themes/mobius/js/custom.js](http://foto.karculat.hu/wp-content/themes/mobius/js/custom.js).
 * These errors are preventing other JavaScript from executing. E.g.: if you click
   on the “More” button nothing happens because the errors above are not letting
   the “More” button JavaScript execute.
 * You might need to contact your theme support to get the JS errors resolved, because
   they will affect other plugins as well, not just Photonic.
 * Even for the images, Photonic has default functionality to show a “loading” icon
   while the images are being loaded (see the demo pages). But it is likely that
   the incorrect JavaScript is affecting that as well. Once you are able to resolve
   the JS issue I can help you with this as well.
    -  This reply was modified 7 years, 9 months ago by [Sayontan Sinha](https://wordpress.org/support/users/sayontan/).
 *  Thread Starter [scarbantia](https://wordpress.org/support/users/scarbantia/)
 * (@scarbantia)
 * [7 years, 9 months ago](https://wordpress.org/support/topic/more-button-problem/#post-10603101)
 * Thank you for the fast answer. I tried to solve the problem. If I disable “Ajax
   Navigation”, the Photonic more button works great.
 * Do you have any solution for the loading problem? I want to show the further 
   photos only, if the loading is finished.
 *  Plugin Author [Sayontan Sinha](https://wordpress.org/support/users/sayontan/)
 * (@sayontan)
 * [7 years, 9 months ago](https://wordpress.org/support/topic/more-button-problem/#post-10603237)
 * It looks like I introduced a bug in the previous version of the plugin. I apologize
   for that!
 * The fix is hopefully simple. If you go to wp-content/plugins/photonic/include/
   scripts/photonic.js, [line 1536](https://plugins.trac.wordpress.org/browser/photonic/trunk/include/scripts/photonic.js#L1536)
   you will see this:
 * `container.find('.photonic-' + level).css({'display': 'inline-block' });`
 * Replace it with this:
 * `//container.find('.photonic-' + level).css({'display': 'inline-block' });`
 * (i.e. comment it out)
 * Save the file and refresh your caching plugin. Hopefully this will fix the issue.
 * Let me know if it works, and I will put this into the next version of the plugin.
 *  Thread Starter [scarbantia](https://wordpress.org/support/users/scarbantia/)
 * (@scarbantia)
 * [7 years, 9 months ago](https://wordpress.org/support/topic/more-button-problem/#post-10603939)
 * You wrote the same code, could you send please the right code again?
 *  Plugin Author [Sayontan Sinha](https://wordpress.org/support/users/sayontan/)
 * (@sayontan)
 * [7 years, 9 months ago](https://wordpress.org/support/topic/more-button-problem/#post-10604072)
 * There is a “//“ at the start of the second block of code.
    -  This reply was modified 7 years, 9 months ago by [Sayontan Sinha](https://wordpress.org/support/users/sayontan/).
 *  Thread Starter [scarbantia](https://wordpress.org/support/users/scarbantia/)
 * (@scarbantia)
 * [7 years, 9 months ago](https://wordpress.org/support/topic/more-button-problem/#post-10604174)
 * Sorry, it works fine.
 * (First time, I deactivated the original line, and copied the new – without “//”.)
 * Thanks for the super fast support! 🙂
 *  Thread Starter [scarbantia](https://wordpress.org/support/users/scarbantia/)
 * (@scarbantia)
 * [7 years, 9 months ago](https://wordpress.org/support/topic/more-button-problem/#post-10604254)
 * I have another problem with this new loading mode. If it has to load too much
   images (50 or more), the loading icon desappear sooner, as the pictures appear.
   So, the user is thinking, that the loading does not work and press the button
   again.
 *  Plugin Author [Sayontan Sinha](https://wordpress.org/support/users/sayontan/)
 * (@sayontan)
 * [7 years, 9 months ago](https://wordpress.org/support/topic/more-button-problem/#post-10604416)
 * While I can offer the changes for this here, if you do not have an urgent need
   for the fix I would propose that you wait for the next version. This fix requires
   changes at a few more places (it is not as simple as commenting out one single
   line).
 *  Thread Starter [scarbantia](https://wordpress.org/support/users/scarbantia/)
 * (@scarbantia)
 * [7 years, 9 months ago](https://wordpress.org/support/topic/more-button-problem/#post-10610224)
 * Thank you very much, I’m waiting for the new version.
 *  Plugin Author [Sayontan Sinha](https://wordpress.org/support/users/sayontan/)
 * (@sayontan)
 * [7 years, 8 months ago](https://wordpress.org/support/topic/more-button-problem/#post-10737878)
 * Version 2.00 should have this fix.
 *  Thread Starter [scarbantia](https://wordpress.org/support/users/scarbantia/)
 * (@scarbantia)
 * [7 years, 7 months ago](https://wordpress.org/support/topic/more-button-problem/#post-10761474)
 * Thank you! 🙂

Viewing 13 replies - 1 through 13 (of 13 total)

The topic ‘more button problem’ is closed to new replies.

 * ![](https://ps.w.org/photonic/assets/icon.svg?rev=1972449)
 * [Photonic Gallery & Lightbox for Flickr, SmugMug & Others](https://wordpress.org/plugins/photonic/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/photonic/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/photonic/)
 * [Active Topics](https://wordpress.org/support/plugin/photonic/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/photonic/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/photonic/reviews/)

## Tags

 * [loading](https://wordpress.org/support/topic-tag/loading/)
 * [more button](https://wordpress.org/support/topic-tag/more-button/)
 * [problem solved](https://wordpress.org/support/topic-tag/problem-solved/)

 * 13 replies
 * 2 participants
 * Last reply from: [scarbantia](https://wordpress.org/support/users/scarbantia/)
 * Last activity: [7 years, 7 months ago](https://wordpress.org/support/topic/more-button-problem/#post-10761474)
 * Status: resolved