1

I recently moved a Magento 2.5 based website to a new server and now on the product detail page the related products the product images are not loading. Upon inspecting the image tag I see the url is missing a /

So for example the image tag is

<img src="https://*****.com/pub/media/catalog/productb/i/abcnails.jpg" class="img-resposive">

However the correct url for the image is

img src="https://****.com/pub/media/catalog/product/b/i/bipc080nails.jpg" class="img-resposive">

So I am wondering how I could fi this? Not sure what database table stores this information or if there is somewhere else to fix this?

  • Check base url parameters in backoffice, it seems your media url is missing the ending / – Raul Sanchez Feb 28 at 19:41
  • I checked the base url and base link url and both have trailing slashes. however I dont have any value at all entered in the Base URL for User Media Files text – Jayreis Feb 28 at 20:09
  • Sorry, didn't noticed you meant only related products. I thought you meant all products. You'd check the template where related products are printed (any 3rd party module?) – Raul Sanchez Mar 2 at 11:36

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.