Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
  • #4484

    I hope there is a way to customize this. After uploading 5 images the upload folder is already 6.5 megs. This is not acceptable as 1000 images will mean a folder with 17.000 images in it. You GOT to make this less of a space gobbler. When you upload images to a gallery they only need to be two sizes:

    – thumbnail

    – full size

    I understand what you are trying to do but 17 versions?



    WordPress’ Featured Image function automatically resizes images which are uploaded so they are available at the correct size for placement within the theme. The sizes to be generated are defined by a themes functions.php file.

    In BrightBox, 6 image sizes are defined (near the top of functions.php) – this is the code which generates them:

    $avia_config['imgSize']['widget'] 		= array('width'=>48,  'height'=>48 );		// small preview pics eg sidebar news
    $avia_config['imgSize']['archive'] = array('width'=>230, 'height'=>80); // medium preview pic for archives
    $avia_config['imgSize']['portfolio'] = array('width'=>243, 'height'=>125); // medium preview pic for portfolio
    $avia_config['imgSize']['blog'] = array('width'=>574, 'height'=>200); // image for blog posts
    $avia_config['imgSize']['page'] = array('width'=>726, 'height'=>250); // image for pages
    $avia_config['imgSize']['featured'] = array('width'=>978, 'height'=>99999); // big images for fullsize pages and mainpage slider. no height limitation

    There shouldn’t be 17 images for each image you upload; there should be the original plus the 6 defined above so a total of 7. If you are getting extra images, have you adjusted the code to include more images, or activated any plugins which affect the images?



    No this was a new install on new server. I get


















    Hey! Actually James is not 100% correct in this case. When opening the functions.php you wil in fact see that the theme has pre registered 15 different sizes. This is unfortunatley necessary for the template builder column to work with any combination of columns and preview images.

    However you can remove any number of these pre registered sizes if you dont need them as stated in the comment. you can also remove different portfolio sizes if you dont intend do use them.

    I guess the minimum setup should contain sizes for: widgets, related posts, one portfolio size, the size for default pages and one size for your feature slider of choice (either featured, tablet_3D_welcome or portfolio2). That leaves you with only 4-5 thumbs created.

    Since most people use only a very limited number of images my approach was to pre register everything necessary for every possible setting and then tell people how to remove thumbs if they really dont need them. Hope the solution provided is satisfying for you :)

Viewing 4 posts - 1 through 4 (of 4 total)

The topic ‘The theme creates 17 images for each image upload? Really’ is closed to new replies.