Viewing 30 results - 7,981 through 8,010 (of 10,095 total)
  • Author
    Search Results
  • #291716

    Hey!

    Yes, please insert this code into the functions.php file (child theme functions.php or enfold/functions.php):

    
    add_filter('avf_avia_builder_masonry_lightbox_img_size', 'avia_change_gallery_thumbnail_link', 10, 1);
    function avia_change_gallery_thumbnail_link($size)
    {
        return "full";
    }
    

    Cheers!
    Peter

    #291712

    Hey!

    Yes, you can change the thumbnail size with css code – insert this code into the child theme style.css file or quick css field:

    
    #top .news-thumb, #top .news-thumb img {
    width: 108px;
    height: 36px;
    }
    

    Regards,
    Peter

    #291707

    In reply to: New Lightbox Issues

    Hi Ismael,

    1) It’s usually Youtube. I’ve removed the rel attribute for videos but it still doesn’t work. You can view the video link here: http://www.allbarcodesystems.com/products/equipment-cleaners/ Look for “What is a Cleaning Card? (video)”

    2) The only rel attributes I see is the one the theme adds by itself:

    <a href="http://abszone.allbarcodesystem.netdna-cdn.com/wp-content/uploads/2014/04/Adhesive-Remover-Cotton-Swabs.jpg" rel="lightbox[auto_group1]" class="alignnone" style="margin: 0px; padding: 0px; display: inline-block; position: relative; overflow: hidden;"><img src="http://abszone.allbarcodesystem.netdna-cdn.com/wp-content/uploads/2014/04/Adhesive-Remover-Cotton-Swabs-80x80.jpg" alt="Adhesive Remover Cotton Swabs | Equipment Cleaner | All Barcode Systems" width="80" height="80" class="alignnone size-thumbnail wp-image-3433"><span class="image-overlay overlay-type-image" style="display: none;"><span class="image-overlay-inside"></span></span></a>

    So I’m not quite sure how I would remove ‘ rel=”lightbox[auto_group1]” ‘

    Edit : FYI: When I upgraded versions, I used FTP. The original PrettyPhoto folder was still in the js folder. I’ve deleted it but it didn’t change anything. There is a possible chance there could be some other files affecting the lightbox? I’m not too sure myself.

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

    Hi Ismael,

    Thanks for your quick reply! How would I go about using those other image sizes? The options in the dropdown menu are:

    No Scaling
    Large
    Featured
    Featured Large
    Extra Large
    Entry Without Sidebar

    And I see no way to change those options in the Enfold Child menu or Settings > Media.

    Is there a way for the slider to automatically display/resize the images to fit the height, or is this better done by changing the thumbnail sizes?

    #291670

    In reply to: Image Quality

    Hey!

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

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

    and change it to

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

    then regenerate thumbnails using this plugin – https://wordpress.org/plugins/regenerate-thumbnails/
    and make sure to upload your images in 1500x1500px to fullscreen slider

    Best regards,
    Yigit

    #291528

    Hey Tom!

    Please go to WooCommerce > Settings > Products and change “Single product image” under “Product Image Sizes”. Then regenerate thumbnails using this plugin – http://wordpress.org/plugins/regenerate-thumbnails/
    Then add following code to Functions.php file in Appearance > Editor

    add_action( 'woocommerce_before_single_product_summary', 'avia_add_image_div', 2);
    add_action( 'woocommerce_before_single_product_summary',  'avia_close_image_div', 20);
    function avia_add_image_div()
    {
    	echo "<div class='six units single-product-main-image alpha'>";
    }
     
    function avia_close_image_div()
    {
    	global $avia_config;
    	$avia_config['currently_viewing'] = "shop_single";
     
    	echo "</div>";
    }
    
    add_action( 'woocommerce_before_single_product_summary', 'avia_add_summary_div', 25);
    add_action( 'woocommerce_after_single_product_summary',  'avia_close_summary_div', 3);
    function avia_add_summary_div()
    {
    	echo "<div class='six units single-product-summary'>";
    }

    Best regards,
    Yigit

    #291408

    The names are somewhat self descriptive so in the plugin you can see the “entry_with_sidebar_size” and its showing as 710×270. If you look at your blog page and inspect the image that is being inserted into the page its http://shortiedesigns.com/wp-content/uploads/2014/07/Website-redesign-2-710×270.jpg – 710 by 270.

    So you can change the dimensions, save, regenerate thumbnails and that will be that.

    #291369

    Hey!

    Thank you for the info.

    Images on the post slider will inherit the size of its container so using a 120x120px thumbnail size will give you a distorted or stretched image if the size of the column is, let’s say 700px. Please use the first option on Preview Image Size setting if you want the post slider to automatically pick the thumbnail size base on the column width.

    Regards,
    Ismael

    Hi danwinckler!

    Thank you for using the theme!

    Have you tried using the Masonry or the Extra Large image size? These thumbnail sizes have crop parameter disabled. You can also use this plugin if you want to manually set the size of the thumbnail or disable the crop parameter: https://wordpress.org/plugins/simple-image-sizes/

    Best regards,
    Ismael

    #291343

    Howzit Yigit!

    Step #1: simple is as simple does. done and done.

    Step #2: ..and the good stuff I’m looking for; is it as easy to change the preview images in the Enfold (Avia) Combo Widget & Enfold Latest Portfolio Widget to reflect the same landscape format? say in a 102 x 28 frame? (currently showing the 108 x 36 widget thumbnail in a 28 x 28 frame)

    Mahalo,

    TheMauiDarren

    #291330

    Topic: New Lightbox Issues

    in forum Enfold
    abskevin
    Participant

    Hello,

    I know prettyphoto has been removed but I’m trying to get the default one working to no avail.

    1) Originally, I had videos with “rel=”prettyPhoto” tag to open the video in a pop-up. What should I change it to now?

    2) How come my thumbnails aren’t opening in the new lightbox? I don’t have any code around it that should inhibit it (to my knowledge).

    #291316
    danwinckler
    Participant

    I have created a fullwidth easy slider containing 8 images of different sizes and aspect ratios, with the following settings:

    Size: Featured Large
    Stretch image: No
    Transition: Fade
    Auto-rotate: Yes
    Duration: 4

    Certain images were getting cropped on top and bottom, so I resized them to 630px high (matching the featured large size) and regenerated thumbnails. However, it would be helpful to know if there is a way to set the slider (or the global media settings?) so that images aren’t cropped. Please let me know if so. Thanks!

    #291310

    I did not even notice that timeline! Thanks for the add. works perfectly.
    The CSS for the thumbnail size
    .small-preview{ width:150px; height:150px;}
    for those who wish to do the same.

    #291289

    Hey Devin,

    I think the problem is that the post slider conflicts with the column-width.
    So the image-settings within the post-slider doesn’t respond with the width of the column on the pages.

    Example: http://test.contrario.nl/?page_id=2483 Column set 3/5 – Image 120 x 120 “shop thumbnail’ -> Image distorted
    Example: http://test.contrario.nl/?page_id=2398 Column set 3/5 – Image set to adjust to column width -> image oke

    Can you explain which column setting and image-size doesn’t work together?

    Regards,
    Alfred

    #290994

    Hi!

    Looks like it is possible to filter the thumbnail sizes only when they are needed but it is a bit complicated so a freelance developer might come in handy. Refer to this link: http://wordpress.stackexchange.com/questions/57369/new-image-size-version-only-for-the-featured-image-file

    I haven’t tested this plugin and I’m not sure if this is of any help but you can try on a test server, maybe, just maybe it will solve your problem: http://wordpress.org/plugins/dynamic-image-resizer/

    Cheers!
    Ismael

    #290917

    Hey TheMauiDarren!

    Please go to Functions.php file in Appearance > Editor, then find and edit following line

    $avia_config['imgSize']['widget'] 			 	= array('width'=>36,  'height'=>36);

    and then regenerate thumbnails using this plugin – https://wordpress.org/plugins/regenerate-thumbnails/

    Best regards,
    Yigit

    #290870

    guys that didn’t work – I added this to my child theme and regenerated thumbnails and the image size is 720 x 270px . The width isn’t so much the issue as I understand it shrinks it down to fit into the container – but it’s the height that I need to fix
    I tried this:
    $avia_config[‘imgSize’][‘entry_with_sidebar’] = array(‘width’=>900, ‘height’=>500);

    any suggestions?
    Cheers

    #290865

    In reply to: Post Photo Snippets

    Hi Ismael,

    I mean a thumbnail of the photo that is included at the top of the blog post.

    Also, how do I make the titles of the blog posts align left on the homepage?

    Thanks again!

    #290770
    gd0g
    Participant

    I would like ton include the featured image in serach results?

    I have found this code

    <div class=”entry”>

    <?php
    if ( has_post_thumbnail() ) { // check if the post Thumbnail
    the_post_thumbnail();
    } else {
    //your default img
    }

    the_excerpt(); //your short description
    ?>
    </div>

    This is the search.php for enfold

    <?php
    global $avia_config;

    /*
    * get_header is a basic wordpress function, used to retrieve the header.php file in your theme directory.
    */
    get_header();

    $results = avia_which_archive();
    echo avia_title(array(‘title’ => $results ));
    ?>

    <div class=’container_wrap container_wrap_first main_color <?php avia_layout_class( ‘main’ ); ?>’>

    <div class=’container’>

    <main class=’content template-search <?php avia_layout_class( ‘content’ ); ?> units’ <?php avia_markup_helper(array(‘context’ => ‘content’));?>>

    <div class=’page-heading-container clearfix’>
    <section class=”search_form_field”>
    <?php
    echo “<h4>”.__(‘New Search’,’avia_framework’).”</h4>”;
    echo “<p>”.__(‘If you are not happy with the results below please do another search’,’avia_framework’).”</p>”;

    get_search_form();
    echo “<span class=’author-extra-border’></span>”;
    ?>
    </section>
    </div>

    <?php
    if(!empty($_GET[‘s’]) || have_posts())
    {
    echo “<h4 class=’extra-mini-title widgettitle’>{$results}</h4>”;

    /* Run the loop to output the posts.
    * If you want to overload this in a child theme then include a file
    * called loop-search.php and that will be used instead.
    */
    $more = 0;
    get_template_part( ‘includes/loop’, ‘search’ );

    }

    ?>

    <!–end content–>
    </main>

    <?php

    //get the sidebar
    $avia_config[‘currently_viewing’] = ‘page’;

    get_sidebar();

    ?>

    </div><!–end container–>

    </div><!– close default .container_wrap element –>

    <?php get_footer(); ?>

    Could I make this work? Any advice on where to place the code would be greatly appreciated.

    #290734

    Hey Monsoon!

    As far as I know WordPress has no ability to differentiate between thumbnail sizes generated. You would need to delete the extras after each upload over FTP or change the functions.php file right before each upload to prevent them from being generated.

    Edit: To explain why, its to make your site load faster for users. So they aren’t downloading a 1200×1200 image when all they need is an 80×80.

    Best regards,
    Devin

    • This reply was modified 11 years, 8 months ago by Devin.
    #290718
    Monsoon
    Participant

    Here is an issue that is starting to worry me
    We have events every week and we usually get a good 20 photos per event
    If I take a single image that has already been compressed its around 88k
    After uploading that single image in a gallery we now have 590k used by 14 images…for a single image uploaded
    After uploading 17 images for 1 meg we get 8.3 megs in 238 images…a 14X more images than initially uploaded
    After a year you end up with terrabytes of extra images and huge volumes to backup daily
    This is an issue. Can you tell me why there are 14 different sizes for images uploaded to the gallery?
    I need to have only 2 sizes for the gallery: The 180×180 preview image and the full size…that s it
    If I upload an image to the site to use as a banner I have no problem with 14 different sizes made but for galleries there is no reason to bleed that many images.
    I suspect the code is all or nothing…right?

    Any chances you could look into having only two sizes for images using the gallery? and only have 14 different size for non gallery uploads? If one changes the size of the thumbnails one can always regenerate the thumbnails. I just can t handle 100.000 images folders.

    Hey!

    Can we see an example of what you mean? If these are images inside of posts then its a matter of the images needed to adapt to the size of the container and using the layout you want. Each can be seen in the demo under Blog and chosen from the theme options.

    If you have images previously uploaded and inserted into posts that are too large but were originally generated from a previous theme size or a previous setting from your WordPress media size for large/medium images you can use a plugin to regenerate all the images to the new sizes Enfold uses: http://wordpress.org/extend/plugins/regenerate-thumbnails/

    Regards,
    Devin

    #290448

    Topic: Video Ligthbox

    in forum Enfold
    Presumebox
    Participant

    Hi there:

    As I can do to make a video is viewed in a lightbox on the same page.
    I created thumbnails and I want the visitor when punche the link open a lightbox and video display.
    Thank you.
    regards

    #290443

    Hi ShortieD!

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

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

    and change it to

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

    then regenerate thumbnails using this plugin – https://wordpress.org/plugins/regenerate-thumbnails/
    Cheers!
    Yigit

    mattock
    Participant

    Hi, I’ve just updated my Enfold which made most of my portfolios stretch full screen width, I like it and want to keep it but have a question.

    When viewing my home page portfolio http://www.davidmattock.co.uk on my large screen 1920 x 1080 the thumbnails at 4 columns were too big so I changed it to 5 columns which looks great. But my problem now is on smaller res screens or ipads in landscape 4 columns look much better as 5 is too small.

    Is there a way to get it to change from 5 cols to 4 when viewed on a smaller and not as wide format screen ?
    Many thanks

    Cinetic
    Participant

    Hallo,

    I’m using Masonry Gallery to build my portfolio, but gallery on my website does not display correctly on the mobile phone.
    There is a problem with thumbnails. There are overlapped by Title and Caption so almosn not visible.
    http://mapme.lh.pl/cinetic2/portfolio/takk-tymczasowa-akcja-kulturalna-katowice-2011/

    Check Images please.
    Img1
    Img2

    How can I solve this problem?

    • This topic was modified 11 years, 8 months ago by Cinetic.
    #290128

    Hi!

    Please go to WooCommerce > Settings > Products and change “Product Image Sizes” then regenerate thumbnails using this plugin – http://wordpress.org/plugins/regenerate-thumbnails/

    Regards,
    Yigit

    #290019

    Hi!

    Thank you for the update

    What are the dimensions of your images? Are they really that different in size? Manually selecting the thumbnail size on Preview Image Size option should be enough. :)

    Best regards,
    Ismael

    #289887
    wintner
    Participant

    Hi, I need some advice for Featured Image of Blog Posts.

    1. If I set the home page to show “Single Author, small preview…”, it allows space for a featured image even if there is none! How do I get rid of this unnecessary space?

    2. On both the home page and the post page, it is unnecessarily cropping the image.

    And yes, I’ve tried regenerating the thumbnails.

    Thanks in advance for you amazing, prompt support!

    #289839

    In reply to: Team Member Layout

    Hallo Günter,

    vielen Dank für die wirklich schnelle Antwort.
    Ich komme erst jetzt dazu, die functions.php dementsprechend zu modifizieren.
    Nur leider scheint das nicht so ganz zu funktionieren: ich habe xxxx mit square – also 180x180px -ersetzt, doch die Bilder bleiben leider nur thumbnail groß. http://sueddeutscher-vertriebskongress.de/wp-sdvk/referenten-testimonial/ .

    Habe ich etwas übersehen?

    Fragt,

    Sascha-Juliot

Viewing 30 results - 7,981 through 8,010 (of 10,095 total)