Use INI value for max artwork upload size

This commit is contained in:
Alex Cabal 2025-05-04 22:33:44 -05:00
parent 6fd557c2df
commit 7e3566ec93

View file

@ -78,7 +78,7 @@ $isEditForm ??= false;
</label>
<label>
<span>High-resolution image</span>
<span>jpg, bmp, png, and tiff are accepted; <?= number_format(ARTWORK_IMAGE_MINIMUM_WIDTH) ?> × <?= number_format(ARTWORK_IMAGE_MINIMUM_HEIGHT) ?> minimum; 96MB max.<? if($isEditForm){ ?> Leave this blank to not change the image.<? } ?></span>
<span>jpg, bmp, png, and tiff are accepted; <?= number_format(ARTWORK_IMAGE_MINIMUM_WIDTH) ?> × <?= number_format(ARTWORK_IMAGE_MINIMUM_HEIGHT) ?> minimum; <?= HttpInput::GetMaxPostSize() / 1024 / 1024 ?>MB max.<? if($isEditForm){ ?> Leave this blank to not change the image.<? } ?></span>
<input
type="file"
name="artwork-image"