Viewing 30 results - 5,341 through 5,370 (of 10,101 total)
  • Author
    Search Results
  • #615870
    zalzy
    Participant

    Hi,
    Where could I change way of showing images in shortcode of masonry gallery?
    I would like to open not large, but just original images in gallery after clicking thumbnails.

    Best regards!
    zalzy

    #615829

    Thanks Josue, that did the trick :) Is there any way to keep lightbox enabled on the review thumbnails but not to allow it to be in the same gallery as the product images?

    #615820
    michaelhalims
    Participant

    Hello,
    I have 2 small issues with the gallery
    – The light box dont seem to be working. When the option is on, the images open on a new window on click. ( i have no plugins, and the latest theme update)

    -My gallery thumbnail images are displaying pixelated.
    I cannot find how to choose the size in the media galery.

    Thank a lot!
    Keep up the good work guys!

    Hey Robert!

    Thank you for using Enfold.

    It’s possible but you have to modify the productslider.php file inside the config-templatebuilder > avia-shortcodes folder. Look for this code around line 358:

    $image = get_the_post_thumbnail($product->id, 'square', array('class'=>"av-catalogue-image av-cart-update-image av-catalogue-image-{$show_images}"));
    

    The current thumbnail size is set to “square”.

    Cheers!
    Ismael

    #615648

    Hi!

    Use something like this:

    <a href="sample.pdf" target="_blank">PDF File</a>
    

    The wp image editor is not going to work in the theme because it generates different thumbnails for every elements use in the page. The image editor modifies the original image which is usually not use in the theme.

    Regards,
    Ismael

    #615440
    smartwithyou
    Participant

    Hi,

    I was wondering if there was on option in the enfold theme allowing to include the featured image of a post directly into the rss feed.

    I found a solution adding some code in the functions.php file but I thought this would be directly customizable in the theme options.

    If it’s not and for those who are interested, here is the code to add in you functions.php file (I found it on this forum from a 3 years old topic. I just tweaked itby adding a link to the post on the image) :

    function avia_add_images_to_rss_feed($content)
    {
    	global $post;
    	if ( has_post_thumbnail( $post->ID ) )
    	{
    		$content = '<a href="' . get_permalink() . '">' . get_the_post_thumbnail( $post->ID, 'full', array( 'style' => 'display: block;' ) ) . '</a><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');
    
    #615180

    Hi lenalavandel,
    I’m using this plugin https://www.woothemes.com/products/grid-list-toggle/
    that is advised by woo crew…

    I’ve solved myself the list alignment with this css custom mod:

    #top .thumbnail_container img {
    width: 100% !important;
    }

    ul.products.list li.product img {
    margin-top: 20px !important;
    }

    ul.products.list li.product hr {
    border-width: 0 0 0 0;
    margin-bottom: 0px;
    }

    ul.products.list li.product {
    position: inherit !important;
    padding: 0px 0px 0px 0px !important;
    }

    ul.products.list li.product .thumbnail_container {
    width: 30%;
    height: 50%;
    float: left;

    }

    #top .inner_product_header {
    clear: right;
    border-top-width: 0px;
    min-height: 0px;
    padding: 5px 5px 15px 5px !important;
    }

    div .products .product a, div .products .product a img {
    display: inline !important;
    }

    div.entry-content-wrapper ul.products.grid{
    margin-top: 20px !important;
    }

    div.entry-content-wrapper div.product-sorting{
    padding-bottom: 0px;
    }

    #615146
    Taftayers
    Participant

    Good afternoon,

    I build all of my websites with enfold and yesterday I did the new update for wordpress that came out on April 12th. When I did this, all graphics on my website disappeared. On the backdoor of the website it showed everything was fine, but when you actually looked at the site, anything that was not a thumbnail disappeared.

    I immediately went to my latest backup and restored my website, but now I’m afraid to update the 12 websites that I run.

    It seems to me that the new wordpress update just didn’t vibe with enfold.

    please advise,

    withoutwaxx
    Participant

    I have imported the coming soon demo, but nothing is displayed except the background image of the first section. I have tried adding icons and text boxes but nothing works?

    It is being really erratic with background images only being displayed as small thumbnails in the corner of 1/1 layout holders

    #614729

    Thank you! :)
    And If I do a new markup in the php? Its hard or not?
    Something like this? $cws-add-to-cart-url = $product->add_to_cart_url();

    
    global $product;
    					
    					$link 	= 	$product->add_to_cart_url();
    					$ajax_class = 'add_to_cart_button product_type_simple';
    					$text	= "";
    					$title 	= 	get_the_title();
                                            $cws-add-to-cart-url = $product->add_to_cart_url();
    					$content = 	get_the_excerpt();
    					$price = 	$product->get_price_html();
    					$rel   = "";
    					
    					if(empty($link_behavior))
    					{
    						$cart_url = get_the_permalink();
    						$ajax_class = "";
    					}
    					else
    					{
    						$cart_url = $product->add_to_cart_url();
    						$ajax_class = $product->is_purchasable() ? "add_to_cart_button" : "";
    						$rel = $product->is_purchasable() ? "rel='nofollow'" : "";
    					}
    					
    					$image = get_the_post_thumbnail($product->id, 'square', array('class'=>"av-catalogue-image av-cart-update-image av-catalogue-image-{$show_images}"));
    					
    					$text .= $image;
    					$text .= "<div class='av-catalogue-item-inner'>";
    					$text .= "<div class='av-catalogue-title-container'><div class='av-catalogue-title av-cart-update-title'>{$title}</div><div class='av-catalogue-price av-cart-update-price'>{$price}</div></div>";
    					$text .= "<div class='av-catalogue-content'>{$content}</div>";
    					$text .= "<div class='cws-add-to-cart'>{$cws-add-to-cart-url}</div>";
    					$text .= "</div>";
    

    Regards,
    Peter

    #614693

    Hi!

    Well now my host has deleted the contents of the directory. This blows.

    It’s possibly because of that. Could you please provide a link to the page? A screenshot will help. The theme generates thumbnails so that it doesn’t need to use the original image size for every image element on the page. It will speed up page load and in turn improve your search engine rankings.

    Best regards,
    Ismael

    #614444

    Sure thing. You can view it here:

    If you roll-over the thumbnails in the centre column you’ll see that all is OK, but if you roll-over the thumbnails on either the first or third column, you will see that as soon as the tooltip box has more than one line of text, the little triangle is misaligned.

    #614432

    Hi Ismael,

    1.) Thanks for the code. I see that this deletes the original image. But it does not assign another image as the thumbnail image for the word press Media Library. ?

    2.) thanks I think I understand. However I was actually wanting to set the image size on the AJAX PORTFOLIO GALLERY. However After resizing the window I see that the AJAX PORTFOLIO GALLERY is RESPONSIVE and there for source image for the gallery large image changed to the appropriate image source as the browser window resized.
    So this one is ALL GOOD!
    Thanks ; )

    #614382
    webWahine
    Participant

    Hello
    I’ve styled the instagram button underneath the thumbnails to the clients corporate color but I can seem to get either the font color or the background color to change on hover; please advise. I’d like the background color to change to #666. Thanks :) The page in question is in the private area – on hover the font disappears and goes to the default a link color.

    #613581

    Hey!

    1.) Add this in the functions.php file to remove the original image on upload:

    add_filter( 'wp_generate_attachment_metadata', 'avf_delete_fullsize_image' );
    function avf_delete_fullsize_image( $metadata )
    {
        $upload_dir = wp_upload_dir();
        $full_image_path = trailingslashit( $upload_dir['basedir'] ) . $metadata['file'];
        $deleted = unlink( $full_image_path );
    
        return $metadata;
    }

    2.) The thumbnail size settings is not available when setting a featured image because you have to set it in the portfolio grid’s Portfolio Grid Image Size option.

    NOTE: If you choose the first option in Portfolio Grid Image Size settings, the portfolio grid will follow this logic:

    case "1": $grid = 'av_fullwidth';  if($preview_mode == 'auto') $image_size = 'featured'; break;
    				case "2": $grid = 'av_one_half';   break;
    				case "3": $grid = 'av_one_third';  break;
    				case "4": $grid = 'av_one_fourth'; if($preview_mode == 'auto') $image_size = 'portfolio_small'; break;
    				case "5": $grid = 'av_one_fifth';  if($preview_mode == 'auto') $image_size = 'portfolio_small'; break;
    				case "6": $grid = 'av_one_sixth';  if($preview_mode == 'auto') $image_size = 'portfolio_small'; break;

    Regards,
    Ismael

    #613476

    Hi!

    It’s possible but you have to modify the config-templatebuilder > avia-shortcodes > slideshow_fullsize.php file. Look for this code around line 552:

    "subtype" =>  AviaHelper::get_registered_image_sizes(1000)	
    

    Do you really need to add another thumbnail? There are already 5 thumbnail sizes available.

    Cheers!
    Ismael

    #613433

    Hi!

    Please install the following plugin then go to the Settings > Media panel. Adjust the size, update, save then regenerate the thumbnails: https://wordpress.org/plugins/simple-image-sizes/

    Cheers!
    Ismael

    sushilkin
    Participant

    After upgrading wordpress 4.5 Slide show and gallery are not functioning well. It is showing preview only the first image and not changing to other images when mouse hover. Also the thumbnails are not clear now.

    http://prntscr.com/aryt8n

    #613259
    adorablurr
    Participant

    Hello,

    It seems like the gallery thumbnails are set at 10% opacity right now, and I have no idea how to change it back to 100%. Or how it happened to begin with.

    This is the page I am struggling with:
    http://www.carolinecheng.net/travel/

    Thanks.

    • This topic was modified 10 years ago by adorablurr.
    #613209

    Topic: Post slider layout

    in forum Enfold
    hannelynne
    Participant

    Hi! I updated to Enfold 3.5.2 after the WordPress update yesterday, and the site is working well again and I’m doing some changes.

    I only have one question about an item that has changed after the update, It is the post slider on home page. The thumbnails are fine, but underneath the pic the category is now being displayed instead of the date. And the date has now moved underneath the news headline. The post slider edit in Avia layout builder doesn’t let me edit this. What I had, and want, is picture, date, headline, “read more” from top to bottom. Is there a piece of code that should go somewhere?

    • This topic was modified 10 years ago by hannelynne.
    #613118
    hdpcr
    Participant

    Hi
    I need to change the width , color and transparency of gallery borders when using Big Image with thumbnails below. In withe background you wont notice that but if i use bark background you will see the border white and thick also the thumbnail border is too tick is i use just 4 o 5 columns.

    Thank you

    #613029

    I added the code at the very bottom in functions.php. After that, header images are no longer visible, just white empty space. I have tried to re-upload images and can see the small thumbnail in product-category settings. But they no longer appear as product-category/header images.

    EDIT: Images not appearing happened after I updated Enfold to 3.5. I tried the code above with 3.4.1 of Enfold, and the images were visible but they were still in parallax, the code did nothing. Now, in 3.5 it just removes the header images.

    #612690

    Hi lobstahhhhhhh!

    Please go to Appearance > Editor and edit functions.php file and find

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

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

    Regards,
    Yigit

    Hi Yigit,

    Thanks so much for the quick response. I have done that and its worked except the blog post featured images and recipe featured images have blown out of proportion? They are massive and cut off? Also the social sharing at the bottom of each page is also huge? I did try the regenerate thumbnails once before at it never worked, if you could maybe assist with this that would be great for it looks terrible.

    Have attached the urls for you to take a look.

    Thanks in advance

    #612329

    Hi,

    Open js/avia.js and look for line:

    exclude			:	'.noLightbox, .noLightbox a, .fakeLightbox, .lightbox-added, a[href*="dropbox.com"]',
    

    Replace it by this:

    exclude			:	'.review_thumbnail a, .noLightbox, .noLightbox a, .fakeLightbox, .lightbox-added, a[href*="dropbox.com"]',
    

    Regards,
    Josue

    #612118

    Hi Ismael,

    I’d like to jump on this as well.

    I’ve been reading forums for a couple of hours now – but nothing’s really answers the questions.

    More and more I am getting clients that don’t even know how to resize an image – which is totally frustrating.
    I have setup a new website and everything has been size and uploaded at the correct size for each element.
    it’s perfect!

    However once the client steps in – I just know that original iPad or iPhone images are going to be uploaded to the WordPress Gallery.
    These original full size images will range from 2 MB to 5MB.

    To remedy this I have installed SMUSH PRO.
    ( however with smush pro activated – I keep getting HTML Errors when uploading to the Image Library)

    I also am aware that Enfold Resizes the images to the theme thumbnail sizes. However..

    ISSUE 1.
    The original uploaded full size image still remains on the server.
    example:
    File size: 3 MB
    Dimensions: 3264 × 2448

    I’d like to make one of the enfold theme images (or a custom image size) as the new full size image and delete the original full size image from the upload directory.
    The hope is that when your in WordPress Media Library and you select an image – the attachment details window is some thing more like this.
    Example:
    File size: 134KB
    Dimensions: 845×684 (Which is the Enfold thumbnail size for Gallery – 845×684)

    I’m looking into the link below as a solution but wanted to know if there is something else a plugin or some previous supplied forum code that already does this.?
    http://wordpress.stackexchange.com/questions/63707/automatically-replace-original-uploaded-image-with-large-image-size

    ISSUE 2

    When you attach an image as a Feature Image or to an Ajax Portfolio Gallery – the ability to select the attachment size is not available.

    As discussed when setting up the site and creating a Ajax Portfolio and the Post Feature Images I have cropped and resized the images for their specific tasks.

    So before handing off to the client I have done a test and upload 2 original iPhone photos
    IMAGE 1
    File size: 3 MB
    Dimensions: 3264 × 2448
    IMAGE 2
    File size: 2 MB
    Dimensions: 3264 × 2448

    When I add these images to the Ajax Portfolio and then inspect the gallery element in Google Chrome Dev tools – The Gallery Large preview image above the smaller thumbnail images are 1030 x 773 which is a proportionate scaling of the original image dimensions to Enfold Thumbnail size Large – 1030 x 687.

    The thing is when I setup the site – I resized and uploaded all image for the Ajax Portfolio gallery to be (Gallery – 845 x 648)

    So moving forward the client is not going to know how to crop resize and upload the correct image dimensions

    I hoping that you can provide an example using the code above that does the reverse … and actually predefines which enfold thumbnail size (example: Gallery – 845×684) is to be the default image size for all Ajax Portfolio Gallery Images
    OR (example: entry with sidebar – 845 x 321) is to be the default image size of all Feature Images
    regardless of the original image dimensions and actually use the Enfold thumbnail sized images.

    That way the client can’t mess-up the site moving forward.

    I look forward to your response

    #612065

    Hey!

    the plugin I mentioned is the easiest way to get control over image sizes. However, you can check your functions.php for this too:

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

    Adjust the image sizes there as needed.

    Best regards,
    Andy

    #612028

    OK. Final question and if I can’t get it to work for me…oh well.

    If the masonry size is set to 705 x 705 and an image is 705 on the long edge, it sets the short edge to 471 which is the proper 2:3 ration. If an image is portrait orientation (taller, rather than wider), why does it set the long edge to 471 instead of 705. This is what my problem is. The image of the Alaskan totem pole is 705 on the long edge just like the others, but the orientation is different. Is the grid gallery page set so each row has the same height and you cannot mix landscape and portrait orientation?

    Also, I re-imported the “oriente of cuba” landscape image with 705 on the long edge, using the plug-in and regenerating the thumbnails. The image is still cropped…unless you open the gallery in which you will see the entire image.

    Perhaps this theme is really not for photographers?

    #611916

    Hello;

    I installed the plugin you recommended and have a few simple questions.

    Would updating the 705 x 705 masonry setting negatively impact the look/feel of your theme? I would like the images to display a bit larger by default. I also am struggling with the landscape/portrait settings. I exported a test image as 705px long side using both a landscape and portrait image orientation. The portfolio main page still crops the portrait orientation for display. I used the plugin and regenerated the thumbnails. Shouldn’t the image display 705 on the long side and not have to crop? The same image is NOT cropped one you click on the gallery to display the images contained within.

    What is the element name for the images within the gallery: still masonry?

    si3sta
    Participant

    Hi,
    I need to have a photo gallery to show the different colors you can apply to my clients product. For that matter i need the thumbnail image and the image to show to be different to each other ( plain color thumbnail that open an image of the colored product). Here is an example of what i am trying to do: http://www.disegnacolor.es/es/coleccionesDecking/nature

    I dont see any built in solution in Enfold Theme, and tryed out a couple of plugings but they did not work propertly.

    I can think about 2 possible solutions:

    1. An existing plugin: Is there any photo gallery with this features compatible with Enfold?

    2. Customize PHP: I thought on a fast fix by customizing Enfold photogallery by adding a new version of the existing gallery and concatenating a suffix like “tumb” to it on PHP. Like that i would only have to worry on name the files properly. If that works i would like to add the new gallery to backend shortcode options.

    I am open to any other idea.
    Thanks in advance,
    C

Viewing 30 results - 5,341 through 5,370 (of 10,101 total)