Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #237014

    Hi,
    I have recently purchased Enfold. Thanks so much for such a robust theme.
    Have a question regarding the media library. I seem to have a lot of duplicates of all images when i view my media library (7 pages worth of images are listed). However I have a total of 44 image files on the server (viewing through FTP).
    Any help would be much appreciated.

    #237376

    Hi Edna!

    A single image is broken down or cropped into smaller thumbnails. The theme resizes the image and create smaller version of the thumbnails. You can find those thumbnail or image sizes on functions.php:

    $avia_config['imgSize']['widget'] 			 	= array('width'=>36,  'height'=>36);						// small preview pics eg sidebar news
    $avia_config['imgSize']['square'] 		 	    = array('width'=>180, 'height'=>180);		                 // small image for blogs
    $avia_config['imgSize']['featured'] 		 	= array('width'=>1500, 'height'=>430 );						// images for fullsize pages and fullsize slider
    $avia_config['imgSize']['featured_large'] 		= array('width'=>1500, 'height'=>630 );						// images for fullsize pages and fullsize slider
    $avia_config['imgSize']['extra_large'] 		 	= array('width'=>1500, 'height'=>1500 , 'crop' => false);	// images for fullscrren slider
    $avia_config['imgSize']['portfolio'] 		 	= array('width'=>495, 'height'=>400 );						// images for portfolio entries (2,3 column)
    $avia_config['imgSize']['portfolio_small'] 		= array('width'=>260, 'height'=>185 );						// images for portfolio 4 columns
    $avia_config['imgSize']['gallery'] 		 		= array('width'=>710, 'height'=>575 );						// images for portfolio entries (2,3 column)
    $avia_config['imgSize']['masonry'] 		 		= array('width'=>705, 'height'=>705 , 'crop' => false);		// images for fullscreen masonry
    $avia_config['imgSize']['entry_with_sidebar'] 	= array('width'=>710, 'height'=>270);		                 // big images for blog and page entries
    $avia_config['imgSize']['entry_without_sidebar']= array('width'=>1030, 'height'=>360 );						// images for fullsize pages and fullsize slider
    
    //overwrite blog and fullwidth image on extra large layouts
    if(avia_get_option('responsive_layout') == "responsive responsive_large")
    {
    	$avia_config['imgSize']['gallery'] 		 		= array('width'=>845, 'height'=>684 );					// images for portfolio entries (2,3 column)
    	$avia_config['imgSize']['entry_with_sidebar'] 	= array('width'=>845, 'height'=>321);		            // big images for blog and page entries
    	$avia_config['imgSize']['entry_without_sidebar']= array('width'=>1210, 'height'=>423 );					// images for fullsize pages and fullsize slider
    }

    It is quite normal for a wp installation to have different sizes for a single image.

    Best regards,
    Ismael

    #237724

    I understand that there will be many versions of a said image on the server but I also saw these versions listed in WordPress–> Media.
    So let’s say I had uploaded 5 images to the Media library and each image has 5 versions on the server with different file names. That’s fine right? But I also saw 25 images when I click on WordPress–>Media.
    I have had WordPress sites before and this was never the case. 5 images added to the media library would still show only 5 images.
    In any case I deleted everything and reinstalled. Thinking it might be because I imported the sample data twice? Now everything seems to be fine I am seeing just one version when clicking on Media Library.

    #238367

    Hi!

    No, that shouldn’t be the case. The media library doesn’t recognize the thumbnails generated with the WordPress function to create them so the ones in the media library aren’t thumbnails but are the same file(s) uploaded multiple times.

    Best regards,
    Devin

    #247224

    Thanks so much the topic can be closed. :)

Viewing 5 posts - 1 through 5 (of 5 total)
  • The topic ‘image library’ is closed to new replies.