Jump to content

  •  

  • Tutorial info Visit support topic

    • Added on: Nov 19 2008 06:35 PM
    • Views: 1647
     


    * * * * *
    1 Ratings

    Bug fix: number of images on Bulk Upload by Zip File

    This tutorial will fix the bug on limiting imagens in an album by bulk upload (zip file).

    Posted by Adriano Faria on Nov 19 2008 06:35 PM
    If you allow Bulk Upload and limit number of images in an album, IP.Gallery always accept wrong numbers of imagens on a Zip File. If you set 10, it'll only accept 9.

    To fix this bug, open sources/components_public/gallery/post.php and find:

    				if( ( intval($ttl_images) + count($data) ) >= $this->ipsclass->member['g_img_album_limit'] )
    Change to:

    				if( ( intval($ttl_images) + count($data) ) > $this->ipsclass->member['g_img_album_limit'] )
    Reported and fixed on IP.Gallery 3.0.0! ;)

    Powered by Tutorials 1.4.1 © 2012, by Michael McCune