Viewing 30 results - 6,421 through 6,450 (of 10,099 total)
  • Author
    Search Results
  • #473248

    I’ve just changed the setting so that the thumbnail is the whole image instead of a square. My client will likely be happy with that.

    #473132
    LonelyViking
    Participant

    Hi,

    I have created several galleries and the the square thumbnails created have been cropped at the centre of the images, which means that all of the people’s heads are cut off. Is there a way I can make the images get cropped from the top so the heads are visible?
    And also (I know this is a stretch and probably not possible, but worth asking just in case) is there a way I can batch edit the thumbnails to fix all of those already created?
    You can see the thumbnails here – http://gertjohancoetzee.com/collections/

    #472793

    In reply to: Cannot upload media

    When I upload images, they either come up in the library as fractional with no thumbnail, or go straight to “page not found”. Any other theme I have tried, image upload is fine, but of course my site looks awful while I’m getting the images into the library.

    #472683

    Hi Andy,

    I was able to remove the cropping form the portfolio_small size, so now I can see the whole image which is not exactly what I wanted but it works. There are still some post feature images that aren’t being affected by these changes. What image size are these square ones so I can remove the cropping from that too? http://www.mindscope.com/wp-content/uploads/2015/07/Thumbnail-error.png
    Currently I have “no cropping” settings on:
    Square size
    Extra large size
    Portfolio small size
    Masonry size
    Shop thumbnail size
    Shop single size
    Yet these square ones are still being cropped.

    Thanks,

    Mary

    #472652

    The thumbnail upscale plugin worked great. You can mark as resolved. Thanks.

    #472647

    Thanks for the reply. I just needed to regenerate all of my thumbnails and now the images look great in that section. This is resolved.

    #472433

    here is the basis for my import portfolio script from a csv… Still needing to figure out what’s wrong from post_meta as explained in my last message

    
    <?php 
    session_start(); 
    error_reporting(E_ALL-E_NOTICE);
    ini_set('display_errors', '1');
    ini_set("memory_limit","500M");
    ini_set('max_execution_time',500);
    require_once($_SERVER['DOCUMENT_ROOT'].'/wp-load.php');
    
    global $wpdb;
    
    function csv_split($line,$delim=';',$removeQuotes=false) { 
    	$fields = array(); 
    	$fldCount = 0; 
    	$inQuotes = false; 
    	for ($i = 0; $i < strlen($line); $i++) { 
    		if (!isset($fields[$fldCount])) $fields[$fldCount] = ""; 
    		$tmp = substr($line,$i,strlen($delim)); 
    		if ($tmp === $delim && !$inQuotes) { 
    			$fldCount++; 
    			$i += strlen($delim)-1; 
    		} else if ($fields[$fldCount] == "" && $line[$i] == '"' && !$inQuotes) { 
    			if (!$removeQuotes) $fields[$fldCount] .= $line[$i]; 
    			$inQuotes = true; 
    		} else if ($line[$i] == '"') { 
    			if ($line[$i+1] == '"') { 
    				$i++; 
    				$fields[$fldCount] .= $line[$i]; 
    			} else { 
    				if (!$removeQuotes) $fields[$fldCount] .= $line[$i]; 
    				$inQuotes = false; 
    			} 
    		} else { 
    			$fields[$fldCount] .= $line[$i]; 
    		} 
    	} 
    	return $fields; 
    } 
    ?>
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>Document sans titre</title>
    </head>
    
    <body>
    <?php 
    //////////////////////////////////////////
    // get detail from an existing portfolio... works like a template...
    //////////////////////////////////////////
    $page_id = 10534; // specific Page's id from your site, which you can find by mousing over the link to edit that Page on the Manage Pages admin page. The id will be embedded in the query string of the URL, e.g. page.php?action=edit&post=123.
    $page_data = get_page( $page_id ); 
    echo "<pre>"; print_r($page_data); echo "</pre>";
    $page_post_tags = wp_get_post_tags($page_id);
    echo "<pre>"; print_r($page_post_tags); echo "</pre>";
    $meta_values = get_post_meta( $page_id );
    echo "<pre>"; print_r($meta_values); echo "</pre>";
    //echo apply_filters('the_content', $page_data->post_content); // echo the content and retain WordPress filters such as paragraph tags.
    
    // get the featured image 
    //$limage = wp_get_attachment_image_src( get_post_thumbnail_id( $page_id ), 'single-post-thumbnail' ); 
    //echo "<pre>"; print_r($limage); echo "</pre>";
    
    // Get all the portfolios categories list
    $args = array(
        'orderby'           => 'name', 
        'order'             => 'ASC',
        'hide_empty'        => false, 
    ); 
    $tax_terms = get_terms('portfolio_entries', $args);
    //echo "<h2>Terms:</h2> <pre>"; print_r($tax_terms); echo "</pre>";
    
    // get the categories for a specific portfolio item
    //$product_terms = wp_get_object_terms( $page_id, 'portfolio_entries' );
    //echo "<pre>"; print_r($product_terms); echo "</pre>";
    
    //////////////////////////////////////////
    // Read CSV file and put it in a array of lines column
    /////////////////////////////////////////
    $datas = array();
    $contenu = file("capsules.csv");
    $the_limite = 2; //Number of line read max... if higher then number of line in file it will just get all line
    
    $liste_full = array();
    if (is_array($contenu)){
    	$x = 0;
    	$compteur = 0;	
    	foreach ($contenu as $line){
    		if ($x > 0 && $x < $the_limite + 1){
    			// Traitement pour problème d'accent avec excel
    			$line = trim(iconv("Windows-1252", "UTF-8", " ".$line." "));
    			// Découpage de la ligne en champs
    			$data = csv_split($line,';',true);
    			// Si c'est pas une ligne vide on l'ajoute a notre tableau
    			if (!empty($data[0])){
    //					$liste_full[] = strtolower($data[0]);
    				$liste_full[] = $data;
    			}
    		}
    		++$x;
    	}
    	echo "<p>Liste full de ".$x. " items</p>";
    }	
    
    // List of detail lines from csv file
    // We have 1 line per language and i reverse the array to get the main language first for each portfolio
    $liste_full = array_reverse($liste_full);
    echo "<pre>"; print_r($liste_full); echo "</pre>"; 
    
    // LOOP all item in the list to add portfolios pages
    $trid = 0;
    foreach($liste_full as $line){
    	
    	// Filling some variables
    	$tags = $line[8]; // List of tags for the portfolios
    	$image_url = "images_capsules/".$line[2]; // URL of the picture for featured image
    	$category_letter = strtoupper(substr($line[0], 0, 1));
    	$array_category_name = array("VIDEO", $category_letter); // List of exact category names to add to this portfolio case sensitive
    
    	// Replacement for the Template tags from data from csv
    	$content = $page_data->post_content;
    	$content =  str_replace("{{TITLE}}", $line[0], $content );	
    	$content =  str_replace("{{LINK_IMAGE}}", $line[2], $content );	
    	$content =  str_replace("{{LINK_CAPSULE}}", $line[4], $content );	
    	$content =  str_replace("{{LINK_FILE}}", $line[5], $content );	
    	$content =  str_replace("{{DESCRIPTION}}", $line[7], $content );	
    		
    	// filling post basic data
    	$page = array();
    	$page['post_type']    = 'portfolio';
    	$page['post_title']   = $line[0];
    	$page['post_content'] = $content;
    	$page['post_excerpt'] = $line[3];
    	$page['post_parent']  = 0;
    	$page['post_author']  = 1; // $user_ID;
    	$page['post_status']  = 'publish';
    
    	//Add page
    	$pageid = wp_insert_post ($page);
    	if ($pageid == 0) { // Add Page Failed 
    		echo "<h2>Error while creating the page with title : ".$line[0]."</h2>";
    	}
    
    	// if main language post get the TRID for the WPML link
    	if ($line[6] == "FR"){
    		$results = $wpdb->get_results( 'SELECT * FROM wpdb_icl_translations where element_id = '.$pageid, OBJECT );
    		foreach ($results as $row){
    			$trid = $row->trid;
    		}
    	// if second lang, we update the date in icl_translations
    	} else {
    		$wpdb->query( 'UPDATE wpdb_icl_translations SET source_language_code = "fr", language_code = "en", trid = '.$trid.' where element_id = '.$pageid.' AND element_type="post_portfolio"' );
    	}
    
    	// apply tags to the portfolio
    	wp_set_post_tags( $pageid, $tags, false ); // tags separé par , last item true = add false = replace 
    
    	//Set featured image
    	if ($line[6] == "FR"){ // Insert the image only for main language since image will be same for both language
    		$upload_dir = wp_upload_dir();
    		$image_data = file_get_contents($image_url);
    		$filename = basename($image_url);
    		if(wp_mkdir_p($upload_dir['path'])){
    			$file = $upload_dir['path'] . '/' . $filename;
    		} else {
    			$file = $upload_dir['basedir'] . '/' . $filename;
    		}
    		file_put_contents($file, $image_data);
    		
    		$wp_filetype = wp_check_filetype($filename, null );
    		$attachment = array(
    			'post_mime_type' => $wp_filetype['type'],
    			'post_title' => sanitize_file_name($filename),
    			'post_content' => '',
    			'post_status' => 'inherit'
    		);
    		$attach_id = wp_insert_attachment( $attachment, $file, $pageid );
    		require_once(ABSPATH . 'wp-admin/includes/image.php');
    		$attach_data = wp_generate_attachment_metadata( $attach_id, $file );
    	}
    	wp_update_attachment_metadata( $attach_id, $attach_data );
    	set_post_thumbnail( $pageid, $attach_id );
    	
    	// Set portfolio categories
    	$list_cat = array();
    	foreach ($tax_terms	as $taxo){
    		if (in_array($taxo->name, $array_category_name)){ $list_cat[] = $taxo->term_id; }
    	}
    	$list_cat = array_map( 'intval', $list_cat );
    	$list_cat = array_unique( $list_cat );	
    	$term_taxonomy_ids = wp_set_object_terms( $pageid, $list_cat, 'portfolio_entries', true );
    	if ( is_wp_error( $term_taxonomy_ids ) ) {
    		echo "<h2>There was an error somewhere and the categories couldn't be set.</h2>";
    	}
    
    	/*	
    	foreach ($meta_values as $key => $value)	{
    		if ($key == "_aviaLayoutBuilderCleanData") { $value[0] = $content; }
    		if ( ! add_post_meta( $page_id, $key, $value[0], true ) ) { 
    		   update_post_meta ( $page_id, $key, $value[0] );
    		}
    	}
    	*/
    }
    
    ?>
    </body>
    </html>
    
    #472301

    Hey ACNLatitudes!

    Thank you for using Enfold.

    The related section image is set to 180x180px by default. You can increase or decrease the thumbnail size if you want. The actual container size is 60x60px. Use this plugin to resize the “square” thumbnail size in the Settings > Media panel. Don’t forget to regenerate the thumbnails. https://wordpress.org/plugins/simple-image-sizes/

    Anyway, the related section looks fine when I checked it:

    Best regards,
    Ismael

    #471823
    Vital
    Participant

    Hello!
    I’d like to create a gallery from SWF movies:
    – there is a thumbnails page
    – by clicking on thumbnails user opens not an image, but a SWF movie – by clicking Next user opens next SWF movie

    The exact example I need is here: http://bannermaker.by/#banner

    Can I do the same by any additional plygin?
    Thank you!

    #471776

    Yes, server space was due to a large uploaded video, which was removed. We’re ok now on that.

    Image size reduce the size of thumbnails to what size? I did a test in Google Page speed and they recommended reducing image
    sizes, but to what size -is needed, I don’t know. I haven’t touched php code before.

    3) Yes am using color sections, I removed the single line under each section were necessary.
    Thanks, Elliot very much.

    Hi Keith!

    The effect is actually possible by performing some lengthy css changes to the current Masonry Grid tool with the overlay disabled and “Element Title and Excerpt” set to “display on mouse hover”.

    Right now the zoom effect is enabled by default, so you would need to apply a blue background-color (or similar) with an opacity setting of about 0.5 to the thumbnail container (on hover).

    For example:

    .av-fixed-size .av-masonry-outerimage-container:hover {
      position: absolute;
      background-color: #509DE1;
      opacity: 0.5;
    }

    The title and excerpt positioning can be altered using the below class group:

    .av-masonry-entry .av-masonry-entry-title {
      line-height: 1.3em;
      margin: 0;
      font-size: 50px;
      color: #fff;
    }

    Finally the default background that appears on hover can be removed with the below:

    .main_color .container .av-inner-masonry-content {
    background-color: transparent;
    }

    That is the gist for css. The font can be changed using a webfont tool of your choice.
    .
    Best regards,
    Dake

    #471747
    ACNLatitudes
    Participant

    Hello. I have the related posts option enabled, which shows 6 related posts below each blog post. However, the images appear distorted (as if they are being smushed). This makes people’s faces look skinny and narrow. I am not sure if this is due to the fact that I switched themes or if it is just something with how the images are sized.

    Can you please look into this? I’m providing a sample URL and our WP login credentials in the Private content area.

    If the Enfold theme happens to not be activated when you go to the site, then feel free to activate it (and then please return it back to the Fresh News theme when you are done). We are still in the process of switching over to this new theme.

    Thanks!

    #471661

    Never mind. I was able to resolve the issue by using the following code in my functions.php file:

    /*———————————————————————————–*/
    /* Makes a Special Sized Image for MailChimp RSS Emails*/
    /*———————————————————————————–*/
    if ( function_exists( ‘add_image_size’ ) ) {
    add_image_size( ‘mailchimp_featured’, 564, 9999); //564 pixels wide and unlimited height
    }

    /*———————————————————————————–*/
    /* Puts Featured Image into RSS Feed (Enfold Theme)*/
    /*———————————————————————————–*/

    function avia_add_images_to_rss_feed($content)
    {
    global $post;
    if ( has_post_thumbnail( $post->ID ) )
    {
    $content = get_the_post_thumbnail( $post->ID, ‘mailchimp_featured’, array( ‘style’ => ‘display: block;’ ) ) . ‘<br/>’ . $content;
    }
    return $content;
    }

    add_filter(‘the_excerpt_rss’, ‘avia_add_images_to_rss_feed’);
    add_filter(‘the_content_feed’, ‘avia_add_images_to_rss_feed’);

    #471627

    In reply to: Logo problems

    Hi!

    You selected a thumbnail version of the logo. When you click on the upload button for the logo option it will bring up a popup of your media library. Select the logo again and on the right hand side of the popup will be a size setting where you can set it to fullsize.

    Cheers!
    Elliott

    #471440

    Hey!

    please clear browser cache after regenerating your thumbnails. Show us which image exactly you are talking about and use screenshots to highlight (imgur, dropbox), so we can check it.

    Cheers!
    Andy

    #471166
    icvenfold
    Participant

    I searched all the past questions and solutions on this but none seem to work for me.
    I’d like to add some space between the thumbnails in a portfolio. Some css that I could use/edit no matter how many columns, maybe % based? if not possible I can use some fixed value.

    You can see the portfolio at the below link. I’d like about 5px between..
    Thank you

    #471099

    Hi Andy,

    Thanks i do see these settings, unfortunately I still don’t understand how to get the thumbnails to be right. I don’t upload a specific thumbnail images, I upload a feature image which is designed for social sharing but I want to control the way WordPress crops it so it looks right in my next post slider. I unselected the crop thumbnail to exact dimensions option on the media settings page but they are still being cropped.

    I don’t understand why adjusting the thumbnail on the edit media page for each image is not changing the thumbnails in the slider, can you explain?

    Thank you,

    Mary

    #470608
    Micheal0424
    Participant

    http://kriesi.at/themes/enfold-restaurant/menu/

    How can I control the size and shape of these thumb nails in the catalogue?

    I would like to be able to make the images in a rectangle shape.

    Can I do this with quick css ?

    Thank you.

    #470578
    Aljoscha23
    Participant

    Dear Enfold-Team,

    thank you again for your great theme and all the support that has been very helpful and fast so far! I ran into another issue I couldn’t solve completely. There is part of a solution in the forum – but I’m still not getting there.

    In this thread from 2013 JaredBurnett already mentions what I want to achieve as well. I followed all the advice in the thread and copied the code into the shortcode.js (the code starts in line 2104) as well as all the CSS into the QuickCSS:

    /*Remove Gallery Animation*/
    a.grid-image { opacity: 1!important; }
    .avia_transform .avia-gallery-thumb img.avia_start_animation {
    -webkit-animation: none;
    -moz-animation: none;
    -o-animation: none;
    animation: none; }
    .avia_transform .avia-gallery-thumb img {
    opacity: 1; }
    .js_active .avia-slideshow li:first-child {
    -webkit-transition: none!important;
    transition: none!important;
    }
    .js_active .avia-slideshow li:first-child {
    visibility: visible!important;
    }

    Now the thumbnail images do actually load instantly but then are still resized: http://sehw.think-berlin.de/portfolio-item/sit/.

    Maybe you could give me another hint on how to solve that.

    Best regards,
    Aljoscha

    #470543

    Hi,
    regenerating the thumbnails was the solution. Your are great.
    Best regards,
    Juraj

    #470532

    Hi Andy,

    I have installed it and see no new options on my media edit page, just to regenerate thumbnail, and when I edit the thumbnail and regenerate nothing happens in my next post slider, the images are still cropped wrong (http://www.mindscope.com/Recruiters-All-Aboard-the-Recruiting-Technology-Train). I don’t want to upload multiple images, I want to be able to crop my featured image to work for the thumbnails.

    Thanks,

    Mary

    #470378

    Topic: Post magazine element

    in forum Enfold
    Wils1234
    Participant

    Hi Support,

    I have selected the magazine element from the Avia layout and inserted it into a post.

    Please could you advise how I can sort them by ascending alphabetical order and remove the time stamp.

    This is the code:

    [av_magazine link='category,768' items='-1' offset='0' tabs='aviaTBtabs' thumbnails='aviaTBthumbnails' heading_active='aviaTBheading_active' heading='JUMP TO::' heading_link='manually,' heading_color='theme-color' heading_custom_color='#ffffff' first_big_pos='top' custom_class='']

    Thanks in advance.

    Hi Junmo!

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

    $avia_config['imgSize']['entry_without_sidebar']= array('width'=>1210, 'height'=>423 );		

    and change the sizes as needed and then regenerate thumbnails using this plugin – https://wordpress.org/plugins/regenerate-thumbnails/

    Cheers!
    Yigit

    #470136
    envapk2
    Participant

    Hi
    Is it possible to make the thumbnail images on the Product List for Woocommerce square instead of round?

    many thanks

    Peter

    #470119
    richardwilding
    Participant

    Dear Kriesi,

    I am using the Gallery element with the following settings:
    Big image with thumbnails below
    No Scaling
    No, do not force the same size

    When the first image in the sequence is a horizontal format, the big preview images display nicely to fit the width of my 2/3 width column, and any subsequent vertical images display nicely within the same height as the first horizontal image.

    But when the first image in the sequence is a vertical image, the big preview image displays much too large, with the vertical image filling the same width and therefore much too tall to fit on screen.

    How can I change the gallery behaviour, so that if the first image is vertical it also fits within the smaller height, so that the height of vertical images fits within a certain maximum height?

    Thanks, Richard

    #470118

    Hey!

    please regenerate your thumbnails with a plugin like this: https://wordpress.org/plugins/regenerate-thumbnails/
    Afterwards clear browser cache and refresh you website a few times.

    Wordpress is cropping your images by default when uploading and if you want to have more control over image size you can use this plugin: https://wordpress.org/plugins/simple-image-sizes/ (which can also regenerate your thumbnails).

    Best regards,
    Andy

    #470067

    Hey j_arendall!

    Thank you for using Enfold.

    Please edit the gallery element then set the Gallery Preview Image Size settings. It is currently set to widget thumbnails.

    Cheers!
    Ismael

    #469925
    rchadek
    Participant

    I updated to the latest version of Enfold (3.2.2) and now the “animated” elements on our homepage (i.e. Icon List bullets, Testimonial thumbnails, etc) aren’t animating and the Google Map embeds aren’t displaying. I can see the code in the Code Inspector but they’re not displaying.

    I’ve cleared the site’s cache and my browser cache. Same error in Firefox, Chrome, and IE. Can you take a look please?

    #469857
    j_arendall
    Participant

    I can’t seem to figure out why these thumbnails are blurry,

    I have selected bothe Yes and No for forcing the same size.

    36×36 widget

    #469796

    Hi Rikard,

    Here is a link to the screenshot > http://www.mindscope.com/wp-content/uploads/2015/07/Cropping-thumdnail-images.png < You can see that the thumbnails are cropped in a way weird way. I would like to be able to control how it crops. I have tried to crop the thumbnail and rebuild these images so far:
    http://www.mindscope.com/wp-content/uploads/2015/07/Recruiters-All-Aboard-the-Recruiting-Technology-Train-SoMe.jpg
    http://www.mindscope.com/wp-content/uploads/2015/06/NextChat-Recap-by-mindSCOPE-Recruiting-and-Staffing-Software.jpg
    http://www.mindscope.com/wp-content/uploads/2015/05/A-burst-of-growth-in-the-season-of-rejuvination-for-mindscope-recruiting-and-staffing-software.jpg

    They are the 2nd, 6th and 9th last photos, respectively, uploaded to the media library. I want to basically crop out the text, it’s more for the social media sharing and I’d rather not upload two images.

    Thanks again,

    Mary

Viewing 30 results - 6,421 through 6,450 (of 10,099 total)