Home Forums WoodMart support forum Product image Gallery Thumbnail Size and Number.

Product image Gallery Thumbnail Size and Number.

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #365500

    info@solesigma.com
    Participant

    Dear Sir/Madam,

    I have tried several ways to change the size and number of product image gallery thumbnails and I also regenerated all thumbnails using the mentioned plugin in the theme options area. Please help me solve this issue. some screenshots are attached.

    Attachments:
    You must be logged in to view attached files.
    #365627

    Hello,

    Please provide the admin panel login details of the website to check it myself and help you out accordingly.

    Best Regards

    #365744

    info@solesigma.com
    Participant

    Thanks for your response. The login credentials are typed below. (in Extra information (visible to moderators only))

    #365832

    Hello,

    The issue seems to be caused by the SG optimizer plugin. Please deactivate the plugin then try Regenerating the thumbnails and check back.

    Best Regards

    #366286

    info@solesigma.com
    Participant

    Dear Developer,

    I believe the resolution of thumbnails changing now but the actual size and number of thumbnails are still the same.
    I need the product gallery to have at least 5 – 6 thumbnails in the slider. the image attached explained what I need to achieve. Please advise.

    Best regards,

    Attachments:
    You must be logged in to view attached files.
    #366377

    Hello,

    Please try to add this code to the functions.php of the child theme:

    add_filter(
    	'woodmart_product_gallery_settings',
    	function() {
    		return array(
    			'images_slider' => woodmart_is_main_product_images_carousel(),
    			'thumbs_slider' => array(
    				'enabled'  => woodmart_is_product_thumb_enabled(),
    				'position' => woodmart_get_opt( 'thums_position' ),
    				'items'    => array(
    					'desktop'          => 6,
    					'tablet_landscape' => 3,
    					'tablet'           => 4,
    					'mobile'           => 3,
    					'vertical_items'   => 3,
    				),
    			),
    		);
    	}
    );

    Best Regards

    #366510

    info@solesigma.com
    Participant

    Thanks for your response. unfortunately, the code provided returns the following error on the entire website. Just to let you know I am not using the child theme. if you can provide me with a function for the main theme. I am using the snippet injector plugin to implement the code provided.

    Attachments:
    You must be logged in to view attached files.
    #366643

    Hello,

    Please try to replace this old code with the following snippet

    add_filter(
        'woodmart_product_gallery_settings',
        function() {
            return array(
                'thumbs_slider' => array(
                    'items'    => array(
                        'desktop'          => 6,
                        'tablet_landscape' => 3,
                        'tablet'           => 4,
                        'mobile'           => 3,
                        'vertical_items'   => 6,
                    ),
                ),
            );
        }
    );

    Best Regards

Viewing 8 posts - 1 through 8 (of 8 total)