Last post Dec 28, 2018 02:09 AM by Fei Han - MSFT
Dec 27, 2018 10:49 AM|bokokibiti|LINK
Hi. I will add flexibility on my website. for that, I want to load dynamically (using ajax) the images of a product (house, ground, etc) after the user has selected it. on the homepage I propose several properties for sale or for rent. And I want that when
a user selects a product the images of the said product are displayed automatically. And for that I use ajax, url are well passed on the attribute src but the image is not displayed.
Dec 27, 2018 12:18 PM|jimmy69|LINK
without any code it's not possible to see what's happen ..
is this situation for all image ?
debug the call ajax and see perhpas if the path is correct ..
Dec 28, 2018 02:09 AM|Fei Han - MSFT|LINK
And for that I use ajax, url are well passed on the attribute src but the image is not displayed.
Please debug your AJAX code to check if it returns a valid image path. Or you can use f12 developer tools to check the
src property of generated html code of <img> tag and check the status of request of loading image in Network tab.
Besides, please check if any CSS styles applied to the <img> tag makes the image not displaying.