Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Re: Increase image upload from 40
colak wrote #334871:
Maybe we should move the x to the bottom? The average user may not know of the escape key.
Or a combination of giving the message pane a max-height, and pinning the close button at a fixed point? Roughly:
.messagepane > span {
overflow: auto;
max-heigh: 80vh;
}
.close .ui-icon {
top: min(50% 20vh);
}
The message pane on Hive might need to some extra massaging.
Demo with Sandspace. I made the messagepane (much) shorter for demo purposes.
Last edited by phiw13 (2023-03-03 02:43:59)
Where is that emoji for a solar powered submarine when you need it ?
Sand space – admin theme for Textpattern
Offline
Re: Increase image upload from 40
Thanks for all your replies and testing. Very odd situation. Tried many times but it only ever uploads a maximum of 42. I have tried increasing post_max_size, upload_max_filesize and max_execution_time in the php settings but made no difference. I used to use the droploader plugin and worked fine but since I upgraded TXP to the latest version and change servers I can only get 42 to upload!
Offline
Re: Increase image upload from 40
Have you checked if the settings in Admin > Preferences >admin sub tab -> “Maximum file size of uploads (in bytes)”. It should reflect what php.ini tells, IIRC. – and that only applies to the individual object(image), I think.
Other thought: do you use any image related plugin that might interfere here?
Where is that emoji for a solar powered submarine when you need it ?
Sand space – admin theme for Textpattern
Offline
Re: Increase image upload from 40
phiw13 wrote #334897:
It should reflect what php.ini tells, IIRC.
That used to be the case, certainly…my understanding is it’s set to 2000000 bytes (see here for the code). If the PHP upload limit is higher (and anecdotally this is often the case) then putting some absurdly large value in that box (e.g. 999999999) and saving will bring the number up as far as it’s allowed (i.e. wot PHP sez) so you’re effectively at the red line.
Offline
Re: Increase image upload from 40
IIRC, txp max upload file size is not bound by php settings but by 9007199254740991
b, let 8192
Tb, which currently is the max safe JavaScript integer. Large files are sent in chunks to respect php limits.
Offline