• Hi there,

    We’ve put together a photography website in WordPress which in the client area has photos that link through to password protected pages (see https://www.allyoursphotography.co.uk/client-area/). However, WordPress seems to be only allowing a maximum of 61 pictures – if you add in any extra, it outputs a completely blank page. Does anyone know if there is a limit to the number of images allowed on a page? Or is there another reason?

    Thanks,
    Keren

Viewing 7 replies - 1 through 7 (of 7 total)
  • As far as I know, WordPress doesn’t impose any limit but, depending upon the size of the images and were they are being pulled from, your page download time may be exceeding your host’s php script execution time limits.

    Thread Starter kalderson

    (@kalderson)

    Hi esmi,

    Thanks for the response. The images are around 10KB each, so the images themselves are only a total of around 610KB, which isn’t huge. We’re just using the regular media image insertion with captions and the page is loading fast – looking at the server php info, there is a maximum exectution time of 30 seconds so it can’t be that. If you put in an extra image (ie 62), the page instantly renders but without any content; ie the_content() returns nothing.

    Thanks,
    Keren

    Facebook photo fetcher plugin will pull 200 (facebooks album limit) into wp. It’s easier to manage a heaps in one go, settings to tweak, if your doing them all one at a time. Ppl don’t know there coming from facebook.

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    ?????? Advisor and Activist

    The small image size may not translate directly to the PHP processing involved, though.

    What happens if you use the <!--nextpage--> tag to break the post up?

    Thread Starter kalderson

    (@kalderson)

    Hi Ipstenu,

    Ah, you’re a lifesaver – that fixed the problem.

    Thanks very much for your help!

    Keren

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    ?????? Advisor and Activist

    Good to know ?? If that fixed it, then esmi’s probably right. It’s a mix of how your server is set up and the size of images, but basically PHP is misbehaving.

    ipstenu:- Your solution did partially fix the problem, all of the post is now shown up to where I inserted <!–nextpage–>

    However, I need all the content on one page – it is literally the last image on the page that is causing this to happen.

    Any other possible solutions?

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Is there a limit to the number of images allowed on one page?’ is closed to new replies.