tomydevon LiteCart Fan From United Kingdom Member since Apr 2019 tomydevon May 10 2019 09:00 AM 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 May 2013 tim May 10 2019 08:29 PM The original image does not seem to be there anymore.
tomydevon LiteCart Fan From United Kingdom Member since Apr 2019 tomydevon May 10 2019 08:31 PM Tim http://uk-historyfinders.co.uk/shop/find-box-c-7/mini-find-box-p-7
tim Founder From Sweden Member since May 2013 tim May 10 2019 08:35 PM Turn off watermark. I cant see the original image otherwise
tomydevon LiteCart Fan From United Kingdom Member since Apr 2019 tomydevon May 10 2019 08:36 PM ok done
tim Founder From Sweden Member since May 2013 tim May 10 2019 08:38 PM 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.jpgThere is one shop/ too many.
tomydevon LiteCart Fan From United Kingdom Member since Apr 2019 tomydevon May 10 2019 08:46 PM Thanks Tim any ideas how to solve that ??thanks
tim Founder From Sweden Member since May 2013 tim May 10 2019 09:40 PM 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 LiteCart Fan From United Kingdom Member since Apr 2019 tomydevon May 10 2019 10:18 PM Yes updated to latest dev but problem seems to be same
skoruppa LiteCart Fan From Poland Member since Aug 2018 skoruppa May 14 2019 08:22 AM Hey @tomydevon. I was wrong. I had the same problem after all ( https://www.litecart.net/en/forums/15/errors-and-troubleshooting/9473/wrong-image-url ). And if I remember correctly I made a really ugly workaround, but hey, at least it started to work.Edit /pages/product.inc.phpFind '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 LiteCart Fan From United Kingdom Member since Apr 2019 tomydevon May 14 2019 08:45 AM 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 May 14 2019 08:47 AM 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 LiteCart Fan From United Kingdom Member since Apr 2019 tomydevon May 14 2019 10:19 PM @skoruppa Many thanks for help again all working now
tim Founder From Sweden Member since May 2013 tim May 15 2019 03:56 AM I can confirm an issue in the dev release and I have committed a fix that will be included in the next dev update.https://github.com/litecart/litecart/commit/005ec5501a8d67dabc08949058672a6b4db4e03c
tim Founder From Sweden Member since May 2013 tim Sep 10 2019 11:11 PM @alins Can't confirm, are you running an installation on the root of the domain or a subfolder?