Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#13 2023-03-03 02:42:09

phiw13
Plugin Author
From: Japan
Registered: 2004-02-27
Posts: 3,078
Website

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

#14 2023-03-03 10:36:00

miles
Member
From: Plymouth
Registered: 2008-05-22
Posts: 78
Website

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

#15 2023-03-04 01:00:02

phiw13
Plugin Author
From: Japan
Registered: 2004-02-27
Posts: 3,078
Website

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

#16 2023-03-04 10:21:45

gaekwad
Server grease monkey
From: People's Republic of Cornwall
Registered: 2005-11-19
Posts: 4,137
GitHub

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

#17 2023-03-04 10:56:51

etc
Developer
Registered: 2010-11-11
Posts: 5,053
Website GitHub

Re: Increase image upload from 40

IIRC, txp max upload file size is not bound by php settings but by 9007199254740991b, let 8192Tb, which currently is the max safe JavaScript integer. Large files are sent in chunks to respect php limits.

Offline

Board footer

Powered by FluxBB