Viewing 30 results - 8,971 through 9,000 (of 10,094 total)
  • Author
    Search Results
  • #202398

    Hey!

    Please watch this video to learn more about the masonry element: http://vimeo.com/channels/aviathemes/77433498

    The demo uses images larger than 1030×360 for the blog overview page. You can find the thumbnail sizes on functions.php, look for these codes:

    $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']['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

    Best regards,
    Ismael

    #202125
    lizybloom
    Participant

    Hi. I don’t know if this questions is for Enfold, or Woo. But either way, I can’t figure it out. I would like help with two similar things: Making the product images on my main shop page and also my related products smaller and a tad more spread out. Here is what it looks like now: http://lizybloomdesigns.com/zemasfoods.com/madhouse-shop/

    I have tried changing the size of the images in woocommerce and regenerating my thumbnails, but nothing seems to work. I know I am just missing something silly.

    Thanks for any help.

    Lizy Bloom

    #202117

    Thanks for the reply Ismael!

    Here is the shortcode I am using,

    [av_blog blog_type='posts' link='category' blog_style='single-small' columns='3' contents='excerpt' content_length='excerpt' preview_mode='custom' image_size='thumbnail' items='5' offset='0' paginate='yes']

    Here is what it looks like with a sidebar, http://postimg.org/image/lcgd4j989/

    And here is what it looks like without a sidebar, http://postimg.org/image/hr2ky0t4n/

    The shortcode is the same on both pages except for pagination and number of posts.

    • This reply was modified 12 years, 3 months ago by Yeowza.
    #202109

    Hi!

    You are welcome! Let us know if you have any other questions or issues

    Best regards,
    Yigit

    #202105

    You were right !!
    Everything is OK now, thanks for your help

    Regards,

    #202027

    Hey Lilipie!

    Please add following code to Quick CSS
    1)

    .avia_socialcount a { float: left; clear: both; }

    2)

    .image_size_widget .news-thumb {
    height: 50px;
    width: 50px;
    }
    .image_size_widget .news-thumb img {
    width: 46px;
    height: 46px;
    }

    Please adjust the values as needed

    Best regards,
    Yigit

    #202005
    Lilipie
    Participant

    Hi

    1) I would like the Twitter and RSS to be in a vertical line instead of horizontal (side by side) like this http://i.imgur.com/E5QKctr.jpg. But I can’t work out the CSS.

    2) Also.. Could you tell me how to make the news.thumbs (latest news widget) thumbnails slightly larger.

    Many thanks

    • This topic was modified 12 years, 3 months ago by Lilipie.

    Hi!

    WordPress will not include the avia_config thumbnail sizes in the “insert image” dropdown but it will only list them on theme option pages (i.e. template/layout builder, etc.). You can try to use this plugin though: http://wordpress.org/plugins/simple-image-sizes/ which registers the thumbnail sizes in a different way

    Cheers!
    Peter

    #201976

    Thanx Devin, I’ll try that. Cheers!

    #201959

    Hey!

    Yes, there are a number of areas that use the thumbnails generated so that visitors get a faster and better response when viewing the site. If you really don’t want them created you can try deleting them from the functions.php but I really can’t say what effect this will have on the front end of the site since not all image output has css constraints though the majority does.

    You’ll be looking for:
    $avia_config['imgSize']['widget'] = array('width'=>36, 'height'=>36);
    etc.

    Cheers!
    Devin

    #201913

    Did that. Then deleted all the images I had uploaded (via sFTP) and uploaded them again, and the thumbnails were still created. The media library of images is about 15megs for the whole site, but with these thumbnails it skyrockets to 75mb

    Any other ideas? Does Enfold use / create thumbnails automatically outside of WordPress? Kind of at a loss for what to try next.

    #201887

    Hi Michae1!

    Go to Settings > Media and uncheck “Crop thumbnail to exact dimensions (normally thumbnails are proportional)”

    Cheers!
    Josue

    Hey!

    You are welcome! Glad we could help. Let us know if you have any other questions or issues

    Cheers!
    Yigit

    Problems solve…thk

    #201473
    Michae1
    Participant

    How can I prevent the thumbnail versions from being created? I’m not using any of those features, and there are about 8 versions created for each image I upload. I’d like to just delete those to free up space and entries in the DB.

    #201456

    Hi!

    Ok, the problem is that WooCommerce doesn’t use the description field. To fix the issue add following code to functions.php

    
    if(!function_exists('avia_woocommerce_post_thumbnail_description'))
    {
    	add_filter('woocommerce_single_product_image_html','avia_woocommerce_post_thumbnail_description', 10, 2);
    	function avia_woocommerce_post_thumbnail_description($img, $post_id)
    	{
    		global $post, $woocommerce, $product;
    
    		if(has_post_thumbnail())
    		{
    			$image_title = esc_attr(get_post_field('post_content', get_post_thumbnail_id()));
    			$image_link  = wp_get_attachment_url( get_post_thumbnail_id() );
    			$image  = get_the_post_thumbnail( $post->ID, apply_filters( 'single_product_large_thumbnail_size', 'shop_single' ), array(
    				'title' => $image_title
    				) );
    			$attachment_count = count( $product->get_gallery_attachment_ids() );
    
    			if ( $attachment_count > 0 ) {
    				$gallery = '[product-gallery]';
    			} else {
    				$gallery = '';
    			}
    
    			return sprintf( '<a href="%s" itemprop="image" class="woocommerce-main-image zoom" title="%s"  rel="prettyPhoto' . $gallery . '">%s</a>', $image_link, $image_title, $image);
    		}
    
    		return $img;
    	}
    }
    
    if(!function_exists('avia_woocommerce_gallery_thumbnail_description'))
    {
    	add_filter('woocommerce_single_product_image_thumbnail_html','avia_woocommerce_gallery_thumbnail_description', 10, 4);
    	function avia_woocommerce_gallery_thumbnail_description($img, $attachment_id, $post_id, $image_class )
    	{
    			$image_link = wp_get_attachment_url( $attachment_id );
    
    			if(!$image_link) return $img;
    
    			$image = wp_get_attachment_image( $attachment_id, apply_filters( 'single_product_small_thumbnail_size', 'shop_thumbnail' ) );
    			$image_title = esc_attr(get_post_field('post_content', $attachment_id));
    
    			$img = sprintf( '<a href="%s" class="%s" title="%s"  rel="prettyPhoto[product-gallery]">%s</a>', $image_link, $image_class, $image_title, $image );
    
    		return $img;
    	}
    }
    

    and in /wp-content/themes/enfold/config-woocommerce/woocommerce-mod.js remove

    
        $('.single-product-main-image .images a').each(function(index,value){
            var $this = $(this),
                title = $this.attr('title'),
                img = $this.find('img'),
                description = img.attr('alt');
    
                $this.attr('title', description);
                img.attr('alt', title);
        });
    

    We’ll update this with the next theme version.

    Best regards,
    Peter

    GRAPHICpilot
    Participant

    Hi guys…

    What is your recommended way to add additional crop sizes for Enfold upon upload into the media library?

    I’m trying to do it via this method in my child theme’s functions.php but it’s not working when I initiate the Regenerate Thumbnails plugin’s process (entire functions.php below):

    <?php
    
    /*
    * Add your own functions here. You can also copy some of the theme functions into this file. 
    * WordPress will use those functions instead of the original functions then.
    */
    
    /* Excerpt Length */
    function new_excerpt_length($length) {
        return 50;
    }
    add_filter('excerpt_length', 'new_excerpt_length');
    
    /* Additional Image Sizes by KB */
    
    add_image_size( 'small-size-p', '300', '400', true ); /* portrait */
    add_image_size( 'small-size-l', '400', '300', true ); /* landscape */
    
    ?>

    Would you suggest a plugin or function?

    Thanks in advance!

    GRAPHICpilot

    #200967

    Hi!

    Comment line 39 on single.php to turn it off:

    //get_template_part( 'includes/related-posts');
    

    Regarding the thumbnail issue, try re-generating them with this plugin: http://wordpress.org/plugins/regenerate-thumbnails/

    Regards,
    Josue

    #200595

    Hey PPCHound!

    Yes – open up /wp-content/themes/enfold/includes/loop-index.php and replace

    
            //on single page replace the link with a fullscreen image
            if(is_singular())
            {
                $link = avia_image_by_id(get_post_thumbnail_id(), 'large', 'url');
            }
    

    with

    
            //on single page replace the link with a fullscreen image
            if(is_singular())
            {
                $link = avia_image_by_id(get_post_thumbnail_id(), 'large', 'url');
            }
    
            $external_link = get_post_meta($the_id, 'external_url');
            if($external_link) $link = $external_link;
    

    Cheers!
    Peter

    #200324

    In reply to: Blog image thumbnails

    Hi!

    Glad you fixed it. :)

    Regards,
    Ismael

    #200286

    In reply to: Blog image thumbnails

    Sorry, I think I just figured it out with this CSS,

    .small-preview img { min-height: 81px !important; }

    I’m not sure if that is the best way to do it but it looks good.

    [edit] – Also to other users with same question I found that you can set the image size 80 x 80 with the blog shortcode but when you use the regular blog setting the images do not resize so make sure to use the blog shortcode.

    • This reply was modified 12 years, 3 months ago by Yeowza.
    #200284

    Topic: Blog image thumbnails

    in forum Enfold
    Yeowza
    Participant

    Hello, can someone show me how to use the blog thumbnails?

    [edited]

    It looks like the container is 81 x 81 but my images do not fill it.

    • This topic was modified 12 years, 3 months ago by Yeowza.
    #200124

    In reply to: related posts

    Hi!

    By default, 8, you can change that and other settings in this file: includes/related-posts.php (line 13-16).

    The relationship is based on Tags.

    The image is the thumbnail image defined in the Post edit page.

    Regards,
    Josue

    #199937
    This reply has been marked as private.
    #199827

    Hi!

    Can you please list the thumbnail sizes that is not resizing correctly? A link to each page with thumbnail issue will help.

    Regards,
    Ismael

    #199806

    hi ok it seems the image library has been loaded correctly

    so the original questions still stands,
    it is not JUST the thumbnails.. as asked previously, all the images do not resize to the size selected

    1. what size should i upload all images in ?
    2. do they all have to be uploaded at the same size ?
    3. i was under the impression that regardles of the size they have been uploaded at, they should fit the size selected. I only made these selections from the options your theme provides. Thus,as they are not resizing, do ih ave to manually resize them ?

    thanks
    Anu

    #199620

    Topic: related posts

    in forum Enfold
    kls1138
    Participant

    hello,

    we are considering the use of the enfold related posts feature. can you direct me to some information pertaining to how the feature works? if not, can you please answer the following questions?

    how many related posts are displayed?

    can the number of related posts be controlled (specifically, can we set it to display 5)?

    how does it choose which related posts to display (ie if there are 10 possible posts, does it select at random, or always show the same posts?)

    where does it pull the related post image from? can it be set to pull the featured thumbnail image for the post as defined in the wordpress image library?

    my apologies, but we’d like to have an idea of this before we undertake the arduous task of redefining our tag structure to work with the feature.

    thanks!!!!

    #199618
    vinvalentino
    Participant

    Everything was working just fine when it suddenly stopped attaching properly images or setting as featured.

    Actually there are the following certain symptoms:
    -When creating a new post:
    1.via the add Media button process i select and upload a new image with the thumbnail showing properly and when i press insert into post/insert gallery a blank media box appears in the post’s textbox.
    2.when i try to set a new featured image (one that is newly uploaded or one of the old images) the bottom right ‘set featured image’ widget looks like no image is selected or set. I click “set as featured image” and the modal closes but the image never appears.
    -When I try to browse my Media>Library any newly uploaded image is blank with no thumbnail available and no image file appearing when clicking view (via the ‘domain/?attachment_id=…’ link).
    -When browsing my ftp server directory or typing the url ‘domain/wp-content/uploads/2013/3/image.jpg’ the images are appearing just fine.
    -Any images that I upload I can see in the media browser but their thumbnails there aren’t cropped like normal, it’s a thumbnail of the entire image where normally (and previously uploaded images) it’s cropped. They also don’t have pixel dimensions listed like other images do.

    This is causing a major problem on a busy e-commerce site. I’ve seen others with the same issue who said it was fixed when they disabled the “Advanced Custom Fields” plugin, but I don’t have that plugin.

    I did not make any changes to anything, no new plugins, no updates. It worked fine in one product listing, then I went to the next one and it stopped and now won’t work for any.

    I’m wondering if the advanced custom fields plugin or something similar is integrated into the theme and could be causing this strange issue.

    #199570

    In reply to: AJAX Gallery in Posts

    Hey!

    In WordPress dashboard please go to Settings > Media and increase image sizes then regenerate thumbnails using this plugin http://wordpress.org/plugins/regenerate-thumbnails/

    Regards,
    Yigit

    #199490

    Hi!

    You can use this plugin: http://wordpress.org/plugins/wp-resized-image-quality/ to change the thumbnail quality of the uploaded images – i.e. you can set the compress quality level to 100% for the best jpg compression quality.

    The images should re-size properly if
    1) The gdimage library is installed: http://www.php.net/manual/en/book.image.php (otherwise wordpress can’t generate the thumbnails)
    2) The original image dimension (WIDTH AND HEIGHT) exceed the thumbnail size. If i.e. the width/height of the original image is smaller than the defined thumbnail width/height wordpress won’t generate a thumbnail version of the image.

    Regards,
    Peter

Viewing 30 results - 8,971 through 9,000 (of 10,094 total)