Viewing 30 results - 2,581 through 2,610 (of 10,096 total)
  • Author
    Search Results
  • #1041054

    In reply to: Blurry Ajax Portfolio

    Hi,

    Thanks for the update.

    The AJAX portfolio is using the “Large” thumbnail by default, so adjusting the thumbnail size from the Settings > Media panel should help. You have to regenerate the thumbnails after the adjustment.

    // https://wordpress.org/plugins/regenerate-thumbnails/

    Best regards,
    Ismael

    #1040852

    Thanks for letting me know that I don’t need that code anymore.

    As for the images I want to change. If you go to the home page: https://takeasmoke.com/ and look on the right under Customers top rated products, you’ll notice the images are blurry. When I use inspect element I see that they are 36 pixels by 36 pixels. Since all the images are landscape, I think it would look better if they were 100 pixels wide by 75 pixels high. Hopefully that would do away with the blurriness.

    Bottom line, I want to do away with the blurriness. I’m not sure what update caused them to be blurry and changed the size but they didn’t use to be blurry.

    If I add the below to the functions code, do you think that will fix it?

    add_filter( ‘woocommerce_get_image_size_gallery_thumbnail’, function( $size ) {
    $size[‘width’] = 100;
    $size[‘height’] = 75;
    $size[‘crop’] = 1;
    return $size;
    }, 10, 1);

    Thanks,
    Lise

    #1040849
    totoro
    Participant

    Hello
    suite of https://kriesi.at/support/topic/single-product-page-layout-5/
    and can we have thumbnails on the left of the big picture ? instead of bottom
    can we do this by css ?
    Thxs for your help

    #1040720
    Swarez
    Participant

    Hi there!

    I had to switch themes temporarily (to test a language translation plugin) but after switching straight back to Enfold (Child Theme) I have lost all my image formatting.

    For example, on this URL: https://www.swarez.co.uk/modern-art-paintings-for-sale/requiem/
    I should have the four images in the grid row sized at 650px x 450px (I created that size in the theme and WordPress has it stored in /uploads/ properly). It’s just that now the theme isn’t picking up that this is what should be displayed – instead it’s showing the original height and width of each image resized to fit in the grid.

    So this: /wp-content/uploads/2017/12/Tall-painting-leaning-against-a-hallway-wall-600×450.jpg is what should be in the grid but it isn’t now. And I have 350 pages like this!!!!! Aaaaghhhhhh!!!!!

    I have regenerated thumbnails but nothing works. Any ideas?
    Thanks in advance
    Ed

    #1040659

    Topic: shortcode for gallery

    in forum Enfold
    yampieters
    Participant

    hello, i want to add a gallery in the middle of a text, so i need a short code.
    Ive put in this:
    [av_gallery ids='' style='big_thumb' preview_size='portfolio' crop_big_preview_thumbnail='avia-gallery-big-crop-thumb' thumb_size='portfolio' columns='5' imagelink='lightbox' lazyload='avia_lazyload' av_uid='av-jgesnq4m' custom_class='av-gallery-style-1' admin_preview_bg='']

    1. But where/how can i retrieve the ID of the gallery?
    2. Im working with Wp Media Folder, dont know if this makes any difference for the ID?

    #1040560

    Hi,

    Thanks for that, you had selected a very small thumbnail size. I selected a bigger size and it look better now. Please review your site.

    Best regards,
    Rikard

    #1040036
    lisetyrrell
    Participant

    I wish there was a way to set the gallery-thumbnail images in Appearance>customize>woocommerce images, but there isn’t. My gallery-thumbnail images are blurry and set to 36×36 pixels, don’t know how this happened, and I see the solution is to add the following into the functions code:

    add_filter( ‘woocommerce_get_image_size_gallery_thumbnail’, function( $size ) {
    $size[‘width’] = 300;
    $size[‘height’] = 300;
    $size[‘crop’] = 1;
    return $size;
    }, 10, 1);

    I was going to do that but change the width to 100 and the height to 75 so it will have the same ratio as my other images in Woocommerce. Only problem is that in my functions is the following and I’m not sure what that is or if it will override the above code:

    global $woocommerce;

    if (version_compare($woocommerce->version, ‘3.0.0’, “>=” )) {

    add_theme_support( ‘wc-product-gallery-zoom’ );
    add_theme_support( ‘wc-product-gallery-lightbox’ );

    function avia_woocommerce_gallery_thumbnail_description($img, $attachment_id, $post_id, $image_class ) {
    return $img;
    }
    function avia_woocommerce_post_thumbnail_description($img, $post_id){
    return $img;
    }

    Should I put the code above that or delete that? I’m afraid to try it in case it messes up my website at this time.
    Thanks!
    PS. I got a response that you wanted me to open a new thread and give admin login for you to have a closer look.

    I inserted from line 729 the script as you suggested, I also cleared the cache, but nothing changes. I enclose final part of functions.php by copying it from line 686 to show you what I have done.
    ————————————
    * Remove the default shortcode function, we got new ones that are better ;)
    */
    add_theme_support( ‘avia-disable-default-shortcodes’, true);

    /*
    * compat mode for easier theme switching from one avia framework theme to another
    */
    add_theme_support( ‘avia_post_meta_compat’);

    /*
    * make sure that enfold widgets dont use the old slideshow parameter in widgets, but default post thumbnails
    */
    add_theme_support(‘force-post-thumbnails-in-widget’);

    /*
    * display page titles via wordpress default output
    *
    * @since 3.6
    */
    function av_theme_slug_setup()
    {
    add_theme_support( ‘title-tag’ );
    }

    add_action( ‘after_setup_theme’, ‘av_theme_slug_setup’ );

    /*title fallback (up to WP 4.1)*/
    if ( ! function_exists( ‘_wp_render_title_tag’ ) )
    {
    function av_theme_slug_render_title()
    {
    echo “<title>” . avia_set_title_tag() .”</title>”;
    }
    add_action( ‘wp_head’, ‘av_theme_slug_render_title’ );
    }
    // new script
    add_action(‘wp_footer’, ‘ava_new_custom_script_masonry’);
    function ava_new_custom_script_masonry(){
    ?>
    <script type=”text/javascript”>
    (function($) {
    function a() {
    var masonry = $(‘.av-masonry-entry’);
    if(!masonry.length) return;
    masonry.each(function() {
    var cat = $(this).find(‘.ww-masonry-cat’);
    $(this).find(‘.ww-masonry-title’).prepend(cat);
    });
    }

    a();

    $(window).on(‘debouncedresize av-height-change’, function() {
    setTimeout( a(), 300 );
    });
    })(jQuery);
    </script>
    <?php
    }

    /*
    * register custom functions that are not related to the framework but necessary for the theme to run
    */

    require_once( ‘functions-enfold.php’);

    /*
    * add option to edit elements via css class
    */
    // add_theme_support(‘avia_template_builder_custom_css’);

    #1039914

    Hi Basilis,

    Thanks for your reply, I have tried to regenerate thumbnails to the post featured image. This still didn’t solve the problem, about the size of the image, the size of the blog featured image and the category page featured image are the same image.

    Please assist, maybe we will need to touch the code?

    Kind Regards,
    Eddie Abramov

    #1039461

    In reply to: Thumbnail Sizes

    Hey vollstark,

    Please go to WooCommerce > Settings > Products > Display and change image sizes and then regenerate thumbnails using this plugin – https://wordpress.org/plugins/regenerate-thumbnails/

    Best regards,
    Jordan Shannon

    kylerollins
    Participant

    we upgraded PHP on a site with woocommerce from 5.6 to 7.2 and on certain pages (see link in private) we started getting these error messages:

    PHP Fatal error: Uncaught ArgumentCountError: Too few arguments to function avia_woocommerce_gallery_thumbnail_description(), 2 passed and exactly 4 expected in /nas/content/live/gadragonfly/wp-content/themes/dragon-child/functions.php:61\nStack trace:\n#0 [internal function]: avia_woocommerce_gallery_thumbnail_description(‘<div data-thumb…’, ‘2454’)\n#1 /nas/content/live/gadragonfly/wp-includes/class-wp-hook.php(286): call_user_func_array(‘avia_woocommerc…’, Array)\n#2 /nas/content/live/gadragonfly/wp-includes/plugin.php(203): WP_Hook->apply_filters(‘<div data-thumb…’, Array)\n#3 /nas/content/live/gadragonfly/wp-content/plugins/woocommerce/templates/single-product/product-image.php(47): apply_filters(‘woocommerce_sin…’, ‘<div data-thumb…’, ‘2454’)\n#4 /nas/content/live/gadragonfly/wp-content/plugins/woocommerce/includes/wc-core-functions.php(208): include(‘/nas/content/li…’)\n#5 /nas/content/live/gadragonfly/wp-content/plugins/woocommerce/includes/wc-template-functions.php(1368): wc_get_template(‘single-product/…’)\n#6 in /nas/content/live/gadragonfly/wp-content/themes/dragon-child/functions.php on line 61

    We had to roll back since half the site did not work so testing is going to be difficult. If you can provide potential fixes or ask questions we would appreciate the help as they are forcing upgrades early next year.

    Thanks!

    • This topic was modified 7 years, 4 months ago by kylerollins.
    #1039380

    Hey Simon,

    Here is a thread for you to consider
    https://kriesi.at/support/topic/avia-gallery-element-always-shows-thumbnail-after-upgrade-to-version-enfold-4-5/

    If you need further assistance please let us know.
    Best regards,
    Victoria

    #1039304

    Topic: Thumbnail Sizes

    in forum Enfold
    vollstark
    Participant

    Hi!

    I use woocommerce and would like to set the product preview pictures in correct sizes.

    In the enfold function I found the entries below but which one is used for my single product page?
    Can I change the sizes in child funktion?

    All the best!

    /*
     * Register additional image thumbnail sizes
     * Those thumbnails are generated on image upload!
     *
     * If the size of an array was changed after an image was uploaded you either need to re-upload the image
     * or use the thumbnail regeneration plugin: http://wordpress.org/extend/plugins/regenerate-thumbnails/
     */
    
    $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 );						// images for fullsize pages and fullsize slider
    $avia_config['imgSize'] = apply_filters('avf_modify_thumb_size', $avia_config['imgSize']);
    
    $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'),
    	
    );
    • This topic was modified 7 years, 4 months ago by vollstark.
    #1039267
    HKlearning
    Participant

    Hi there

    On “www.ernsthaeberli.ch” I can’t hide the small thumbnails under the big image size, even I choose the according gallery-option.

    Can someone help me?

    Thanks and best regards,
    Simon

    #1039183

    Hey eddieabramov,

    Have you tried to re-generate the thumbnails?
    It seems like the size is not registered – could you try it so we see what is happening?

    Best regards,
    Basilis

    #1038597

    Topic: Gallery Problem

    in forum Enfold
    clickrepublic
    Participant

    Hi there

    My mason gallery does not appear to working. Here’s an example page:

    The flexible masonry thumbnails appear correctly, but when an image is clicked, just an enlarged jpeg appears (instead of the normal lightbox that allows scrolling between images on a desktop device).

    thanks, Gary

    #1038408

    In reply to: Enfold Mason Gallery

    Hey calvary21concepts,

    Here is a thread for you to consider
    https://kriesi.at/support/topic/hide-titles-and-descriptions-when-you-hover-on-images-or-thumbnails-of-galleries/

    Here is the code you can put in Enfold > General Styling > Quick Css,  if it does not work, put into themes/enfold/css/custom.css

    
    .main_color .av-masonry-outerimage-container {
        background-color: #000;
    }
    

    If you need further assistance please let us know.

    Best regards,
    Victoria

    #1037516

    In reply to: Purchasing Theme

    Hi,
    Once you install it go to: Enfold Theme Options > Demo Import > Import demo files and there is a list of the demos with thumbnails of each one, you can click to install the demo of your choice.
    If you are still having trouble please include a admin login in the private content area so we can take a closer look.

    Best regards,
    Mike

    #1037452

    In reply to: Blurry Ajax Portfolio

    Hey Mark,

    Have you tried to re-generate the thumbnails?

    Best regards,
    Basilis

    #1037353

    Hi Ismail

    As told, I have never worked with css codes..
    So dont no how to remove the former css code, or where to find the: config-templatebuilder > gallery > gallery.php file

    will the “thumbnails error” be solved in the next update of the theme ?

    best regards
    Jan

    #1037106

    I wish there was a way to set the gallery-thumbnail images in Appearance>customize>woocommerce images, but there isn’t. My gallery-thumbnail images are blurry and set to 36×36 pixels, don’t know how this happened, and I see the solution is to add the following into the functions code:

    add_filter( ‘woocommerce_get_image_size_gallery_thumbnail’, function( $size ) {
    $size[‘width’] = 300;
    $size[‘height’] = 300;
    $size[‘crop’] = 1;
    return $size;
    }, 10, 1);

    I was going to do that but change the width to 100 and the height to 75 so it will have the same ratio as my other images in Woocommerce. Only problem is that in my functions is the following and I’m not sure what that is or if it will override the above code:

    global $woocommerce;

    if (version_compare($woocommerce->version, ‘3.0.0’, “>=” )) {

    add_theme_support( ‘wc-product-gallery-zoom’ );
    add_theme_support( ‘wc-product-gallery-lightbox’ );

    function avia_woocommerce_gallery_thumbnail_description($img, $attachment_id, $post_id, $image_class ) {
    return $img;
    }
    function avia_woocommerce_post_thumbnail_description($img, $post_id){
    return $img;
    }

    Should I put the code above that or delete that? I’m afraid to try it in case it messes up my website at this time.
    Thanks!

    #1036583
    lopezsalaberry
    Participant

    Hi there! Trying to work on improving conversions on my product page so I would like to try a few things, hopefully you can help out.

    1) Is it possible for images (when clicking on thumbnails) not to open in a lightbox but instead in the place of the main image?
    2)Is there a way to remove the borders for the description area box beneath the images? (the one that contains the long description)
    3)Is it possible to have a nice looking tab section (https://kriesi.at/themes/enfold-2017/elements/tab-section/) in that place instead of the default tab section that looks like a folder? I’ve tried to insert it via shortcodes (as the advanced builder brakes the page) but not sure that’s the best way as some of the content broke in one of the tabs…
    4)Can I make that area (the one I’m referring to in points 2 and 3) full width? I have it at 100% of the container now, “full width” but I’m referring to really going full width and not just to the margins…

    Thanks for any help!!!

    #1035996

    Hi,

    That is the default width of the “entry_without_sidebar” thumbnail. Use this plugin to adjust it.

    // https://wordpress.org/plugins/simple-image-sizes/

    Don’t forget to regenerate the thumbnails after the adjustment.

    Best regards,
    Ismael

    I work within the theme files, it is easier for me and my bad PHP knowledge, and it is easier for me with further tweaks of this styling – that’s my way to work.

    So I placed your snippet as asked into av-helper-masonry.php around line 539 in this context:

    
    				$this->loop[$key]['text_before']	= "";
    				$this->loop[$key]['text_after']		= "";
    				$this->loop[$key]['ID'] = $id		= $entry->ID;
    				$this->loop[$key]['post_type'] 		= $entry->post_type;
    				$this->loop[$key]['thumb_ID'] 		= get_post_thumbnail_id($id);
    				
    				$post_categories = wp_get_post_categories( 4 );
    				$categories = get_the_category($post_categories[0]);
    													
    				$this->loop[$key]['the_title'] 		= get_the_title($id);
    				$this->loop[$key]['url']			= get_permalink($id);
    				$this->loop[$key]['date'] 			= "<span class='av-masonry-date meta-color updated'>".get_the_time($date_format, $id)."</span>";
    				$this->loop[$key]['author'] 		= "<span class='av-masonry-author meta-color vcard author'><span class='fn'>". __('by','avia_framework') .' '. $author."</span></span>";
    				$this->loop[$key]['class'] 			= get_post_class("av-masonry-entry isotope-item", $id); 
    				$this->loop[$key]['content']		= strip_tags( $entry->post_excerpt );
                    $this->loop[$key]['description']	= !empty($entry->post_content) ? $entry->post_content : $entry->post_excerpt;
    				

    and this output no category name above the title:

    View post on imgur.com

    Please test it at your demo installation, my site is not yet online. Thanks.

    #1035173
    aparna
    Participant

    Please check the thumbnails on the URL mentioned below. I’m unable to figure out why we have the blue band for some images, and not for the others.

    All ‘featured images’ for blog posts are at 300 x 212 pixels.

    Could you please help?

    #1034707

    Hmmm the thumbnails don’t show up for me. I add them in the Ajax Portfolio Settings, but… in the end I didn’t use the Ajax drop down option in the Portfolio Grid, because then it opens the portfolio item blank, as I don’t want to have preview text. Is there a way I can add the thumbnails under the main portfolio element without having this happen?

    You can see how I have set up the page now here: http://www.fullybookedhome.com/projects/

    Which is exactly how I want it, but just with thumbnails under each entry.

    Thank you.

    #1034383

    Hey mike.rav,

    Thank you for using Enfold.

    I’m not really sure why that thumbnail changes color but you can change it’s default size from the Settings > Media panel. Adjust the size of the medium thumbnail. You need to regenerate the thumbnails after the adjustment.

    // https://wordpress.org/plugins/regenerate-thumbnails/

    Best regards,
    Ismael

    #1034338

    The large images. The thumbnails are responding like they should. But the large image is the problem.
    Thanks.

    #1034270

    Hi,

    Thanks for that, are you referring to the thumbnails or the large image when selecting one of the thumbnails?

    Best regards,
    Rikard

    BeeCee
    Participant

    Hi,

    first: I am not a coder and try to work with PHP with try&error :-D
    I would like to work not with a filter for the functions.php like @Ismael has posted somewhere in the forum, but for a better control for myself directly in the file

    av-helper-masonry.php

    around line 539

    where the part is

    
    $this->loop[$key]['text_before']	= "";
    $this->loop[$key]['text_after']       = "";
    $this->loop[$key]['ID'] = $id		= $entry->ID;
    $this->loop[$key]['post_type'] 		= $entry->post_type;
    $this->loop[$key]['thumb_ID'] 		= get_post_thumbnail_id($id);
    $this->loop[$key]['the_title'] 		= get_the_title($id);

    View post on imgur.com

    Could you please tell me, what PHP code exactly I need to add in that way
    between the thumbnail and the title,
    to output the category name in this theme file?

    Without a good PHP knowledge I have tried it with this part:

    $this->loop[$key]['category'] = get_the_category($id);

    but this has no effect. How should it be right?
    Thank you.

Viewing 30 results - 2,581 through 2,610 (of 10,096 total)