- Posts: 319
Question image size for upload
- mac.alter
- Topic Author
- Offline
- Senior Member
Mac.alter [update: 05 Aug 2024]
webtrees 2.1.20 | PHP Version 8.2 | mySQL mysqlnd 8.1.28 | MacOS 14.6 (Sonoma)
Please Log in or Create an account to join the conversation.
- bertkoor
- Offline
- Platinum Member
- Greetings from Utrecht, Holland
I resize to 900px height and let it proportion width. I save as PNG. Should I switch to JPEG with quality about 80-90%?
Do you know its size in kilobyte? Do you know of any upload limit in kilobytes?
If the file size was too large, then using image compression might make it fit.
But: you won't really know what's wrong until you inspect those pesky XHR request/response headers.
So I'd advice to go back to the developer tools of your browser. Use a less favourite one if you must, if that helps.
I mean, you did manage to upload pictures before, or not?
stamboom.BertKoor.nl runs on webtrees v2.1.20
Please Log in or Create an account to join the conversation.
- Franz Frese
- Offline
- Elite Member
I never said....Franz Frese says he sets size at 500MB....
I said: The largest image used at my site is 500 KiloByte (not Megabyte).
So even on a slow connection, you won't waste time waiting for a presentation of images and also the calculation of thumbs on the server saves ressources.
And I upload my files with a sftp app (that automatically synchronizes)
Please Log in or Create an account to join the conversation.
- fisharebest
- Offline
- Administrator
What values do you have for post_max_size and upload_max_filesize?
Greg Roach - greg@subaqua.co.uk - @fisharebest@phpc.social - fisharebest.webtrees.net
Please Log in or Create an account to join the conversation.
- mac.alter
- Topic Author
- Offline
- Senior Member
- Posts: 319
upload_max_filesize 1300M 1300M
Mac.alter [update: 05 Aug 2024]
webtrees 2.1.20 | PHP Version 8.2 | mySQL mysqlnd 8.1.28 | MacOS 14.6 (Sonoma)
Please Log in or Create an account to join the conversation.
- mac.alter
- Topic Author
- Offline
- Senior Member
- Posts: 319
Mac.alter [update: 05 Aug 2024]
webtrees 2.1.20 | PHP Version 8.2 | mySQL mysqlnd 8.1.28 | MacOS 14.6 (Sonoma)
Please Log in or Create an account to join the conversation.
- bertkoor
- Offline
- Platinum Member
- Greetings from Utrecht, Holland
Right-click: properties??
Show folder as list with attributes?
stamboom.BertKoor.nl runs on webtrees v2.1.20
Please Log in or Create an account to join the conversation.
- Franz Frese
- Offline
- Elite Member
www.webtrees.net/index.php/forum/help-fo...reply/103815?quote=1
=
mac.alter post=103815 userid=12994
...
The image is 1.8MB, the lower end of my headstone images, all which upload.
???
So I can imagine the file is not an image - file (only has that extension). Perhaps you can mail the file, to have a look at that to reproduce the error.
or disk limit at provider is reached, ...
Please Log in or Create an account to join the conversation.
- bertkoor
- Offline
- Platinum Member
- Greetings from Utrecht, Holland
One point three gigabyte? That's plenty...post_max_size 1300M 1300M
upload_max_filesize 1300M 1300M
With this ruled out you definitely need to look at those headers.
Hint: first open the dev tools of the browser. Then get to the dialog. Clear the list of network calls, then hit the submit button. This limits the list of calls to inspect.
stamboom.BertKoor.nl runs on webtrees v2.1.20
Please Log in or Create an account to join the conversation.
- mac.alter
- Topic Author
- Offline
- Senior Member
- Posts: 319
Mac.alter [update: 05 Aug 2024]
webtrees 2.1.20 | PHP Version 8.2 | mySQL mysqlnd 8.1.28 | MacOS 14.6 (Sonoma)
Please Log in or Create an account to join the conversation.
- Franz Frese
- Offline
- Elite Member
Kritik zurück: Dieser Beitrag bringt dich und uns (nach meiner Meinung) bezüglich der Lösung des Themas kein Stück weiter.I just upgraded MacOS to Sonoma which is a very big leap (about 3 generations) so will need to figure out Safari and will try again looking for XHR error. Of note, the FAQ should state what browser the instructions are written in, regardless of OS.
Please Log in or Create an account to join the conversation.
- nehakakar
- Offline
- New Member
Please Log in or Create an account to join the conversation.
- MartinM
- Offline
- New Member
This is a relatively new image format, that allows users to compress the weight of images, without losing quality. Important if, for example, you are adding the image of a Will or similar, with quite detailed text which can be difficult to read in a jpeg image.
Please Log in or Create an account to join the conversation.