Viewing 30 results - 6,571 through 6,600 (of 10,099 total)
  • Author
    Search Results
  • Hi!

    Add this in the functions.php file:

    #
    # removes the default post image from shop overview pages and replaces it with this image
    #
    function avia_woocommerce_thumbnail_mod($asdf)
    {
    	global $product, $avia_config;
    	$rating = $product->get_rating_html(); //get rating
    
    	$id = get_the_ID();
    	$size = 'shop_catalog';
    
    	echo "<div class='thumbnail_container'>";
    		echo avia_woocommerce_gallery_first_thumbnail( $id , $size);
    		echo get_the_post_thumbnail( $id , $size );
    		if(!empty($rating)) echo "<span class='rating_container'>".$rating."</span>";
    		if($product->product_type == 'simple') echo "<span class='cart-loading'></span>";
    	echo "</div>";
    }
    
    add_action( 'woocommerce_after_single_product_summary', 'avia_woocommerce_thumbnail_mod' );
    remove_action( 'woocommerce_before_single_product_summary', 'woocommerce_show_product_images', 20 );
    remove_action( 'woocommerce_before_shop_loop_item_title', 'avia_woocommerce_thumbnail', 20);

    Cheers!
    Ismael

    #455550

    Topic: Gallery thumbnails

    in forum Enfold
    richardwilding
    Participant

    Dear Kriesi,

    I am using the gallery item to create image slideshows with large preview and thumbnails underneath, linking to a lightbox for full size images, as shown on this sample portfolio item:

    http://www.gulan.org.uk/wordpress/portfolio-item/the-colours-of-kurdistan/

    Rather than having thumbnails stack up on multiple rows under the large preview image, do you have a way to use scrolling thumbnails more like this example:

    http://www.loeildelaphotographie.com/2015/06/06/the-eye-of-readers/28230/jules-toulet-local-impact-of-a-global-change

    Also, how could I use thumbnails in their original aspect ratio, standardised on the same height, rather than cropping them all square?

    Thanks, Richard

    #455498
    This reply has been marked as private.
    #455442

    Hi!

    You can add this to the functions.php file:

    add_filter( 'image_size_names_choose', 'avia_add_selectable_images' );
    function avia_add_selectable_images($sizes) {
    	$newsize = array (
    		'masonry' => __('Masonry Thumbnail','avia_framework'),
    		'magazine' => __('Magazine Thumbnail','avia_framework')
    	);
    
    	if(isset($newsize))
    	{
    		$sizes = array_merge($sizes, $newsize);
    	}
    
    	return $sizes;
    }

    Add existing thumbnail sizes.

    Cheers!
    Ismael

    #455240

    In reply to: Responsive image size

    Hi!

    Hmm, not sure if it would be feasible or not. Mobile devices have a very wide range of screen sizes so the amount of thumbnails that you would need to create would be fairly large. I’m not sure how it would display on retina screens either.

    Regardless it would take a lot of time and code to add in so it would have to be considered custom work. You could hire a freelancer or create a feature request here, https://kriesi.at/support/enfold-feature-requests/, and if it gets enough interest we may see something get added in a future update.

    Best regards,
    Elliott

    • This reply was modified 10 years, 10 months ago by Elliott.
    #455035

    Hey!

    The “2014 JobsCentral” displayed the correct product thumbnail when I checked it on my iPod, safari browser. Is this the only product getting mismatched product image?

    Regards,
    Ismael

    #454963

    Hi!

    Those speed tests force you to use the exact thumbnail size proportionate to their intended size in the browser or container which, in most cases, will compromise the image quality, ratio and proportion. This is not viable when you’re working on responsive containers such as the portfolio grid. However, you can still resize the thumbnails to ensure that the number of unnecessary pixels is minimal, and that your large assets in particular are delivered as close as possible to their display size. You can do that by editing the theme’s preset thumbnail sizes on functions.php:

    $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

    Cheers!
    Ismael

    #454923

    In reply to: Blog Post IMAGES

    Hi!

    Yes, that is an option if you want to set the featured image manually. If you want to use the default featured image option and get the actual image size, you can resize the blog image thumbnail. Edit function.php, look for this code:

    $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

    Adjust the width and height and then regenerate or upload the images as featured image again.

    Cheers!
    Ismael

    #454897

    Hi,

    I’d like to use portfolio post types with the Masonry element, to create the Masonry Portfolio. How is this done?

    Under the Masonry content element, I don’t see an option for Portfolio entry (as shown in your 2013 instructional video). I’m using Enfold 3.1.4.

    Like the user above, once a masonry thumbnail is clicked, I’d like for it to open the portfolio entry.

    Thanks!

    oberton
    Participant

    In a recent install of Enfold post slider and post grid both correctly display tribe events (the events calendar) in the order of event dates and display the events date under the thumbnail. But in an different older installation it sorts by event date but displays the creation date of the post. I can’t find the fault.

    #454707
    charger70
    Participant

    did the update, tried to upload an image through avia, then by the regular media add file – both are now broken. here is the error:

    Fatal error: Maximum execution time of 30 seconds exceeded in /home/content/12/4178712/html/wp-includes/class-wp-image-editor-imagick.php on line 360

    i DO see the images in the media gallery afterwards, but they behave as though they are full-size only (slow image draw for the thumbnails in the gallery view), meaning Enfold is not properly creating thumbnails.

    i have to use regenerate thumbnails to create them.

    pretty urgent fix needed here. I will not update any of my other enfold sites until this is resolved. and yes, i deactivated all plugins and still the problem persists. the file size of the image is less than 500K, if that matters.

    thanks in advance…

    #454623

    Hi Bill!

    Please go to Appearance > Editor and open Functions.php file and find

    
    $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'=>845, 'height'=>684 );						// images for portfolio entries (2,3 column)
    $avia_config['imgSize']['magazine'] 		 	= array('width'=>710, 'height'=>375 );						// images for magazines
    $avia_config['imgSize']['masonry'] 		 		= array('width'=>705, 'height'=>705 , 'crop' => false);		// images for fullscreen masonry
    $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 );		

    and change as needed. Then please regenerate thumbnails using this plugin – https://wordpress.org/plugins/regenerate-thumbnails/

    Cheers!
    Yigit

    #454604

    Sorry for the delay in response, but I am just now testing the code and unfortunately it didn’t work.
    The Tucker gallery with thumbnails still won’t work.

    #454589
    mijyman
    Participant

    Hi there,

    The masonry element is working properly on my phone and desktop but on tablets I only get the sorting option without thumbnails – once I clicked on one of the sorting options, it starts to work but not initially:

    whitestagweddings.com/wedding-portfolio-kent

    I hope someone can provide an easy fix to the problem :)

    Many thanks

    #453995
    tese
    Participant

    Hallo ihr Lieben,

    wahrscheinlich sind es einfach zu viele Antworten zu diesem Thema, denn trotz meiner Sucher hier im Support konnte ich nichts finden.

    Ich möchte gerade meine Portfolio thumbnails wechseln lassen, wenn ich mit der Maus über das jeweilige Bild fahre.
    Wenn das Bild angeklickt wird, soll sich eine AjaxVorschau öffnen.
    Soweit konnte ich leider nichts im Support oder im Theme direkt finden.

    Ich danke Euch – viele liebe Grüße
    Phillip

    #453987
    vree
    Participant

    Is there a way for me to just have the next and previous arrow with thumbnail only.. and have it always expanded?

    Also I can’t seem to get rid the comments section below the post. I’ve changed the setting/discussion to not allow comments, but it doesn’t seem to going away.

    Thanks,

    Jon

    #453866

    In reply to: Portfolio Arrows issue

    Hi!

    Delete the functions-enfold.php file in the child theme and then try to copy the whole avia_post_nav function in the child theme’s functions.php file:

    function avia_post_nav($same_category = false, $taxonomy = 'category')
    	{
    		global $wp_version;
    	        $settings = array();
    	        $settings['same_category'] = $same_category;
    	        $settings['excluded_terms'] = '';
    			$settings['wpversion'] = $wp_version;
    
    		//dont display if a fullscreen slider is available since they overlap
    		if((class_exists('avia_sc_layerslider') && !empty(avia_sc_layerslider::$slide_count)) ||
    			class_exists('avia_sc_slider_full') && !empty(avia_sc_slider_full::$slide_count) ) $settings['is_fullwidth'] = true;
    
    		$settings['type'] = get_post_type();
    		$settings['taxonomy'] = ($settings['type'] == 'portfolio') ? 'portfolio_entries' : $taxonomy;
    
    		if(!is_singular() || is_post_type_hierarchical($settings['type'])) $settings['is_hierarchical'] = true;
    		if($settings['type'] === 'topic' || $settings['type'] === 'reply') $settings['is_bbpress'] = true;
    
    	        $settings = apply_filters('avia_post_nav_settings', $settings);
    	        if(!empty($settings['is_bbpress']) || !empty($settings['is_hierarchical']) || !empty($settings['is_fullwidth'])) return;
    
    	        if(version_compare($settings['wpversion'], '3.8', '>=' ))
    	        {
    	            $entries['next'] = get_previous_post($settings['same_category'], $settings['excluded_terms'], $settings['taxonomy']);
    	            $entries['prev'] = get_next_post($settings['same_category'], $settings['excluded_terms'], $settings['taxonomy']);
    	        }
    	        else
    	        {
    	            $entries['next'] = get_previous_post($settings['same_category']);
    	            $entries['prev'] = get_next_post($settings['same_category']);
    	        }
    
    		$entries = apply_filters('avia_post_nav_entries', $entries, $settings);
            $output = "";
    
    		foreach ($entries as $key => $entry)
    		{
                if(empty($entry)) continue;
    			$the_title 	= isset($entry->av_custom_title) ? $entry->av_custom_title : avia_backend_truncate(get_the_title($entry->ID),75," ");
    			$link 		= isset($entry->av_custom_link)  ? $entry->av_custom_link  : get_permalink($entry->ID);
    			$image 		= isset($entry->av_custom_image) ? $entry->av_custom_image : get_the_post_thumbnail($entry->ID, 'thumbnail');
    
                $tc1   = $tc2 = "";
                $class = $image ? "with-image" : "without-image";
    
                $output .= "<a class='avia-post-nav avia-post-{$key} {$class}' href='{$link}' >";
    		    $output .= "    <span class='label iconfont' ".av_icon_string($key)."></span>";
    		    $output .= "    <span class='entry-info-wrap'>";
    		    $output .= "        <span class='entry-info'>";
    		    $tc1     = "            <span class='entry-title'>{$the_title}</span>";
    if($image)  $tc2     = "            <span class='entry-image'>{$image}</span>";
                $output .= $key == 'prev' ?  $tc1.$tc2 : $tc2.$tc1;
                $output .= "        </span>";
                $output .= "    </span>";
    		    $output .= "</a>";
    		}
    		return $output;
    	}

    Regards,
    Ismael

    #453850

    Hey!

    If you want to add all thumbnails in the drop down list, you can edit functions.php. Look for this code:

    $avia_config['selectableImgSize'] = array(
    	'square' 				=> __('Square','avia_framework'),
    	'featured'  			=> __('Featured Thin','avia_framework'),
    	'featured_large'  		=> __('Featured Large','avia_framework'),
    	'portfolio' 			=> __('Portfolio','avia_framework'),
    	'gallery' 				=> __('Gallery','avia_framework'),
    	'entry_with_sidebar' 	=> __('Entry with Sidebar','avia_framework'),
    	'entry_without_sidebar'	=> __('Entry without Sidebar','avia_framework'),
    	'extra_large' 			=> __('Fullscreen Sections/Sliders','avia_framework'),
    );
    

    Above that, you can find the list of thumbnails available in the theme. You can register the other thumbnails in the $avia_config[‘selectableImgSize’] array.

    Best regards,
    Ismael

    #453234

    Hey scotthco!

    How big is the image that your uploading? If for example it’s only 400 x 400 then only the “Thumbnail” and “Medium” sizes will be selectable. If you upload a larger image then you should be able to use the other sizes as well.

    Cheers!
    Elliott

    #452566

    Hey!

    O WordPress’in genel resim boyutlari icin, o ayarlari degistirmenize gerek yok. Araclar > Regenerate Thumbnails bolumune gidip ordan “regenerate thumbnails” butonuna tiklamaniz lazim :)

    Regards,
    Yigit

    #452505

    Merhabalar

    WooCommerce > Settings > Products > Display alanina giderek urun resim boyutlarini degistirebilirsiniz. Sonrasinda lutfen bu eklentiyi kullanarak gorsellerin boyutlarini yeni girdiginiz boyutlara cevirin – https://wordpress.org/plugins/regenerate-thumbnails/

    Best regards,
    Yigit

    #452236
    Neal
    Participant

    Hello. How can I completely remove the left and right arrows which appear on the sides of every post?

    I managed to hide them using some CSS I found on here .#top .avia-post-nav { display: none; }

    But all this does is hide them, not remove the feature. The thumbnails which would usually appear when you mouse over the arrows are still loading on every page. How do I turn this feature off entirely so that i’m not wasting bandwidth loading these thumbnails?

    Thanks.

    #452233

    Update about this problem.
    So, most of the products were imported from another woocommerce installation. And thumbnails of the imported products were square-cropped. New products were rectangular-cropped. Seems there was a cache for the old product thumnails. When i regenerate the “old” thumbnails, there are rectangular-cropped.

    So, this problem is resolved. Thanks.

    • This reply was modified 10 years, 10 months ago by ouranos3.
    #451851
    ouranos3
    Participant

    Hi Enfold support team,

    I’ve got a problem with my related products image size. Are not they supposed to all be “square” cropped ?
    Some of them are (the old ones). But every time i add a new product, its related product thumbnail is rectangular. You can see it here :
    http://carolineart.fr/anvertdudesignfr/produit/fourmi-customisee-n4-test/

    All images are large enough (in pixels) to be cropped by the script.

    You may have to refresh the page several times to display a “rectangular thumbnail” in the related products.

    Any idea about this behaviour ?

    Thanks for your help.

    #451492
    rmatene
    Participant

    Latest Enfold installed, no other plugins activated.

    While Woocommerce is ACTIVATED I experience the following problems:
    Mega Menu: doesn’t expand correctly, incorrect colours
    Full width slider layout element: images won’t display at all, no navigation items
    Animations: Icons, Icon Lists, thumbnails, images will not animate, NO maps on contact pages, NO maps on Event Calendar (Modern Tribe) pages, image hotspots and hotspots are missing (incidentally, the hotspots are rectangular when woocommerce IS NOT activated and after a fresh install)
    Product slider layout element: doesn’t show navigation or products images (front page)

    …..amoungst many others

    I have since re-installed wordpress 4.2.2 and enfold 3.1.5, re-installed the js files via FTP, and with only Woocommerce 2.3.9 active, and I still have the same problems. I also have the “shop theme” version of enfold installed, just to see if the same problems were experienced on a version dedicated to integrating with woocommerce. I tried to roll back the version of woocommerce to 2.3.4, and that didn’t help either since the same things were occurring.

    I have only seen one other forum entry closely related to the above, in that woocommerce breaks their site. But not to the same extent, or even the same symptoms. These only started happening after I updated woocommerce 2.3.8 to 2.3.9.

    #451343
    claraelisa
    Participant

    Hi

    When i give an answer in the blog my thumbnail is empty (gray male icon). Where do i set a custom thumbnail that can be seen by my users in all my answers?

    Thanks

    #451116

    Hi!

    Add this in the Quick CSS field to fix the thumbnails:

    .lightbox {
      position: relative !important;
    }

    The lightbox plugin overrides the default thumbnail style.

    Regards,
    Ismael

    Hey!

    Try the following:
    1. Install this plugin: https://wordpress.org/plugins/simple-image-sizes/
    2. Go to Settings > Media
    3. Change the entry_with_sidebar image size to your needs.
    4. Regenerate the thumbnails by clicking the button at the bottom.

    Regards,
    Josue

    #450722

    Elliott, sorry for the late reply, busy getting the site up and going.

    So you can see the issues, I’ve reactivated the plugin. right now I found another plugin to manage tabs. Its a bit basic but doesn’t have any conflicts.

    If you look at the homepage about half way down you will see on the left the enfold gallery that loads the thumbnails on top the main image. If I deactivate the Products Tab plugin this is solved.

    Check it out here

    Also you can see the screenshot here:

    Hi Josue,

    Yes, I’ve followed all of those steps.

    1) Catalog images are set to ‘400 x 400’ on the page you’ve mentioned.
    2) I have the regenerate thumbnails plugin installed.
    3) I have regenerated the thumbnail for this category: http://colegmedicoarroyito.com.ar/especialidad/alergia/ as a test.

    Nothing is happening, catalog thumbs remain displayed as a rectangle for NEW images. It is like the Enfold (Child) theme is auto resizing / cropping the new category images to 730 x 277 pixels, which I haven’t set anywhere in the theme.

    What else could be causing this problem?

    Thanks,

    Best regards,

    Nathalie

Viewing 30 results - 6,571 through 6,600 (of 10,099 total)