Viewing 30 results - 3,241 through 3,270 (of 10,097 total)
  • Author
    Search Results
  • stickinc
    Participant

    The embedded metadata in the full-screen previews on my photography portfolio galleries is missing. The metadata I’m referring to is my copyright notice and authorship information along with all of the camera data. Keeping this data with the large file is important to me.

    All the other “smaller” versions for mobile screens and for thumbnail views still have the metadata present. It’s just the large “full page/full screen previews.

    FYI….I’m not referring to the watermark and/or the visible copyright notice that I’ve placed on each photograph. That is still present on all size versions.

    Thank you.

    #920851

    In reply to: blog set up

    Hi,
    As all of these solutions were added without editing any theme files you should have no issues updating.
    * I just looked back again and see the facebook translation was done editing: /wp-content/themes/enfold/includes/helper-social-media.php
    So since you can’t override a helper function inside a child theme. The override will only work for template files such as the header.php, loops, templates etc. You can copy the whole “social icon builder” function in your child theme functions.php.

    
    if(!class_exists('avia_social_share_links'))
    {
    	class avia_social_share_links
    	{
    		var $args;
    		var $options;
    		var $links = array();
    		var $html  = "";
    		var $title = "";
    		var $counter = 0;
    		
    		/*
    		 * constructor
    		 * initialize the variables necessary for all social media links
    		 */
    
    		function __construct($args = array(), $options = false, $title = false)
    		{
    			$default_arguments = array
    			(
    				'facebook' 	=> array("encode"=>true, "encode_urls"=>false, "pattern" => "http://www.facebook.com/sharer.php?u=[permalink]&t=[title]" , 'label' => __("Share with child theme",'avia_framework')),
    				'twitter' 	=> array("encode"=>true, "encode_urls"=>false, "pattern" => "https://twitter.com/share?text=[title]&url=[shortlink]"),
    				'gplus' 	=> array("encode"=>true, "encode_urls"=>false, "pattern" => "https://plus.google.com/share?url=[permalink]" , 'label' => __("Share on Google+",'avia_framework')),
    				'pinterest' => array("encode"=>true, "encode_urls"=>true, "pattern" => "http://pinterest.com/pin/create/button/?url=[permalink]&description=[title]&media=[thumbnail]"),
    				'linkedin' 	=> array("encode"=>true, "encode_urls"=>false, "pattern" => "http://linkedin.com/shareArticle?mini=true&title=[title]&url=[permalink]"),
    				'tumblr' 	=> array("encode"=>true, "encode_urls"=>true, "pattern" => "http://www.tumblr.com/share/link?url=[permalink]&name=[title]&description=[excerpt]"),
    				'vk' 		=> array("encode"=>true, "encode_urls"=>false, "pattern" => "http://vk.com/share.php?url=[permalink]"),
    				'reddit' 	=> array("encode"=>true, "encode_urls"=>false, "pattern" => "http://reddit.com/submit?url=[permalink]&title=[title]"),
    				'mail' 		=> array("encode"=>true, "encode_urls"=>false, "pattern" => "mailto:?subject=[title]&body=[permalink]", 'label' => __("Share by Mail",'avia_framework') ),
    			);
    			
    			$this->args = apply_filters( 'avia_social_share_link_arguments', array_merge($default_arguments, $args) );
    			
    			if(empty($options)) $options = avia_get_option();
    			$this->options 	= $options;
    			$this->title 	= $title !== false? $title : __("Share this entry",'avia_framework');
    			$this->build_share_links();
    		}
    		
    		/*
    		 * filter social icons that are disabled in the backend. everything that is left will be displayed.
    		 * that way the user can hook into the "avia_social_share_link_arguments" filter above and add new social icons without the need to add a new backend option
    		 */
    		function build_share_links()
    		{
    			$thumb 					= wp_get_attachment_image_src( get_post_thumbnail_id(), 'masonry' );
    			$replace['permalink'] 	= !isset($this->post_data['permalink']) ? get_permalink() : $this->post_data['permalink'];
    			$replace['title'] 		= !isset($this->post_data['title']) ? get_the_title() : $this->post_data['title'];
    			$replace['excerpt'] 	= !isset($this->post_data['excerpt']) ? get_the_excerpt() : $this->post_data['excerpt'];
    			$replace['shortlink']	= !isset($this->post_data['shortlink']) ? wp_get_shortlink() : $this->post_data['shortlink'];
    			$replace['thumbnail']	= is_array($thumb) && isset($thumb[0]) ? $thumb[0] : "";
    			$replace['thumbnail']	= !isset($this->post_data['thumbnail']) ? $replace['thumbnail'] : $this->post_data['thumbnail'];
    			
    			$replace = apply_filters('avia_social_share_link_replace_values', $replace);
    			$charset = get_bloginfo('charset');
    			
    			foreach($this->args as $key => $share)
    			{
    				$share_key  = 'share_'.$key;
    				$url 		= $share['pattern'];
    				
    				//if the backend option is disabled skip to the next link. in any other case generate the share link
    				if(isset($this->options[$share_key]) && $this->options[$share_key] == 'disabled' ) continue;
    				
    				foreach($replace as $replace_key => $replace_value)
    				{
    					if(!empty($share['encode']) && $replace_key != 'shortlink' && $replace_key != 'permalink') $replace_value = rawurlencode(html_entity_decode($replace_value, ENT_QUOTES, $charset));
    					if(!empty($share['encode_urls']) && ($replace_key == 'shortlink' || $replace_key == 'permalink')) $replace_value = rawurlencode(html_entity_decode($replace_value, ENT_QUOTES, $charset));
    					
    					$url = str_replace("[{$replace_key}]", $replace_value, $url);
    				}
    				
    				$this->args[$key]['url'] = $url;
    				$this->counter ++;
    			}
    		}
    		
    		
    		
    		/*
    		 * function html
    		 * builds the html, based on the available urls
    		 */
    
    		function html()
    		{
    			global $avia_config;
    			
    			if($this->counter == 0) return;
    			
    			$this->html .= "<div class='av-share-box'>";
    			if($this->title)
    			{
    				$this->html .= 		"<h5 class='av-share-link-description'>";
    				$this->html .= 		apply_filters('avia_social_share_title', $this->title , $this->args);
    				$this->html .= 		"</h5>";
    			}
    			$this->html .= 		"<ul class='av-share-box-list noLightbox'>";
    			
    			foreach($this->args as $key => $share)
    			{
    				if(empty($share['url'])) continue;
    			
    				$icon = isset($share['icon']) ? $share['icon'] : $key;
    				$name = isset($share['label'])? $share['label']: __("Share on",'avia_framework'). " " .ucfirst($key);
    				
    				$blank = strpos($share['url'], 'mailto') !== false ? "" : "target='_blank'";
    				
    				$this->html .= "<li class='av-share-link av-social-link-{$key}' >";
    				$this->html .= 		"<a {$blank} href='".$share['url']."' ".av_icon_string($icon)." title='' data-avia-related-tooltip='{$name}'><span class='avia_hidden_link_text'>{$name}</span></a>";
    				$this->html .= "</li>";
    			}
    			
    			$this->html .= 		"</ul>";
    			$this->html .= "</div>";
    			
    			return $this->html;
    		}
    		
    		
    		
    		
    	}
    }
    

    I tested this in my localhost child theme to ensure it wourks, search for “Share with child theme” within this code and replace with your translation.

    Best regards,
    Mike

    #920849
    jessy_websites
    Participant

    Hello

    I find a solution without that

    Thanks a lot
    Regards
    Jessy

    #920775

    Hey Haycreations,

    You need to add the code from here to your functions.php and regenerate thumbnails
    http://www.wpbeginner.com/wp-tutorials/how-to-increase-or-decrease-wordpress-jpeg-image-compression/

    Mastering Image Optimization in WordPress

    Best regards,
    Victoria

    • This reply was modified 8 years, 1 month ago by Victoria.
    #919833

    Hi Ismael,
    I regenerated the thumbnails for both of these images and it resolved the issue. I also did the same on my live site and all is well there too.
    Thank you for your help.
    Lyse

    #919779

    on your code above it looks like you want to redefine the magazine size.
    redefine existing size

    function custom_modified_thumb_sizes( $size ){
    	$size['square'] = array('width'=>300, 'height'=>300 );			
    	return $size;
    }
    add_filter('avf_modify_thumb_size', 'custom_modified_thumb_sizes', 10, 1 );

    if you like to have f.e. masonry and magazine sizes to be selectable on image alb :

    add_filter( 'image_size_names_choose', 'avia_add_selectable_images' );
    function avia_add_selectable_images($sizes) {
    	$newsize = array (
    		'masonry' => __('Masonry Thumbnail','avia_framework'),
    		'magazine' => __('Magazine Thumbnail','avia_framework')
    	);
    	if(isset($newsize)){
    		$sizes = array_merge($sizes, $newsize);
    	}
    	return $sizes;
    }

    • This reply was modified 8 years, 1 month ago by Guenni007.
    #919769

    @Ismael — I did regenerate images and also tried re-uploading, just in case. The image I’m uploading is 720 x 465, so, as I understand it, it should crop to my new 495 x 400 size (since it’s bigger than that in both directions). But, BTW, should I even have to regenerate/re-upload since I’m just switching the Magazine size to use a thumbnail size already available in the theme?


    @Guenni007
    — Thanks, but I’m not trying to add a new size to the array, I’m just trying to tell the Magazine element to grab a different size — a size that’s already available in the theme. So I think it’s a little different solution than you’re referring to. But I could be wrong ;)

    #919758

    i only knew the code to add or overwrite a given image-size by : https://kriesi.at/support/topic/override-the-global-avia_config-in-a-child-theme/#post-714683
    so this code above is all you have inserted in your functions.php – i guess that there will be no effect (even after regenerating thumbnail sizes)

    and if new size is not selectable on alb element you can add with code here:
    https://kriesi.at/support/topic/more-image-sizes-in-folder-than-available-to-insert/#post-455442

    #919570

    Hi,

    Please post the login details in the private field so that we can test the modification. Or replace the code with this.

    if( !is_single() ) {
    	$link = get_the_permalink($the_id);
    } else {
            $link = avia_image_by_id(get_post_thumbnail_id(), 'large', 'url');
    }

    Best regards,
    Ismael

    #919527

    Hi,

    Did you regenerate the images after adjusting the thumbnail size? Adjusting that code won’t work without regenerating or re-uploading the images.

    Best regards,
    Ismael

    #919496

    Hi,

    Please try to reset the category thumbnails. ( see private field )

    Best regards,
    Ismael

    #919377
    ishiboy
    Participant

    Hi,

    How can I disable animation of thumbnails in the Masonry Gallery? Thanks

    #919122

    Topic: Blog layout – grid

    in forum Enfold
    Kamakshi
    Participant

    HI,

    I am currently using a grid style for the blog post titles on our blog page and the home page. I need help with the following:

    1) How to reduce the excerpt lines for each blog post. Right now on our home page – each blog has 6/7 lines and I want to limit it to 2/3 lines.

    2) I want to create a border around each blog grid/ thumbnail

    3) How to apply shadows to the the buttons/ text

    I would greatly appreciate your quick response to this.

    Link to our home page is in the section below.

    Many thanks

    #919078

    Hi,

    Thank you for the update.

    Please use this script in the functions.php file to disable the magazine element’s link.

    add_action('wp_footer', 'ava_custom_script');
    function ava_custom_script(){
    ?>
    <script type="text/javascript">
    (function($) {
    	$('.av-magazine-entry').each( function() {
    		var thumb, title;
    		thumb = $(this).find('.av-magazine-thumbnail');
    		title = $(this).find('.av-magazine-title');
    		
    		thumb.find('a').attr('href', '#').css('cursor', 'default');
    		title.find('a').attr('href', '#').css('cursor', 'default');
    	});
    })(jQuery);
    </script>
    <?php
    }

    Best regards,
    Ismael

    #918981

    In reply to: Demo Import

    when you open the view to the blog page you get this url

    http://event-grillen.com/blog/?preview_id=2838&preview_nonce=379b281023&_thumbnail_id=690&preview=true

    I dont know where its coming from – the correct site as this little grill icons under the header

    #918972

    Hi,

    You just need to set the Blog Style to Single Author, big preview Pic (no author picture is displayed, feature image is big)
    As for the gallery with thumbnails you are referring (A small gallery post) uses wordpress gallery on it’s content, this is the shortcode it uses:

    [gallery link="file" size="full" columns="5" ids="866,870,869,868,867"]

    Once you have those settings plus the default wordpress gallery, you would achieve the same thing. Let us know if you need further assistance.

    Best regards,
    Nikko

    #918967

    And how should the post be configured – to show such gallery with thumbnails?

    #918916
    koszachos
    Participant

    Hi, I am using the Shop Demo and wanted to have the avia tooltip on hover on image thumbnails of the product gallery as it is done on your site
    https://www.dropbox.com/s/nsv68ya9xytmnn0/Screenshot%202018-02-28%2010.33.40.png?dl=0
    At the moment the hover shows the custom overlay as shown here
    https://www.dropbox.com/s/pzjajanlf9cgclu/Screenshot%202018-02-28%2010.35.24.png?dl=0
    What is needed to achieve the same result, i.e. tooltip on hover?
    Thanks

    #918808

    Hi,

    There’s nothing css can do with it since the image itself is cropped, here is the image fetched on that page: http://greenlifestructures.com/wp-content/uploads/2018/02/gear-motors-431×321.jpg adjust it with entry_with_sidebar size and that should fix the issue, adding some css though would make it better to have some spaces between the category image thumbnail and the products.

    Best regards,
    Nikko

    #918587

    In reply to: Demo Import

    Sorry Mike – new Problem – but I think everything sticks togther.

    I have a blog site on http://www.event-grillen.com

    When I wanna see the page – I get the following (it is the front page)

    http://event-grillen.com/blog/?preview_id=2838&preview_nonce=c8439bac59&_thumbnail_id=690&preview=true

    When I use the menue I ll get a different view.

    Blog

    And when I am in WP working on the site it looks okay – emptied the cache already. Somehow the blog template is not working.

    • This reply was modified 8 years, 1 month ago by Mike. Reason: hide login
    #918494
    neilc_b
    Participant

    Hi, I didn’t recognise this behaviour happening until recently.

    On clicking on a thumbnail in a portfolio grid, the screen background dims for a moment prior to the Ajax preview window appearing. The same effect happens with Easy Slider slide transitions within the Ajax preview window. Is there a way to disable the screen from dimming before the preview window appears and also the next slide comes into view?

    The behaviour I describe is visible here: https://kriesi.at/themedemo/?theme=enfold-overview > Enfold 2017 Demo > Portfolio menu > Classic 4 columns Ajax

    Thanks in advance for your assiastance and advice. Best regards.

    #918356

    Hi,

    I see, can you install and activate this plugin: https://wordpress.org/plugins/simple-image-sizes/ then go to Settings > Media > then find entry_with_sidebar size adjust the width and height then Save. Under Thumbnail regeneration uncheck all except for entry_with_sidebar then in post type uncheck all except for Products then click on Regenerate Thumbnails button. Hope this helps :)

    Best regards,
    Nikko

    #917348

    Topic: gap

    in forum Enfold
    codecreative
    Participant

    hi guys im trying to style the catalogue so it looks nice for a menu at http://eatingfit.codecreative.uk/menu/

    it seems to be that the thumbnail image doesn’t make the column bigger, so the dotted lines are too high up for each image

    It seems even if a food image was say 500px tall it would just overflow its parenet container and not increase its size

    any help on this please?

    • This topic was modified 8 years, 1 month ago by codecreative.
    #916583
    Arne
    Participant

    Hello!
    I’m searching for a way to highlight posts of a certain category in Blog view an also the avia magazine function by for example a badge on the featured image / post thumbnail or some kind of color highlighting.
    I could not find a way in enfold or an external plugin and would be grateful for some hint!

    Best reagrds
    Arne

    #916464

    I am also having a problem with the instagram widget. I am running the latest version of Enfold.
    Thumbnails are not displaying but lightbox image is?

    Disregard found this post and got it working by changing thumbnail size to large

    #916425

    Hi,

    Okay I see, thanks for sending that over. Please add the following to quick css:

     @media only screen and (max-width: 767px)  {
    .first.real-thumbnail{
    margin-bottom:0px!important;
    }}

    Best regards,
    Jordan Shannon

    #916406
    bonbuttercup
    Participant

    Instead of using icons, is it possible to use images for the IconBox? If not, is there another way to utilize the functionality of the IconBox (the way the icons/text fade in, as well as the rollover functionality) but allow custom images in lieu of the icons?

    Site is still in development but is http://www.tciwest.com/j4f/ and I’m looking to replace the icons under Current Rebates with thumbnail circle images of each boat. Please let me know if this is possible.

    #916159

    Topic: Vimeo embed error

    in forum Enfold
    Munford
    Participant

    HI
    I am embedding Vimeo videos into this page, where I am building a video archive. Deadline is SOON.
    The videos thumbnail/images are not showing up, only the link, but when I click on the link the video plays fine.
    My settings in vimeo allow embedded, but the video is private. I think I had this problem before on another site and
    had to work around the issue.
    Can you take a look?
    thanks
    Nancy

    • This topic was modified 8 years, 1 month ago by Munford.
    #915760

    In reply to: re-szie logo

    sorry!

    I worked it out – I had uplaoaded the image as a thumbnail !

    #915677

    In reply to: Video not to autoplay

    Hi,

    Yes it is possible.
    here is how you can add an image based on the URL / ID of youtube.

    Each YouTube video has 4 generated images. They are predictably formatted as follows:

    https://img.youtube.com/vi//0.jpg
    https://img.youtube.com/vi/
    /1.jpg
    https://img.youtube.com/vi/
    /2.jpg
    https://img.youtube.com/vi/
    /3.jpg

    The first one in the list is a full size image and others are thumbnail images. The default thumbnail image (ie. one of 1.jpg, 2.jpg, 3.jpg) is:

    https://img.youtube.com/vi//default.jpg

    For the high quality version of the thumbnail use a url similar to this:

    https://img.youtube.com/vi//hqdefault.jpg

    There is also a medium quality version of the thumbnail, using a url similar to the HQ:

    https://img.youtube.com/vi//mqdefault.jpg

    For the standard definition version of the thumbnail, use a url similar to this:

    https://img.youtube.com/vi//sddefault.jpg

    For the maximum resolution version of the thumbnail use a url similar to this:

    https://img.youtube.com/vi//maxresdefault.jpg

    All of the above urls are available over http too. Additionally, the slightly shorter hostname i3.ytimg.com works in place of img.youtube.com in the example urls above.

    Alternatively, you can use the YouTube Data API (v3) to get thumbnail images.

    Best regards,
    Basilis

Viewing 30 results - 3,241 through 3,270 (of 10,097 total)