Viewing 30 results - 6,091 through 6,120 (of 10,101 total)
  • Author
    Search Results
  • #513425

    The no crop version will not center an image in a square container horizontally and vertically.

    I’d rather not set all my thumbnails to no crop then have to regenerate all my thumbnails then have to do it again.

    #513376
    mattmikulla
    Participant

    I know this is a CSS thing and possibly some JS but I wanted to get your thoughts.

    I have various product images that are different aspect ratios. 1:1, 2:3 etc.

    Usually the thumbnails for the WooCommerce catalog, category and tag pages are set to crop 1:1.

    Since I’m selling art I would like my 2:3 and other non 1:1 images to be centered in each container so you can see the full image and aspect ratio of each product while keeping the grid layout, responsive, consistent and unbroken.

    This used to be pretty easy before responsive was the norm. Now I don’t know where to start.

    Also, this would make a fabulous setting for Enfold WooCommerce pages if it was built into the core code.

    Any thoughts on how to achieve this.

    Here is an example image from my non-responsive site years ago.

    Screenshot of images in a grid centered vertically and horizontally

    eugenejordaan
    Participant

    Hi, I am not sure where to go with this, but I purchased a plugin called Lunar Pro – WordPress photography. For the most part of it the plugin works fine. Problem is with Enfold theme enabled the thumbnail’s don’t work, but if I use a different theme they do work. I assume it is some CCS problem, but that is about as much input as I am able to give. Can you help or do I go back to plugin developer?

    https://dl.dropboxusercontent.com/u/72208669/Enfold%20theme%20problem.JPG

    The plugin converts the images uploaded into woocommerce products. This is not displaying correct on the page.

    #512715

    Hey!

    you could use gallery element for example and choose to display thumbnail pictures. You could control thumbnail size (image size in general) with this plugin: https://wordpress.org/plugins/simple-image-sizes/ if you need even smaller images.
    Hope this helps.

    Best regards,
    Andy

    #512579

    Hi!

    If you want to remove the theme’s preset thumbnails, just add this in the functions.php file:

    function wp_23223255_6469586506596() { 
    	add_image_size('masonry', 0, 0);
    	add_image_size('magazine', 0, 0);
    	add_image_size('widget', 0, 0);
    	add_image_size('featured', 0, 0);
    	add_image_size('featured_large', 0, 0);
    	add_image_size('extra_large', 0, 0);
    	add_image_size('portfolio_small', 0, 0);
    	add_image_size('gallery', 0, 0);
    	add_image_size('entry_with_sidebar', 0, 0);
    	add_image_size('entry_without_sidebar', 0, 0);
    	add_image_size('square', 0, 0);
           add_image_size('shop_single', 0, 0);
          add_image_size('shop_thumbnail', 0, 0);
          add_image_size('shop_catalog', 0, 0);
    }
    add_action( 'after_setup_theme', 'wp_23223255_6469586506596', 11 );

    Use the follwing plugin to regenerate the thumbnails( since we set the dimension of the thumbnails to ZERO, they are not going to regenerated): https://wordpress.org/plugins/force-regenerate-thumbnails/

    EDIT: Make sure to refresh the page before clicking the “Regenerate” button.

    Note that this might impact the page speed because every page will load the original size of the image.

    Regards,
    Ismael

    #511955

    Hi!

    Thanks for the update. It’s been a while now. If you check my last post, we are actually asking for the loop-index.php file because the last developer might have modified that file. Anyway, I inspect the style.css file and he did the modification via css. If you inspect the featured image , you’ll see this class attribute “attachment-entry_with_sidebar”:

    <img width="470" height="246" src="http://myholytrinitychurch.com/wp-content/uploads/2013/04/myholytrinity-Why_Anglican.jpg" class="attachment-entry_with_sidebar wp-post-image" alt="myholytrinity-Why_Anglican">
    

    It means that it is a theme generated thumbnail. Try to add this in the functions.php file to adjust the thumbnail:

    function wp_23223255_6469586506596() { 
    	add_image_size('entry_with_sidebar', 999, 999);
    	add_image_size('entry_without_sidebar', 999, 999);
    }
    add_action( 'after_setup_theme', 'wp_23223255_6469586506596', 11 );

    Adjust the width and height values (999) if necessary. You need to use this plugin afterwards. https://wordpress.org/plugins/force-regenerate-thumbnails/

    Best regards,
    Ismael

    #511799

    enfold will only allow a thumbnail not the full size.

    #511723

    Hey!

    When you set your logo make sure to use the full size in the image settings instead of the 80 x 80 thumbnail that you currently have set.

    Cheers!
    Elliott

    #511306
    jambrikp
    Participant

    Hello!

    I have an issue with enfold fullscreen slider. After I saved an image, the image disappear, just the thumbnail stay there.
    I have a video about this.

    Can you help me? I have no idea.

    Best regards,
    Peter

    • This topic was modified 10 years, 6 months ago by jambrikp.

    Hi!

    Thank you for using Enfold.

    Try to replace the whole block with this:

    $thumbnailurl = wp_get_attachment_url( get_post_thumbnail_id($entry->ID) );
    					$output .= $thumbnail ? "<a href='{$thumbnailurl}' rel='lightbox' data-rel='slide-".avia_post_slider::$slide."' class='slide-image' title=''>{$thumbnail}</a>" : "";

    Cheers!
    Ismael

    #511057

    Topic: canno't upload media

    in forum Enfold
    danielefadda
    Participant

    When I try to upload new media to the site, upload arrives to 100% abd I get a thumbnail that is of a broken image. Errore HTTP.
    I just can’t seem to figure it out. Help?

    Thank you!

    #510905

    The padding and thumbnail area is still there. see it by yourself.
    http://nakhonnueangkhet.go.th/

    Could you please give me better solution ? Both to remove / move to left.
    Why is it displaying ok here > http://nakhonnueangkhet.go.th/category/news/ ?

    I just want the homepage blog list display like that.

    #510825

    Hey!

    “Perhaps that function only fires when there is a category banner image, and I’m just using the category thumbnail field with category styling set to Default.”

    Yes, that is possible. Make sure you set the banner image in Dashboard > Enfold > Shop Options or for the product categories then make sure the “Enfold Category Styling” is set to “Display product image and description as fullwidth page banner”.

    Let us know how the Woocommerce support goes.

    Best regards,
    Elliott

    #510729

    Hey!

    Oh. OK. My bad. I thought you want to remove all thumbnails in the theme. Try to modify framework > php > class-framework-widgets.php, remove this code around line 526:

    		echo "<span class='news-thumb $nothumb'>";
    			echo $image;
    			echo "</span>";

    If you want to do it in a child theme, I think copying the whole avia_newsbox class should do the trick.

    Cheers!
    Ismael

    #510719

    The whole article was about the thumbnails in the widget. // that was why I mention it again.

    Can yu understand my thing now. I want a function to delete the widget sidebar thumb

    .news-thumb

    But for SEO issues not just display: none;

    • This reply was modified 10 years, 7 months ago by Raphael.
    #510712

    Hey!

    Thank you for the info. We would like to confirm if you have a back up or restore point of the site just in case? We added the code in the child theme’s functions.php and uploaded an image to test it. Usually, the theme will generate 19 thumbnails but since we added the modification, it only generates 7 thumbnails which means that the code works. You can check the wp-content > uploads folder. Look for the image file with the file name “Abducted”. If you want to remove everything including the shop thumbnails, replace the code in the functions.php file with this:

    function wp_23223255_6469586506596() { 
    	add_image_size('masonry', 0, 0);
    	add_image_size('magazine', 0, 0);
    	add_image_size('widget', 0, 0);
    	add_image_size('featured', 0, 0);
    	add_image_size('featured_large', 0, 0);
    	add_image_size('extra_large', 0, 0);
    	add_image_size('portfolio_small', 0, 0);
    	add_image_size('gallery', 0, 0);
    	add_image_size('entry_with_sidebar', 0, 0);
    	add_image_size('entry_without_sidebar', 0, 0);
    	add_image_size('square', 0, 0);
           add_image_size('shop_single', 0, 0);
          add_image_size('shop_thumbnail', 0, 0);
          add_image_size('shop_catalog', 0, 0);
    }
    add_action( 'after_setup_theme', 'wp_23223255_6469586506596', 11 );
    

    All you need to do now is to regenerate the thumbnails using the plugin that we suggested, if you want to remove existing thumbnails in your installation. Please create a backup before doing so.

    EDIT: I’m sure there’s a more simple function that can deal with this but this is all I can suggest for now.

    Regards,
    Ismael

    #510706

    Hi Ismael,

    i tried and regenerate the thumbnails. Isn´t it easier to make a function like:::

    function avia_image_remove( $image ) {
            $image['widget'] 		 	= " ";		
    	return $image;	
    }

    I tried something like this. But it didn´t work.

    #510704

    Hi!

    Alright. Please post the login details here. We’ll try to implement the code. Is it OK if we regenerate all the thumbnails? This might break pages with images in your site. If you have a dev site, we’ll test the code there.

    Regards,
    Ismael

    #510696

    Hey!

    A function to absoluteley hide / delete / remove the image – that is what I am talking about!!

    Please read my posts carefully. We know that you want to delete the thumbnails. The code above will remove the thumbnails or will not generate the thumbnails because we set the dimension to 0. It will NOT RESIZE the thumbnails. The code will REMOVE the thumbnails. If you’re confuse why we need the plugin, because it will delete all existing thumbnails in the uploads folder then generate the registered thumbnails. But since we set the dimension of the preset thumbnails to ZERO, it will NOT REGENERATE the thumbnails.

    EDIT: This is the code that you need to add in the functions.php file:

    function ava_image_sizes() { 
    	add_image_size('masonry', 0, 0);
    	add_image_size('magazine', 0, 0);
    	add_image_size('widget', 0, 0);
    	add_image_size('featured', 0, 0);
    	add_image_size('featured_large', 0, 0);
    	add_image_size('extra_large', 0, 0);
    	add_image_size('portfolio_small', 0, 0);
    	add_image_size('gallery', 0, 0);
    	add_image_size('entry_with_sidebar', 0, 0);
    	add_image_size('entry_without_sidebar', 0, 0);
    	add_image_size('square', 0, 0);
    }
    add_action( 'after_setup_theme', 'ava_image_sizes', 11 );

    PS: Please read our posts directly from the forum instead of your email because we tend to modify the reply in a few cases.

    Best regards,
    Ismael

    Sorry… the code is this:

    					$output .= $thumbnail ? "<a href='{$link}' rel='lightbox' data-rel='slide-".avia_post_slider::$slide."' class='slide-image' title=''>{$thumbnail}</a>" : "";
    
    victormontesdeoca
    Participant

    Hi Team!
    Im using a post-slider like a agenda that only shows the flyer of the event, title and date… thats all fine
    What I want is to not have a internal post, just to open a lightbox with the flyer when user clicks the tumbnail…
    So, i did this in postslider.php:

    $output .= $thumbnail ? “{$thumbnail}” : “”;

    Now it opens in the lightbox but appears an error… I know I need to change the href='{$link}’ for something like $imageURL… but it do not work…
    Any help?
    Thanks a lot!!

    #510508
    ccyran
    Participant

    Hey guys,

    The gifs I upload to the masonry gallery get very distorted on the thumbnail. Well 1 of the 2. If you look at the gif that says “presenting our best screen yet”, it gets very weird halfway in. I’d uploaded this gif in other places so I know nothing’s wrong with the gif.

    http://www.cscyran.com/portfolio/

    Can you please help?

    Thanks!
    Chris

    #510463
    stunna42
    Participant

    Hello – Our site relies heavily on the following plugin which worked fine up until we updated to Enfold 3.3.2 –> https://wordpress.org/plugins/lazy-load-for-videos/

    Now, for any an all videos that use the video media element in the advanced layout editor, instead of seeing an image thumbnail as we had seen before updating the theme, we now see just the vimeo URL like this: http://screencast.com/t/Q8TOChGgM98

    Please see the short video with examples and detailing the issue in the private content section.

    #510361
    zmkstudio
    Participant

    Hello Please help,

    How do I hidden/disable featured image thumbnail of each post on “Blog post” content element ?
    Now it not show on left normally , Please see the image below

    I need it to be float on left or show only blog title , read more. and How to limit title length to show on that if title have too long word?

    Thank you

    • This topic was modified 10 years, 7 months ago by zmkstudio.
    #510349

    Topic: Nice thumbnails

    in forum Enfold
    anniet
    Participant

    Hi, I do not understand how i can get nice looking thumbnails.
    Sometimes, the thumbnail takes a whole image and put some black below, and sometimes it zooms on the center of the image.
    you can see the difference in the list of our blog posts.

    how can I be sure that what I post has a nice looking thumnail – without the black part ?

    #510341
    eleclipse
    Participant

    Hello

    i have a little problem,

    When i go into the site built with enfold and i scroll down almost immediatly the gallery thumbnail don’t fully load and instead remain as “shadows”

    Is there a way to fix it?

    Thanks in advance for any help
    Best regards

    #510327
    anniet
    Participant

    Hi,
    I use Enfold and would like to take advantage of related posts.
    But it shows only small thumbnail and not the nice thumbnail + title that is on Enfold demo.
    How can I change that ?

    #509962
    jdelgadoesteban
    Participant

    This happens no matter which size or ratio the featured images are? could you help please?

    http://theukwaterpartnership.co.uk

    #509916

    A bit sad, there is no solution for this. – Everyone gets customiced and php developed small solutions like this.
    I need to find them to 80% by myself. :-/

    Add least, this code (in the functions.php) helps to change the sizes of the thumbnails

    function enfold_customization_modify_thumb_size( $size ) {
    		$size['widget'] 		 		= array('width'=>60, 'height'=>50  );	
        return $size;	
    }
    add_filter( 'avf_modify_thumb_size', 'enfold_customization_modify_thumb_size', 10, 1 );

    Thanks for the code from the support team. THere isn´t any childtheme (upgradeable function to delet / remove the image of the widget container.

    #509748
    scotthco
    Participant

    Hi Guys!

    Regarding the Gallery media element in the ALB, when I select Big Image with Thumbnails Below as the gallery style, no matter what size I select for the Gallery Big Preview Image Size, the big image always fills the width of the container. If I choose a smaller image size, it seems to just have the image fill the container so as to appear “zoomed in”. I would expect Gallery Big Preview Image Size to display the big image at the size I select at its natural size, not all zoomed in and stretched.

    What I’m looking for is a big image above thumbnails (a filmstrip style would be ideal) but I don’t want the “big image” to be the full width of a single column, at least not on a desktop screen. Is there no way to set a max width for the large image other than to put the gallery in a narrower column??? This would not be desirable due to various screen widths in between wide screen desktop and smart phone portrait. A narrower initial column width would make the gallery too narrow for instance on a tablet in portrait orientation.

    Thanks!

    Scott

Viewing 30 results - 6,091 through 6,120 (of 10,101 total)