Home Forums WoodMart support forum Product images using external URLs or external resources

Product images using external URLs or external resources

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #727924

    jfouzgames
    Participant

    Hello,

    I have come across an issue with my WoodMart theme.

    I am importing a large number of products via API, and in order to save storage space, the import plugin gives me the option to use external product images instead of downloading and storing them on my website.

    This is a very useful feature for me because I am dealing with a very large volume of images.

    However, when I enable this option, the product gallery is displayed as shown in the attached image. In this state, it is not really usable because the images appear extremely small and the image carousel does not work properly.

    How can I fix this so that externally hosted product images are displayed correctly in the WoodMart product gallery?

    Thank you.

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

    Aizaz Imtiaz Awan
    Keymaster
    Xtemos team

    Hello,

    Thank you for contacting WoodMart Support. We’ll be happy to assist you with your request.

    Before we continue, we have one quick question for you:

    Where did you first hear about WoodMart?

    We really appreciate your help with this. It takes just one click, but your answer is extremely valuable to us and helps us understand how customers discover WoodMart:
    https://tally.so/r/rj8qWl

    Now, let’s get back to your request.

    Sorry to hear about the inconvenience. Kindly, please share your Site WP-ADMIN Login details in the Private Content field so that we can check this concern on your Site and help you out accordingly.

    Best Regards

    #727968

    jfouzgames
    Participant

    Hi,

    I’ve already completed the survey. It was recommended to me, and without a doubt, it has been the main theme I use for every e-commerce site I build ever since.

    I’ve shared a temporary access link via private message.

    Thank you very much.

    #728076

    Aizaz Imtiaz Awan
    Keymaster
    Xtemos team

    Hello,

    This issue is caused by a third-party plugin that modifies the carousel structure. We can provide custom code to correct the structure and resolve the issue.

    Please try to add the code below to the child theme’s functions.php file:

    add_action('woocommerce_single_product_image_thumbnail_html', function ($thumbnail_html) {
    	if ( str_contains($thumbnail_html, 'wd-carousel-item') !== false ) {
    		return $thumbnail_html;
    	}
    
    	return '<div class="wd-carousel-item">' . $thumbnail_html . '</div>';
    }, 1000);

    Best Regards.

    #728124

    jfouzgames
    Participant

    Hello,
    Great! It worked.
    I can see the gallery correctly now.

    Thanks again for your help.
    Best regards.

    #728126

    Aizaz Imtiaz Awan
    Keymaster
    Xtemos team

    Hello,

    You’re Most Welcome!

    Feel free to write back anytime. If you need further assistance, we are always here to help you.

    If you have a minute, we’d truly appreciate your feedback — it helps us improve the product and shape future updates more effectively. We’d love your feedback on our theme:
    https://www.trustpilot.com/review/xtemos.com

    Thanks for contacting us.
    Have a great day.

    Topic Closed.
    Best Regards.

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

The topic ‘Product images using external URLs or external resources’ is closed to new replies.