Viewing 30 results - 8,281 through 8,310 (of 10,095 total)
  • Author
    Search Results
  • #258577

    In reply to: Video Thumbnails

    Hey!

    You can use the ‘poster’ parameter in the video shortcode:
    https://codex.wordpress.org/Video_Shortcode

    Best regards,
    Josue

    #258572

    In reply to: Video Thumbnails

    lol

    Well. I’m sure none, including yourself, endorse or make a practice of utilizing copyrighted material.

    If I were to have self-hosted video then, if I remember correctly, add it as a portfolio item. Use the preview image (For AJAX style) or feature image (for non AJAX) as the thumbnail. On a page you would add the portfolio element and select the category the video was assigned to.

    I looked into doing prior to using YouTube and the way I did it for one of my sites so my notes may be a bit sketchy but I think it may help get you into the ballpark.

    • A portfolio FEATURE image is 495 x 400 pixels (scales down to 276 x 352)
    • Portfolio can have a video with and without gallery.
    • No gallery images required if only a video
    • Preview text only appears in AJAX (Slide up) configuration
    • Excerpt text appears below portfolio module – required
    • Add 2/3-1/3 layout element
    o Video link in 2/3 container
    o Text block in 1/3 container
    • Add 1/1 layout element below (if wanting text content below)
    • if you wish Add special heading (for article title)
    • Add text block
    • Add 1/1 layout
    • Add comments

    Hope this gets you going the right way.

    EDIT: Yup…poster parameter probably is the better way to go. There are many smarter people than I.

    • This reply was modified 11 years, 11 months ago by TheMediaman.
    #258564

    In reply to: Video Thumbnails

    Thank you for the response. I would love to post these on YouTube, but they are licensed and we aren’t legally able to do so.

    Any other ideas? :)

    #258562

    Could you check my code? Could the problem be there? config-layerslider/config.php

    <?php

    if(!function_exists(‘avia_find_layersliders’))
    {
    function avia_find_layersliders($names_only = false)
    {
    // Get WPDB Object
    global $wpdb;

    // Table name
    $table_name = $wpdb->prefix . “layerslider”;

    // Get sliders
    $sliders = $wpdb->get_results( “SELECT * FROM $table_name WHERE flag_hidden = ‘0’ AND flag_deleted = ‘0’ ORDER BY date_c ASC LIMIT 100” );

    if(empty($sliders)) return;

    if($names_only)
    {
    $new = array();
    foreach($sliders as $key => $item)
    {
    if(empty($item->name)) $item->name = __(“(Unnamed Slider)”,”avia_framework”);
    $new[$item->name] = $item->id;
    }

    return $new;
    }

    return $sliders;
    }
    }

    /********************************************************/
    /* Action to import sample slider – modified version */
    /********************************************************/

    if(!function_exists(‘avia_remove_default_import’))
    {
    add_action(‘admin_menu’, ‘avia_remove_default_import’,1);

    function avia_remove_default_import()
    {
    if(isset($_GET[‘page’]) && $_GET[‘page’] == ‘layerslider’ && isset($_GET[‘action’]) && $_GET[‘action’] == ‘import_sample’)
    {
    remove_action( ‘admin_init’ , ‘layerslider_import_sample_slider’);
    add_action( ‘admin_init’ , ‘avia_import_sample_slider’);
    }
    }
    }

    if(!function_exists(‘avia_import_sample_slider’))
    {
    function avia_import_sample_slider() {

    // Base64 encoded, serialized slider export code
    $path = “avia-samples/”;
    $sample_file = “sample_sliders.txt”;
    $sample_slider = json_decode(base64_decode(file_get_contents(dirname(__FILE__).”/LayerSlider/{$path}{$sample_file}”)), true);

    //echo”

    ";
    		//print_r(base64_encode(str_replace('avia-samples','sampleslider', base64_decode(file_get_contents(dirname(__FILE__).'/LayerSlider/sampleslider/sample_sliders2.txt'))))) ;
    		//echo"
    ";
    		//die();
    		
    
    		// Iterate over the sliders
    		foreach($sample_slider as $sliderkey => $slider) {
    	
    			// Iterate over the layers
    			foreach($sample_slider[$sliderkey]['layers'] as $layerkey => $layer) {
    	
    				// Change background images if any
    				if(!empty($sample_slider[$sliderkey]['layers'][$layerkey]['properties']['background'])) {
    					$sample_slider[$sliderkey]['layers'][$layerkey]['properties']['background'] = $GLOBALS['lsPluginPath'].$path.basename($layer['properties']['background']);
    				}
    	
    				// Change thumbnail images if any
    				if(!empty($sample_slider[$sliderkey]['layers'][$layerkey]['properties']['thumbnail'])) {
    					$sample_slider[$sliderkey]['layers'][$layerkey]['properties']['thumbnail'] = $GLOBALS['lsPluginPath'].$path.basename($layer['properties']['thumbnail']);
    				}
    	
    				// Iterate over the sublayers
    				if(isset($layer['sublayers']) && !empty($layer['sublayers'])) {
    					foreach($layer['sublayers'] as $sublayerkey => $sublayer) {
    		
    						// Only IMG sublayers
    						if($sublayer['type'] == 'img') {
    							$sample_slider[$sliderkey]['layers'][$layerkey]['sublayers'][$sublayerkey]['image'] = $GLOBALS['lsPluginPath'].$path.basename($sublayer['image']);
    						}
    					}
    				}
    			}
    		}
    	
    		// Get WPDB Object
    		global $wpdb;
    	
    		// Table name
    		$table_name = $wpdb->prefix . "layerslider";
    	
    		// Append duplicate
    		foreach($sample_slider as $key => $val) {
    	
    			// Insert the duplicate
    			$wpdb->query(
    				$wpdb->prepare("INSERT INTO $table_name
    									(name, data, date_c, date_m)
    								VALUES (%s, %s, %d, %d)",
    								$val['properties']['title'],
    								json_encode($val),
    								time(),
    								time()
    				)
    			);
    		}
    	
    	}
    }
    
    
    
    
    
    
    
    /**************************/
    /* Include LayerSlider WP */
    /**************************/
    if(is_admin())
    {	
    	add_action('init', 'avia_include_layerslider' , 45 );
    }
    else
    {	
    	add_action('wp', 'avia_include_layerslider' , 45 );
    }
    
    function avia_include_layerslider()
    {	
    	if(!is_admin() && !post_has_layerslider()) return;
    	
    	// Path for LayerSlider WP main PHP file
    	$layerslider = get_template_directory() . '/config-layerslider/LayerSlider/layerslider.php';
    	$themeNice	 = avia_backend_safe_string(THEMENAME);
    
    	// Check if the file is available and the user didnt activate the layerslide plugin to prevent warnings
    	if(file_exists($layerslider)) 
    	{
    		if(function_exists('layerslider')) //layerslider plugin is active
    		{
    			if(get_option("{$themeNice}_layerslider_activated", '0') == '0') 
    			{
    		        //import sample sliders
    		 		avia_import_sample_slider();
    		 		
    		        // Save a flag that it is activated, so this won't run again
    		        update_option("{$themeNice}_layerslider_activated", '1');
    		    }
    		}
    		else //not active, use theme version instead
    		{
    		    // Include the file
    		    include $layerslider;
    		    
    		    $GLOBALS['lsPluginPath'] 	= get_template_directory_uri() . '/config-layerslider/LayerSlider/';
    		    $GLOBALS['lsAutoUpdateBox'] = false;
    		 
    		    // Activate the plugin if necessary
    		    if(get_option("{$themeNice}_layerslider_activated", '0') == '0') {
    		 
    		        // Run activation script
    		        layerslider_activation_scripts();
    		        
    		        //import sample sliders
    		 		avia_import_sample_slider();
    		 		
    		        // Save a flag that it is activated, so this won't run again
    		        update_option("{$themeNice}_layerslider_activated", '1');
    		    }
    	    }
    	}
    }
    
    
    #258534

    In reply to: Video Thumbnails

    What may be a possible and, perhaps, favorable solution would be to put your videos on YouTube. Set a custom thumbnail there and then install the Hide YouTube Related Videos plugin which blocks the mosaic tilework of related videos from appearing a the end of the video. Embed the YouTube link into your site via the video element.

    You would save bandwidth on your hosted site. (and potentially $ if you go exceed limit) You could make the videos on YoutTube unlisted then just copy the URL to your site. Private won’t work as you have to have to be logged in to see the video. No one on YouTube could see the videos in your channel unless they knew the direct URL.

    An idea to consider.

    #258523

    Topic: Video Thumbnails

    in forum Enfold
    atrixdave
    Participant

    Hello,

    I’m using the video element on my site, and I want to know how to display a thumbnail/poster before the video plays. Right now it just shows a black screen before the video starts, which might just be a screen capture of the very beginning of the video.

    I tried using the image/link-to-video idea that I found in another thread to utilize a lightbox, but my self-hosted videos aren’t showing in a lightbox, but instead are taking over the screen.

    So my questions would be:
    1. How can I display a thumbnail or poster for a self hosted video that plays directly on the site, or
    2. How do I get a lightbox to properly display for my self-hosted video, while also displaying a thumbnail/poster.

    Any help would be greatly appreciated. Love the theme.

    Thanks,

    Dave

    gerdrosenauer
    Participant

    Hi,

    I’ve a problem with the ajax-portfolio in an portfolio-entry in gallery-view. I have images in landscape and portrait orientation and want to see them without crop in all views. It is possible with the small thumbnails but not with the middle-sized thumbnails. The full view after a click onto the image is also presented correctly.

    When I use list-view the middle-sized thumbnails are shown correctly so it seams to be possible. Is there a way to do this?

    thanks

    gr

    #258307

    Hi Peter – changing the “Gallery Preview Image Size” to “Thumbnail (80×80)” has resolved the issue. Thanks so much for your help. ~Jason

    #258288

    Hey!

    Thank you for the update.

    I’m sorry but this is only possible if you set the post to Link format as Devin suggested then add the url in the content of where you want the thumbnail to redirect. In order to fix the excerpt, while editing the post, click on Screen Options then enable the Excerpt meta box. Place the summary or excerpt there. For example, create a post called Google Link, set it to Link format. Add http://www.google.com on the content editor then the excerpt on the Excerpt metabox. If you check the grid layout overview page, you’ll see that the featured image of the post will go to http://www.google.com when clicked.

    Cheers!
    Ismael

    #258187

    I got it !

    After some minutes searching in the av_shortcode portfolio.php i found the solution. For people who want the tips :

    Line 419 in portfolio.php :

    else
                    {
                        $extraClass .= ' default_av_fullwidth ';
    
                        $output .= "<div data-ajax-id='{$the_id}' class=' rozepitem grid-entry flex_column isotope-item all_sort {$style_class} {$post_class} {$sort_class} {$grid} {$extraClass}'>";
    	                $output .= !empty($excerpt) ? "<a href='{$title_link}' title='".esc_attr(strip_tags($title))."'><div class='rozeptxt grid-entry-excerpt entry-content' ".avia_markup_helper(array('context'=>'entry_content','echo'=>false)).">".$excerpt."</div></a>" : '';
                        $output .= "<article class='main_color inner-entry' ".avia_markup_helper(array('context' => 'entry','echo'=>false)).">";
    					
                        $output .= apply_filters('avf_portfolio_extra', "", $entry);
                        $output .= "<".$link_markup[0]." data-rel='grid-".avia_post_grid::$grid."' class='grid-image avia-hover-fx'>".$custom_overlay.get_the_post_thumbnail( $the_id, $image_size )."</".$link_markup[1].">";
                        /*$output .= !empty($title) || !empty($excerpt) ? "<div style='z-index:100;box-shadow: 0px -5px 20px #888888;' class='grid-content'><div class='avia-arrow'></div>" : '';
    
                        if(!empty($title))
                        {
                            $markup = avia_markup_helper(array('context' => 'entry_title','echo'=>false));
                            $output .= '<header style="z-index:100;" class="entry-content-header">';
                            $output .= "<h3 class='grid-entry-title entry-title' $markup><a href='{$title_link}' title='".esc_attr(strip_tags($title))."'>".$title."</a></h3>";
                            $output .= '</header>';
                        }
                        $output .= !empty($title) || !empty($excerpt) ? "</div>" : '';*/
                        $output .= '<footer class="entry-footer"></footer>';
                        $output .= "</article>";
                        $output .= "</div>";
    // Add a new div containing the new default image
    	                $output .= "<div data-ajax-id='{$the_id}' class=' rozepitem grid-entry flex_column isotope-item all_sort {$style_class} {$post_class} {$sort_class} {$grid} {$extraClass}'>";
    	                $output .= "<img src='http://www.dysign.fr/wp-content/uploads/2010/09/logo-dysign-2010-206x206.jpg' alt='pen'></img>";
    	                $output .= "</div>";
    // Close the div
                    }

    But now, how can i have to do to put this code in my child theme ?
    Did i have to duplicate portfolio.php in my child-theme folder? or just duplicate the function called “function html” in my functions.php

    Thanks for your answer

    #258139

    Hi!

    Please try to use thumbnail images for the gallery preview images. Open the gallery option modal box and select a thumbnail size from the dropdown: http://www.clipular.com/c/6406267295760384.png?k=U2g8qnFh5lHjDfe2R2mq_yt6atQ and save the page.

    The thumbnail version of the image should load faster and the grid will be displayed properly.

    Cheers!
    Peter

    #258111

    Hey Devin,
    No, it’s a standard post, & the thumbnail (which is the featured image) links to the post (which is I guess default behaviour).
    If you look at this site: http://www.cdc.org.nz/ down the bottom is Latest Documents, this is a Color Section with 5 content blocks displaying 5 posts.
    Each of those posts are pulled from a category, displayed in a Grid Layout, displaying the Excerpt only, with a custom thumbnail of 80×80.
    I’ve got a date offset on four of them.
    The thing is, 4 out of 5 of the Excerpt text links, link directly to PDF files, whereas the thumbnail links to the post.
    Ideally what I’d like to happen is to be able to specify where the thumbnail links to, or (I guess) remove that functionality from the thumbnail image.
    Unless you can think of another way I can achive what I’m after?
    Jas

    #258091

    Hey Edna!

    Thank you for using the theme!

    I’m sorry but as far as I know, Kriesi disabled the layer slider skins. You can enable the thumbnail navigation on Slider Settings > Thumbnail Navigation > Appearance > Thumbnail navigation then add the picture of the member for each slide. You can then create different slides with the team member picture and description.

    Regards,
    Ismael

    #257821

    Hey!

    You can try using this plugin which reads and allows you to edit the sizes throughout the theme and WordPress at once: http://wordpress.org/plugins/simple-image-sizes/

    Best regards,
    Devin

    #257696

    Topic: Original WP-Galerie

    in forum Enfold
    coralys
    Participant

    Hallo liebes Kriesi-Team,

    erstmal danke für dieses wunderbare Thema. Sorry dafür, dass ich in deutsch schreibe (mein Englisch ist wirklich schlecht). Ich habe das Problem, dass ich gern in meinem Blog die Original-Wordpress-Galerie mit dem Plugin Tiled Galleries Carousel Without Jetpack (https://wordpress.org/plugins/tiled-gallery-carousel-without-jetpack/) nutzen möchte, wie beispielsweise hier:

    Beispiel

    Ich habe jedoch beim Einfügen der Galerie keine Wahlmöglichkeit, welchen Typ Galerie ich erstellen möchte, so wie hier angegeben:

    Wordpress
    Galerie bearbeiten

    Die erstellte Galerie besteht am Ende bei mir nur aus winzigen Thumbnails. Siehe:
    Test

    Was mache ich verkehrt? Ich hoffe, Ihr könnt mir weiter helfen.

    Liebe Grüße
    Cora

    • This topic was modified 11 years, 11 months ago by coralys.
    #257546

    Topic: Remove featured image

    in forum Enfold
    Pedro
    Participant

    Hi,

    I’ve checked the new featured for remove the featured image on single post. But this only works on posts. If I want to remove this featured image on CPT I checked that the code is on functions-enfold.php

    So I copy my code and change the name of the functions to avoid problems with the original functions. So this is the code that I have in my functions child-theme file:

    /* 
    Add a checkbox to the featured image metabox 
    */
    if(!function_exists('theme_featured_image_meta'))
    {
    	add_filter( 'admin_post_thumbnail_html', 'theme_featured_image_meta');
    	
    	function theme_featured_image_meta( $content ) 
    	{
    		global $post_type;
    	
    		if($post_type == "meeting")
    		{
    		    $text = __( "Don't display image on single post", 'avia_framework' );
    		    $id = '_avia_hide_featured_image';
    		    $value = esc_attr( get_post_meta( $post->ID, $id, true ) );
    		    $selected = !empty($value) ? "checked='checked'" : "";
    		    
    		    $label = '<label for="' . $id . '" class="selectit"><input '.$selected.' name="' . $id . '" type="checkbox" id="' . $id . '" value="1" > ' . $text .'</label>';
    		    return $content .= $label;
    		}
    		
    		return $content;
    	}
    }
    
    /* 
    Make sure the checkbox above is saved properly 
    */
    if(!function_exists('add_feature_image_checkbox'))
    {	
    	add_filter( 'avf_builder_elements', 'add_feature_image_checkbox');
    
    	function add_feature_image_checkbox($elements)
    	{	
    			$elements[] =  array(
    		        "slug"  => "layout",
    		        "id"    => "_avia_hide_featured_image",
    		        "type"  => "fake",
    		    );
    	   
    		return $elements;
    	}
    }

    The thing is the function to save the checkbox doesn’t work. What should I do? Thanks

    coeval
    Participant

    hey guys,

    I helped me a lot with my last problems, so I hope, that you can help me again.
    My Website is nearly finished, but I have Problem with all of my Masonry Galleries.
    I chose the Option “show all” and made several galleries (with round about 100 pictures for each gallery).
    But when I scroll down, the images/ thumbnails don’t show up correctly:
    They overlay in a strange way.

    I made a screenshot, where you can see, what I mean (on the right hand site):
    http://www.fotos-hochladen.net/uploads/bildschirmfoto2i7xbyp64l.png
    And here is the link to one of my galleries:
    http://coeval.de/demo/?page_id=4085

    Is there a change to solve this problem? Or is there a limit to the number of images
    for the masonry galleries, and 100 images are to much, to display?

    Thx a lot
    Danny

    • This topic was modified 11 years, 11 months ago by coeval.
    #257536

    Hi!

    No, unfortunately I’m not familiar with buddypress and I don’t know how you can replace the image with a bigger thumbnail.

    Cheers!
    Peter

    #257309

    Thanks Peter, is there a way to not have the images cropped? The main issue is that for some images the key part of the image could be in the middle, top or bottom of the image. So would be nice to show a scaled version as opposed to cropping.

    Is that possible?

    Also, can those lines above be added to the child theme functions.php rather than the core WordPress functions file?

    Thanks in advance.

    Hey!

    Setting the image to center center and then stretch to fit should always make it fit the background of that section. Just make sure that when you select the image its the largest version possible and not one of the smaller thumbnails that gets created.

    Regards,
    Devin

    #257149

    Hi Peter – gallery photos have been converted as jpgs at 60%. Looks like the “Thumbnail fade in effect” works, but the arrangement of the photos is still not neatly stacked.

    #256950

    Hi!

    Yes, afaik it’s possible to change the crop position since WP3.9. In functions.php search for:

    
    $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
    

    and replace these lines with

    
    $avia_config['imgSize']['entry_with_sidebar'] 	= array('width'=>710, 'height'=>270, array(top, center));		                 // big images for blog and page entries
    $avia_config['imgSize']['entry_without_sidebar']= array('width'=>1030, 'height'=>360, array(top, center));						// images for fullsize pages and fullsize slider
    

    You can replace ‘top’ with ‘center’, or ‘bottom’ (y position) and ‘center’ with ‘left’ or ‘right’ (x position). After the code change you must regenerate the thumbnails with: http://wordpress.org/plugins/regenerate-thumbnails/

    Regards,
    Peter

    Hey!

    Thank you for using the theme!

    Please edit includes > helper-post-formats.php, find this code on line 164:

    if(!function_exists('avia_image_slideshow_filter'))
    {
    	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);
    	}
    }

    Replace it with this:

    if(!function_exists('avia_image_slideshow_filter'))
    {
    	function avia_image_slideshow_filter($current_post)
    	{
    
    		$prepend_image = get_the_post_thumbnail(get_the_ID(), 'large');
    		$imagelink = get_permalink();
    		$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="'.$imagelink.'"><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="'.$imagelink.'">'.$image[0]."</a></div>";
    				}
    			}
    		}
    		else
    		{
    			$prepend_image = '<div class="avia-post-format-image"><a href="'.$imagelink.'">'.$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);
    	}
    }
    

    Cheers!
    Ismael

    #256929

    Hey!

    Thank you for the update.

    You can use this to set the width of the gallery thumbnails:

    #top #wrap_all .avia-gallery-1 .avia-gallery-thumb a {
    width: 125px !important;
    }

    The default width is 20%, also, depend on the number of columns that you set on the gallery options. Note that specifying the width using pixels might break the layout on smaller screens.

    Use this to convert the thumbnails to grayscale:

    #top #wrap_all .avia-gallery-1 .avia-gallery-thumb a img {
    filter: url(filters.svg#grayscale);
    filter: gray;
    -webkit-filter: grayscale(1);
    }
    
    #top #wrap_all .avia-gallery-1 .avia-gallery-thumb a:hover img {
    filter: none;
    -webkit-filter: grayscale(0);
    }

    Best regards,
    Ismael

    #256822

    Dear Josue,
    I’ve tested on few computers, both Pc & Mac, that does not work but a friend had no problems.

    CORRECTION.
    1. I just realized that it works fine going from the link to Gallery/Portfolio I provided earlier above. However, it does not work if I go from higher back up and then click Gallery/Portfolio, followed by clicking the thumbnails.

    http://photobooth.redmonsoon.com/
    http://weddings.redmonsoon.com/
    http://events.redmonsoon.com/

    2. I realized also that it works fine on my side if I right-click and choose to open in new page. After which I have no problems with the Lightbox.

    I understand that you may still be unable to replicate the error but its a real problem for me. Based on the symptoms I described can you offer me some solutions? Hopefully the new discovery is helpful. Thanks

    regards
    Kendrick

    • This reply was modified 11 years, 11 months ago by redmonsoon.

    Hey!

    It looks like you have at least one other, but I think 2 other, plugins running which are adding a lightbox to your images automatically. Deactivating your active plugins and then re-activating them one at a time will let you see which is causing that to happen.

    Regards,
    Devin

    #256811

    Hey Jason!

    Do you mean by using the Link post type? I’m not sure of any blog grid setting which would allow you to set a specific url for a post within the grid.

    Cheers!
    Devin

    #256796

    Hi Yigit!

    Thank you for the Menu, works great!!!!

    Below is a screenshot of my thumbnail issue. I want to make small thumbails which represent some brands.
    http://imgur.com/eQ0gA10

    And, just one more thing. Is it possible to make thumbnails as in the link: http://imgur.com/QT6LoxR ?
    I would like them to appear black&white and when you pass across them to make them colorized?

    Thank you once again!!

    Cheers!

    #256792

    Hi norrisd!

    The theme and WordPress create multiple thumbnail versions of your images whenever you upload an image. This is so that your users are not forced to load in full sized images just for a small thumbnail or inside of a page.

    While you can remove the function, its not something I would ever suggest to do since file storage isn’t really a concern these days.

    What you would need to do is remove this code from the functions.php to remove the ones the theme creates:

    
    /*
     * 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'=>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
    }
    

    Best regards,
    Devin

    #256751

    In reply to: Archive PAGEs

    Hi Bedros!

    1) Insert this code into your child theme functions.php file:

    
    add_filter('avf_title_args', 'fix_blog_page_title', 10, 2);
    function fix_blog_page_title($args,$id) {
    $args['title'] = get_the_title($id);
    $args['link'] = get_permalink($id);
    return $args;
    }
    
    

    It will replace the “Blog – Latest News” title with the post title. Personally I’m not sure if this really make sense because the post title is already displayed underneath the thumbnail but it’s up to you.

    2) You can deactivate the lightbox link with css code – insert it into the quick css field or into the child theme style.css:

    
    .big-preview.single-big{ pointer-events: none; }
    

    Best regards,
    Peter

Viewing 30 results - 8,281 through 8,310 (of 10,095 total)