tomydevon Merchant From United Kingdom Member since apr. 2019 tomydevon 10 mai 2019 09:00 Hi there i'm having a little problem with product images after clicking on it only small empty box popping up ?? When im using Product Images: Watermark box is bigger but still without picture or product? Im on 2.2.0 any ideas Thanks for Help
tim Founder From Sweden Member since mai 2013 tim 10 mai 2019 20:29 The original image does not seem to be there anymore.
tomydevon Merchant From United Kingdom Member since apr. 2019 tomydevon 10 mai 2019 20:31 Tim http://uk-historyfinders.co.uk/shop/find-box-c-7/mini-find-box-p-7
tim Founder From Sweden Member since mai 2013 tim 10 mai 2019 20:35 Turn off watermark. I cant see the original image otherwise
tim Founder From Sweden Member since mai 2013 tim 10 mai 2019 20:38 I see the issue. The path is wrong. It's a bug in 2.2.0-dev. http://uk-historyfinders.co.uk/shop/shop/images/products/7-mini-find-box-1.jpg There is one shop/ too many.
tomydevon Merchant From United Kingdom Member since apr. 2019 tomydevon 10 mai 2019 20:46 Thanks Tim any ideas how to solve that ?? thanks
tim Founder From Sweden Member since mai 2013 tim 10 mai 2019 21:40 Make sure you are on the latest dev release. If it's not solved already then a fix will be committed and can be referenced.
tomydevon Merchant From United Kingdom Member since apr. 2019 tomydevon 10 mai 2019 22:18 Yes updated to latest dev but problem seems to be same
skoruppa LiteCart Fan From Poland Member since aug. 2018 skoruppa 14 mai 2019 08:22 Hey @tomydevon. I was wrong. I had the same problem after all ( [url=https://www.litecart.net/en/forums/15/errors-and-troubleshooting/9473/wrong-image-url]https://www.litecart.net/en/forums/15/errors-and-troubleshooting/9473/wrong-image-url[/url] ). And if I remember correctly I made a really ugly workaround, but hey, at least it started to work. Edit [i]/pages/product.inc.php[/i] Find 'original' => ltrim(!empty($product->images) ? WS_DIR_IMAGES . $product->image : WS_DIR_IMAGES . 'no_image.png', '/'), and replace with 'original' => ltrim(!empty($product->images) ? '../' . WS_DIR_IMAGES . $product->image : WS_DIR_IMAGES . 'no_image.png', '/'), Should help until the release of a proper fix. Please check if it resolves your problem.
tomydevon Merchant From United Kingdom Member since apr. 2019 tomydevon 14 mai 2019 08:45 Hey thanks yes its working but still only for single photo but better than nothing . Many thanks for help
skoruppa LiteCart Fan From Poland Member since aug. 2018 skoruppa 14 mai 2019 08:47 So, make the same amendment for "extra images" Find 'original' => ltrim(WS_DIR_IMAGES . $image, '/'), and replace with 'original' => ltrim('../' . WS_DIR_IMAGES . $image, '/'), Should do the trick
tomydevon Merchant From United Kingdom Member since apr. 2019 tomydevon 14 mai 2019 22:19 @skoruppa Many thanks for help again all working now
tim Founder From Sweden Member since mai 2013 tim 15 mai 2019 03:56 I can confirm an issue in the dev release and I have committed a fix that will be included in the next dev update. [url=https://github.com/litecart/litecart/commit/005ec5501a8d67dabc08949058672a6b4db4e03c]https://github.com/litecart/litecart/commit/005ec5501a8d67dabc08949058672a6b4db4e03c[/url]
tim Founder From Sweden Member since mai 2013 tim 10 sept. 2019 23:11 @alins Can't confirm, are you running an installation on the root of the domain or a subfolder?
tim Founder From Sweden Member since mai 2013 tim 16 sept. 2019 15:21 @alins do you have the latest dev update? I can't confirm this.