2.0 Gallery - Language - 'gallery.image.upload.limits'

  • From:

    Code
    Images can be up to {@$__wcf->session->getPermission('user.gallery.maxSize')|filesize} each with the file extensions {@$allowedFileExtensions}. Minimum dimensions are {#GALLERY_IMAGE_MIN_WIDTH}×{#GALLERY_IMAGE_MIN_HEIGHT} pixel up to a maximum of {#$__wcf->session->getPermission('user.gallery.maxWidth')}×{#$__wcf->session->getPermission('user.gallery.maxHeight')} pixel. You can upload images using a Zip-, Tar- or Gzip-archive. You can upload up to {#($__wcf->session->getPermission('user.gallery.maxImages') - $userImageCount)} images with a maximum total disk usage of {@($__wcf->session->getPermission('user.gallery.quota') - $usedQuota)|filesize}.


    To:


    Code
    Images can be up to {@$__wcf->session->getPermission('user.gallery.maxSize')|filesize} each with the file extensions {@$allowedFileExtensions}. Minimum dimensions are {#GALLERY_IMAGE_MIN_WIDTH}×{#GALLERY_IMAGE_MIN_HEIGHT} pixel up to a maximum of {#$__wcf->session->getPermission('user.gallery.maxWidth')}×{#$__wcf->session->getPermission('user.gallery.maxHeight')} pixel. You can upload images using a Zip-, Tar- or Gzip-archive. You can upload up to {#($__wcf->session->getPermission('user.gallery.maxImages') - $userImageCount)} images with a maximum total disk usage of {@($__wcf->session->getPermission('user.gallery.quota') - $usedQuota)|filesize}. Keep in mind in order for your images to display in the gallery slider, they need to be 1200 x 900 px as minimum.


    Then users will know the minimum size image to upload in order to appear and be shown in gallery slider...Or however it's best worded, not sure on that. But a lot of users just upload various sized images and expect it to display in slider, then post threads here about it and aren't sure the minimum size in order to display in slider. With this little change, at least there is a little heads up / warning for them to see it.


    Edit: Or has this already been implemented and I didn't know it, because I don't have gallery 2.1 update yet? Re thread: Gallery Slider Preview Images Not Displaying - (wbb 4.1 beta 4) - FIXED Lol.


    Edit 2: Oh wait, I'm gallery 2.0 yet I forgot, I was posting this for 2.0 Gallery and I'm assuming it's implemented in 2.1 Gallery? But has this been changed in gallery 2.0, I didn't notice it...

    Edited 3 times, last by Smooey ().