Viewing 30 results - 8,131 through 8,160 (of 10,095 total)
  • Author
    Search Results
  • #276601

    In reply to: Gallery Edit Issues

    The problem is that the images are missing their thumbnails, therefore the havoc in the gallery element, so i tried running the Regenerate Thumbnails plugin but i kept getting this error:

    Doing a google search i found out that the culprit of the issue is the ModSecurity rule, i also found this detailed article which may be of help:
    http://pumastudios.com/2009/05/file-uploads-and-mod_security-vs-wordpress-wp-adminadmin-ajaxphp

    Best regards,
    Josue

    #276551

    Hey Effektid!

    Try regenerating the thumbnails:
    http://wordpress.org/plugins/regenerate-thumbnails/

    Regards,
    Josue

    #276473
    LAHWebDesigns
    Participant

    I had purchased and installed a plugin for media tags and that had a conflict with a free plugin (paginated gallery). I ended up deactivating both and deleted them. Now when I use the Avia Layout Builder galleries do not show up correctly (all thumbnails in one column and don’t link) and the code that shows up is like this:
    <div class=”wpview-wrap wpview-type-gallery” contenteditable=”false” data-wpview-text=”%5Bgallery%20columns%3D%225%22%20ids%3D%222840%2C2839%2C2838%2C2837%2C2836%2C2835%2C2834%2C2831%2C2830%2C2829%2C2828%2C2827%2C2826%2C2825%2C2824%2C2823%2C2822%2C2821%2C2820%2C2813%2C2803%2C2767%2C2766%2C2765%2C2764%2C2763%2C2762%2C2761%2C2760%2C2759%2C2758%2C2757%2C2756%2C2755%2C2754%2C2753%22%5D” data-wpview-type=”gallery”>
    <div class=”toolbar”></div>….

    Is it possible there’s residual javascript interfering from the plugins? If so, then how do I get rid of this? This only happens on new pages created after the plugins I installed, the old pages work fine.

    Any ideas? Thank you in advance for your help.

    Hi Adenadoume!

    Yes, open up wp-content/themes/enfold/includes/helper-post-format.php and replace:

    
    	function avia_image_slideshow_filter($current_post)
    	{
    
    		$prepend_image = get_the_post_thumbnail(get_the_ID(), 'large');
    		$image = "";
    
    		if(!$prepend_image)
    		{
    			$image		= avia_regex($current_post['content'],'image');
    			if(is_array($image))
    			{
    				$image = $image[0];
    				$prepend_image = '<div class="avia-post-format-image"><img src="'.$image.'" alt="" title ="" /></div>';
    			}
    			else
    			{
    				$image		= avia_regex($current_post['content'],'<img />',"");
    				if(is_array($image))
    				{
    					$prepend_image = '<div class="avia-post-format-image">'.$image[0]."</div>";
    				}
    			}
    		}
    		else
    		{
    			$prepend_image = '<div class="avia-post-format-image">'.$prepend_image."</div>";
    		}
    
    			if(!empty($prepend_image) && is_string($prepend_image))
    			{
    				if($image) $current_post['content'] = str_replace($image, "", $current_post['content']);
    				$current_post['before_content'] = $prepend_image;
    				$current_post['slider']  = "";
    			}
    
    		return avia_default_title_filter($current_post);
    	}
    

    with

    
    	function avia_image_slideshow_filter($current_post)
    	{
    
    		$prepend_image = get_the_post_thumbnail(get_the_ID(), 'large');
            if($prepend_image)
            {
                $thumb_id = get_post_thumbnail_id();
                $thumb_url = wp_get_attachment_image_src($thumb_id,'full', false);
            }
    
    		$image = "";
    
    		if(!$prepend_image)
    		{
    			$image		= avia_regex($current_post['content'],'image');
    			if(is_array($image))
    			{
    				$image = $image[0];
    				$prepend_image = '<div class="avia-post-format-image"><a href="'.$image.'" class="lightbox"><img src="'.$image.'" alt="" title ="" /></a></div>';
    			}
    			else
    			{
    				$image		= avia_regex($current_post['content'],'<img />',"");
    				if(is_array($image))
    				{
    					$prepend_image = '<div class="avia-post-format-image"><a href="'.$image[0].'" class="lightbox">'.$image[0]."</a></div>";
    				}
    			}
    		}
    		else
    		{
    			$prepend_image = '<div class="avia-post-format-image"><a href="'.$thumb_url[0].'" class="lightbox">'.$prepend_image."</a></div>";
    		}
    
    			if(!empty($prepend_image) && is_string($prepend_image))
    			{
    				if($image) $current_post['content'] = str_replace($image, "", $current_post['content']);
    				$current_post['before_content'] = $prepend_image;
    				$current_post['slider']  = "";
    			}
    
    		return avia_default_title_filter($current_post);
    	}
    

    You can also insert the modified function into your child theme functions.php file.

    2) I tested the option on my test server and it works just fine. Make sure that wp-content/themes/enfold/includes/loop-index.php is up to date and contains this code:

    
    if(is_single($initial_id) && get_post_meta( $current_post['the_id'], '_avia_hide_featured_image', true ) ) $current_post['slider'] = "";
    

    If not replace:

    
    $current_post['slider']  	= get_the_post_thumbnail($current_post['the_id'], $size);
    

    with

    
    $current_post['slider']  	= get_the_post_thumbnail($current_post['the_id'], $size);
    if(is_single($initial_id) && get_post_meta( $current_post['the_id'], '_avia_hide_featured_image', true ) ) $current_post['slider'] = "";
    

    Cheers!
    Peter

    Mudfish488
    Participant

    Hi guys,

    Apologies for sending a post on a topic that appears to be asked quite often. I’ve read many of the previous posts and corresponding answers, but haven’t quite been able to get it working the way I want.

    I’m trying to figure out the relationship between the product image size settings in WooCommerce/Settings/Products, the Enfold image size settings in the config.php (config-woocommerce/config.php) and editing the container wrapper topic I’ve read about on here as well.

    This is my understanding, but please feel free to confirm or correct me if I’m wrong.
    WooCommerce/Settings/Products – the image sizes in here control the resolution of the image displayed. Therefore if I set the catalog image size here to 240×360, that is the resolution of the thumbnail it creates from my original image. However, this doesn’t control the way that thumbnail image is displayed.

    config-woocommerce/config.php – this image setting controls the size of the image as it is displayed. So if using my example above, if I set the catalog image to 300 x 450, the image would be fuzzy as it’s enlarging a 240×360 image to fit 300 x 450 right? But if I set it to 240×360, in theory the image should look sharp and clear correct?

    Here’s where my issue comes in. I’ve tried changing both the woocommerce settings and the woocommerce config.php settings to a size smaller than what the default was, but the image is still showing up larger than I want. I’m guessing this is due to the container wrapper used in the product grid correct? If so, how would I change this to be smaller? I saw a post or two on the container wrapper already but it seemed way above my abilities so if you have a more visual example or simple instructions, that would be great!

    I did try switching from 3 columns to 4 columns and that helped, but not quite down to the size I want. Also, I would prefer to have 3 columns and just more space between them or keep the extra space on the right. Here are the sizes/format I’m hoping for.

    Grid: 3 columns wide
    Product catalog images: 240×360
    Single product image: 300×450

    Can you help me achieve this? Thanks so much!!!

    Bobby

    Bonus question: How can I get rid of the search results in the catalog grid? Right now, it shows “No products found which match your selection.” and then displays my products. Thx!!

    #276340

    Hey!

    Thank you for the update.

    I tested one of the images on my end and as you can see, it is showing the full image:

    I checked the test page but the thumbnail size of this image for example is still cropped: http://voyevoda.com/test/wordpress/wp-content/uploads/2014/06/spice-market-food-photography-4-700×575.jpg

    Please add this on the child theme’s functions.php then regenerate the thumbnails again:

    function avia_change_image_size_array() {
    global $avia_config;
    $avia_config['imgSize']['gallery'] = array('width'=>9999, 'height'=>9999, 'crop'=>false );						// images for portfolio entries (2,3 column)
    avia_backend_add_thumbnail_size($avia_config);
    }
    add_action( 'init', 'avia_change_image_size_array', 1);

    Add this on Quick CSS or custom.css:

    #top div .avia-gallery img {
    width: 100%;
    height: 100%;
    }

    Best regards,
    Ismael

    #276237

    Hi Omer!

    Thank you for the update.

    You can edit functions.php, find this code on line 117:

    $avia_config['imgSize']['entry_with_sidebar'] 	= array('width'=>710, 'height'=>270);		                 // big images for blog and page entries
    

    Change the width and height attribute then set the crop parameter to false to prevent wp from cropping the featured image:

    $avia_config['imgSize']['entry_with_sidebar'] 	= array('width'=>1500 'height'=>540, 'crop'=> false);		                 // big images for blog and page entries
    

    Regenerate the thumbnails or upload it again.

    Cheers!
    Ismael

    #276214

    Hey AnnieCl!

    Thank you for using the theme!

    You can find all sorts of thumbnail size in the functions.php file. The theme automatically generate these thumbnails and use them accordingly — depends on the elements visible in a page or post. Please note that the Slideshow Image Size settings in the slider panel doesn’t actually influence the dimension of the sliders because the slider inherits the size of the container. It only enables you to choose the thumbnail size used in the slides.

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

    You can adjust the width and height attribute, and choose not to cut the images by setting the crop parameter to false.

    Best regards,
    Ismael

    #276192

    Hey!

    Thank you for the update.

    Did you regenerate the thumbnails? Go to Tools > Regen. Thumbs. The suggestion above should prevent the theme from cropping and resizing the gallery images on the ajax portfolio.

    Regards,
    Ismael

    #276024

    Hi!

    Thank you the screenshot.

    Is it ok if you use the alternative text field in place of the caption? What will happen is, you have to place the caption on the Alternative Text field. Edit loop-index.php then replace Dude’s changes with this:

    $attachments = get_post(get_post_thumbnail_id());
    		$caption = $attachments->post_excerpt;
    		$description = $attachments->post_content;
    
    		$featured_img_desc = $description;
    		if($slider) $slider = '<a data-type="'.$caption.'" class="post-attachment-caption" href="'.$link.'" title="'.$featured_img_desc.'">'.$slider.'</a>';
    

    Cheers!
    Ismael

    #275547

    Hey!

    Normally the post title will be used as image caption (like here: http://test.inoplugs.com/this-is-a-nice-post-2/ ) and the image alt attribute content will be used for the lightbox title. I’m not sure why the post title is not used for the image description on your website tough. Maybe a custom child theme template overwrites the default loop-index.php template?

    If you want to use the image description for the lightbox description open up wp-content/themes/enfold/includes/loop-index.php and replace:

    
     if($slider) $slider = '<a href="'.$link.'" title="'.$featured_img_desc.'">'.$slider.'</a>';
    

    with

    
    		$image_description = get_post_meta(get_post_thumbnail_id(), '_wp_attachment_image_alt', true);
    		if(empty($image_description)) $attachment = get_post(get_post_thumbnail_id());
    		if(empty($image_description) && is_object($attachment))
    		{
    			$image_description = $attachment->post_excerpt == "" ? $attachment->post_content : $attachment->post_excerpt;
    			$image_description = trim(strip_tags($image_description));
    		}
    
    		if(!empty($image_description)) $featured_img_desc = $image_description;
    		if($slider) $slider = '<a href="'.$link.'" title="'.$featured_img_desc.'">'.$slider.'</a>';
    

    Cheers!
    Peter

    #275456

    In reply to: Problem with portfolio

    Hey datacom!

    Thank you for the info.

    Please remove the custom css that you added. Edit the portfolio grid element then look for the Portfolio Grid Image Size, choose the second option to manually select the thumbnail size. Select the “No Scaling” thumbnail size.

    Regards,
    Ismael

    #275444

    Hi Eve!

    Thank you for using the theme!

    Before doing this, please test it on a dummy site. First, edit functions.php, find this code on line 98:

    $avia_config['imgSize']['gallery'] 		 		= array('width'=>710, 'height'=>575 );						// images for portfolio entries (2,3 column)
    

    Replace it with:

    $avia_config['imgSize']['gallery'] 		 		= array('width'=>9999, 'height'=>9999, 'crop'=>false );						// images for portfolio entries (2,3 column)
    

    This will make sure that the theme will not crop the images and accept all proportions. After that, add this on Quick CSS or custom.css:

    #top .portfolio-preview-image .avia-gallery img {
    float: none;
    padding: 7px !important;
    width: auto;
    display: inline-block;
    }
    
    #top .portfolio-preview-image .avia-gallery .avia-gallery-big-inner {
    text-align: center;
    }

    Regenerate the thumbnails using this plugin: http://wordpress.org/plugins/regenerate-thumbnails/

    Cheers!
    Ismael

    #275434

    Topic: No News Thumbnail

    in forum Enfold
    Slick Sites
    Participant

    Id like a default thumbnail image when the post has no featured image added in the recent posts widget in the sidebar.
    I found this class…

    .no-news-thumb{
    	background: red url(images/clipboard.png) no-repeat;
    }

    But to no avail.
    Is it possible?
    Cheers

    #275205
    mixedmedia99
    Participant

    Ho can I prevent my product image thumbnails becoming blurry? they are saves at the correct size. The image for the product itself is great, but when i have the products list each with its own thumbnail they are all blurry.

    Thanks

    #275166

    Hey xfacta!

    There are two ways to try and do that. The first is to change the image size for your products to a smaller size and have enough columns so that the images are getting stretched and pixelated. You can do that from the WooCommerce settings under the Products tab. Then regenerate the images using http://wordpress.org/extend/plugins/regenerate-thumbnails/

    The second is the best but takes a bit more work. You re-save and re-upload all of your product images at the same size so that they are all output at the same size. If they are too small, add them to a transparent canvas in a photo editing program so that the uploaded image is still going to get resized the same.

    Best regards,
    Devin

    #274948

    Hi envapk2!

    Thank you for using the theme!

    Please try to change the thumbnail size settings on Settings > Media > Large size. Set the width and height to 9999 then regenerate the thumbnails using this plugin: http://wordpress.org/plugins/regenerate-thumbnails/

    Best regards,
    Ismael

    Hi Ismael and Josue,

    That styles disable the movement transition and fade-in animation for the portfolio grid, but it doesn’t prevent the grid images from being first resized, and then repositioned as the browser window is resized. So even though the easing and transitions are off now, the images are still bouncing around as the window is made smaller and larger and I’d like to disable that behavior specifically.

    I essentially want to make the portfolio grid columns and thumbnails: http://kriesi.at/themes/enfold/portfolio/portfolio-3-column/
    resize and collapse in the same way that the shop items do: http://kriesi.at/themes/enfold/shop/

    #274704
    alexoua
    Participant

    Hi,

    Unless I’ve added a featured image on my homepage, when I share it on facebook there is no thumbnail image?? only the link…

    Do you have any idea why?

    Thanks a lot:)

    Alex

    #274698

    Hola,

    Ese tamaño esta definido en functions.php, linea 99:

    $avia_config['imgSize']['magazine'] 		 	= array('width'=>710, 'height'=>375 );						// images for magazines
    

    Luego de hacer el cambio tienes que regenerar las imagenes.

    Saludos,
    Josue

    #274663
    jenlioness
    Participant

    Hi,

    Thanks for the great theme! When I put an easy slider in the avia layout editor and set it up, I don’t see an option to have it show the thumbnails underneath. Must be missing something obvious, but haven’t been able to figure it out.

    Thanks for the help,
    Jennifer

    #274662

    In reply to: Content slider bug

    Hi!

    Try with this code:

    <div style="overflow: hidden; background-color: #e3f1f6; border-radius: 15px; padding: 25px; min-height: auto;">
    [av_two_third first]<strong><span style="font-size: 18px; color: #444444;">#1 Восстановление поврежденных частей автомобиля используя его целые куски, взятые с фотографии противоположной стороны</span></strong>
    <p style="font-size: 15px;">Данный метод мошенничества используется для сокрытия больших и средних повреждений автомобиля.</p>
    [/av_two_third][av_one_third][av_gallery ids='9062,9063,9069' style='thumbnails' preview_size='portfolio' crop_big_preview_thumbnail='avia-gallery-big-crop-thumb' thumb_size='thumbnail' columns='4' imagelink='lightbox' lazyload='avia_lazyload'][/av_one_third]
    </div>
    

    Regards,
    Josue

    #274531

    Topic: Content slider bug

    in forum Enfold
    jacobsever
    Participant

    Hello!
    I use content slider with HTML/shortcodes u can see below.

    <div style="background-color: #e3f1f6; border-radius: 15px; padding: 25px; min-height: auto;">
    [av_two_third first]<strong><span style="font-size: 18px; color: #444444;">#1 Восстановление поврежденных частей автомобиля используя его целые куски, взятые с фотографии противоположной стороны</span></strong>
    <p style="font-size: 15px;">Данный метод мошенничества используется для сокрытия больших и средних повреждений автомобиля.</p>
    [/av_two_third][av_one_third][av_gallery ids='9062,9063,9069' style='thumbnails' preview_size='portfolio' crop_big_preview_thumbnail='avia-gallery-big-crop-thumb' thumb_size='thumbnail' columns='4' imagelink='lightbox' lazyload='avia_lazyload'][/av_one_third]
    </div>

    The result: http://grab.by/xsXA
    Div with blue background does not wrap all the content.
    Help pls.

    Tnx.

    #274525

    Hi!

    Thank you for the info.

    It looks like you’re uploading images with different sizes and ratio. Please use images with the same size as much as possible in order to achieve a uniform layout for the post slider. If you import the dummy data then create a page with the post slider, select a thumbnail size, you’ll see that the post slider are aligned correctly because the post items are using featured images with the same dimension or size.

    Regards,
    Ismael

    #274430
    This reply has been marked as private.
    #274245

    Well, that’s how it’s intended to work.

    However, there is a way to change that, open includes/loop-index.php and look for line 34:

    $current_post['slider']  	= get_the_post_thumbnail($current_post['the_id'], $size);
    

    Change it to:

    $current_post['slider']  	= get_the_post_thumbnail($current_post['the_id'], "full");
    

    Cheers!
    Josue

    #274231

    Hi,

    Open and look for line:

    $avia_config['imgSize']['entry_without_sidebar']= array('width'=>1030, 'height'=>360 );						// images for fullsize pages and fullsize slider
    

    Replace it by this:

    $avia_config['imgSize']['entry_without_sidebar']= array('width'=>1066, 'height'=>600 );						// images for fullsize pages and fullsize slider
    

    After you done that, regenerate the thumbnails:
    http://wordpress.org/plugins/regenerate-thumbnails/

    Regards,
    Josue

    #273949

    In reply to: Testimonials Layout

    Hey kpundyk!

    Please add following code to Functions.php in Appearance > Editor

    function add_custom_script(){
    ?>
    <script>
    jQuery(window).load(function(){
    jQuery(".avia-testimonial-content").prepend(".avia-testimonial-name");
    });
    </script>
    <?php
    }
    add_action('wp_footer', 'add_custom_script');

    then add following code to Quick CSS in Enfold theme options under General Styling tab

    .avia-testimonial-name { font-size: 18px; }
    .avia-testimonial-image {
    width: 100px;
    height: 100px; }

    then go to Settings > Media and increase thumbnail size to 100px ( or any other value, you should adjust the value in css code if you would like to use another value ) and regenerate thumbnails using – http://wordpress.org/plugins/regenerate-thumbnails/

    Best regards,
    Yigit

    #273911

    In reply to: Enfold Showcase

    Thank you @Josue! And thank you once again for the quick help you gave me while I was working on this. :)

    @zerozendesign
    hey, thanks for the heads-up about that thumbnail gallery! It’s responsive now, thanks to adding a couple lines of CSS. :)

    I’m already building another site with Enfold and it’s going great.
    ~ Ria

    #273815
    LouisLeedham
    Participant

    Hi guys,
    My homepage consists of various galleries, each being 1 large image with a 5 column wide set of thumbs below.

    I updated to the latest version and added some new pictures yesterday and I now now experiencing a strange issue.

    There are blank spaces within the thumbnail sets. So for 1 particular gallery there may be 2 full sets of thumbs 5 columns wide, but the next row the 1st 2 columns will be blank, but columns 3 4 and 5 will have thumbs as usual. then below the 1st 2 rows will be populated.

    Not all galleries are affected but the ones that are look very strange! I hope you can help.

    Thanks in advance,

    Louis

Viewing 30 results - 8,131 through 8,160 (of 10,095 total)