Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #680988

    I looked through the treads but can’t find a working solution.
    I’d like create an accordion slider with a limited height eg 250px.
    I found in other treads I can add custom images sizes with the plugin simple image sizes
    I used it to add a custom image size and it does list this size when using the gallery, but it does not show the option in the accordion.
    How can it be added to the image size list for the accordion? I see this is only a subset of all the WP image sizes available, not sure why…

    I also found the thread with the code

    add_filter( 'avf_modify_thumb_size', 'enfold_customization_modify_thumb_size', 10, 1 );
    function enfold_customization_modify_thumb_size( $size ) {
    	$size['entry_with_sidebar'] 	= array('width'=>345, 'height'=>250);
    	return $size;	
    }

    I added this to my child theme functions.php, but it doesn’t change the image size in the accordion..

    How to create the accordion with the custom image size?
    Thanks.

    #682037

    Hi!

    Use this plugin to regenerate the images using the new entry_with_sidebar image size.

    Best regards,
    Josue

    #688837

    Hi Josue,
    Thanks for the plugin link.
    The issue is also that the accordion slider has a limited list of image sizes that it lets you select for the slider. The above “entry_with_sidebar” is now gone from the available size options after I added the different size and regenerated the thumbnails with the suggested plugin.
    How can custom image sizes be added to the accordion or how can I get the “entry_with_sidebar” back into the selection list?

    Thanks.

    #688840

    Hi,

    Can you please create us a WordPress administrator account? post it here as a private reply.

    Regards,
    Josue

    #689230

    Credentials added..

    A sample page using the accordion slider is:

    Interestingly, if using a gallery, the “entry_with_sidebar” size is listed there with the modified size.

    Thanks for looking at this!

    #690345

    Hi,

    Try removing the code you have in child functions.php and use the Simple Image Sizes to modify the image size you want to change.

    add_filter( 'avf_modify_thumb_size', 'enfold_customization_modify_thumb_size', 10, 1 );
    function enfold_customization_modify_thumb_size( $size ) {
    	$size['entry_with_sidebar'] 	= array('width'=>345, 'height'=>250);
    	return $size;	
    }

    Best regards,
    Josue

    #690793

    Hi Josue,
    I removed that code and changed the the “entry_with_sidebar” image size with the suggested plugin.
    It’s curious because it listed that image size in my applications page accordion slider ONCE, then after regenerating the thumbnails with simple image size, the “entry_with_sidebar” is not available for any accordion slide any longer.
    Any page such as http://mrf-furnaces.com/wp4/products/extra-large-heat-treat-furnace/ or even inserting the accordion in a new page, the ‘entry_with_sidebar’ image option is not available. New image sizes made with the simple image size plugin also do not list in the accordion… how can this be fixed?
    As mentioned before, if using a gallery, ‘entry_with_sidebar’ as well as newly created image sizes are available…
    Can you have another look at this issue? thank you.

    • This reply was modified 8 years, 2 months ago by dannywouters21. Reason: updated issue description based on further testing
    #692540

    Hi,

    The size of the image should not be less than 500px. Those images will not be included in the image selection. You set the width of the “entry_with_sidebar” thumbnail to 450px, that’s why is is excluded in the image dropdown.

    Best regards,
    Ismael

    #692887

    Ah! Yes that fixes it.. thanks so much that makes sense now..
    Is there any documentation for the accordion slider? if the image sizes do not match the selected size exactly there seems to be some odd stretching/cropping..
    Thanks.

    #694139

    Hi,

    I’m sorry but there is no documentation specifically created for the accordion slider. However, the use the of the slider is pretty direct, it works almost the same as the other sliders. Take note that the size of the slider items will use the exact dimension of the images or thumbnails specified in the Accordion Image Size options. If you select a thumbnail with a defined dimension of 450x450px, the slider items will have that exact size.

    In the demo, the size of the images is 1500x430px. http://kriesi.at/themes/enfold/homepage/home-v10-magazine/

    Best regards,
    Ismael

Viewing 10 posts - 1 through 10 (of 10 total)
  • You must be logged in to reply to this topic.