Jump to content

Recommended Posts

Posted

Hi folks,

I have about 250 images in an image field on a page, and there's about 6 pages. As you can imagine this is quite a lot of image data (but they are appropriately sized so each page of images is only about 30mb). The front-end works fine but in the backend when I try to reorder the images, it allows me to reorder them but when I click 'Save' the order goes back to the original order.

I had to use the API to upload these images as it was causing a few issues doing it through the interface.

Any thoughts or anything I can check?

Posted

That seems like a lot of images to store in an image field.  Looks like there might soon be some improvements to the file/image fields to support pagination.  See https://processwire.com/blog/posts/fieldtype-pagination/

There is also a request at https://github.com/processwire/processwire-requests/issues/106 for image grid mode to not include the image thumbnails in the image field.  That could help performance client side, but I'm not sure off hand why the reordering of your image fields aren't working.

  • Like 1
Posted

I actually can't seem to edit anything on that page... even if I fill out a text field it resorts to whatever it was before.

Posted

Did you see @Robin S's post above about max_input_vars? Did you try that? Do you have $config->debug set to true for debugging? Error messages? Error message in the dev console?

  • Like 1
Posted
4 minutes ago, kongondo said:

Did you see @Robin S's post above about max_input_vars? Did you try that? Do you have $config->debug set to true for debugging? Error messages? Error message in the dev console?

Yep... increased as well as other stuff too. I've enabled debugging to true but not returning any messages :(

I can edit other pages... just not these ones I've uploaded the images to via the API.

Posted

I think it's definitely to do with the amount of images... I've managed to add a new page alongside it, and make changes to that fine. If I duplicate one of the pages which has a lot of images on it... I can't edit it.

Posted

Actually. My host said they updated the max_input_vars but they hadn't... so I just made this amend and seems to work!

Posted (edited)
2 minutes ago, oma said:

so I just made this amend and seems to work!

Sorted, then. Excellent. Please amend title of thread to reflect issue has been resolved.

Edited by kongondo
  • a-ok changed the title to Cannot reorder and save image order RESOLVED
Posted
1 minute ago, kongondo said:

Sorted, then. Excellent. Please amend title of thread to reflect issue has been resolved.

Done. Thanks everyone.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...