tomydevon LiteCart Fan Từ United Kingdom Thành viên kể từ thg 4 2019 tomydevon 10 thg 5 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 Từ Sweden Thành viên kể từ thg 5 2013 tim 10 thg 5 2019 20:29 The original image does not seem to be there anymore.
tomydevon LiteCart Fan Từ United Kingdom Thành viên kể từ thg 4 2019 tomydevon 10 thg 5 2019 20:31 Tim http://uk-historyfinders.co.uk/shop/find-box-c-7/mini-find-box-p-7
tim Founder Từ Sweden Thành viên kể từ thg 5 2013 tim 10 thg 5 2019 20:35 Turn off watermark. I cant see the original image otherwise
tomydevon LiteCart Fan Từ United Kingdom Thành viên kể từ thg 4 2019 tomydevon 10 thg 5 2019 20:36 ok done
tim Founder Từ Sweden Thành viên kể từ thg 5 2013 tim 10 thg 5 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.jpgThere is one shop/ too many.
tomydevon LiteCart Fan Từ United Kingdom Thành viên kể từ thg 4 2019 tomydevon 10 thg 5 2019 20:46 Thanks Tim any ideas how to solve that ??thanks
tim Founder Từ Sweden Thành viên kể từ thg 5 2013 tim 10 thg 5 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 LiteCart Fan Từ United Kingdom Thành viên kể từ thg 4 2019 tomydevon 10 thg 5 2019 22:18 Yes updated to latest dev but problem seems to be same
skoruppa LiteCart Fan Từ Poland Thành viên kể từ thg 8 2018 skoruppa 14 thg 5 2019 08:22 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 Từ United Kingdom Thành viên kể từ thg 4 2019 tomydevon 14 thg 5 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 Từ Poland Thành viên kể từ thg 8 2018 skoruppa 14 thg 5 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 LiteCart Fan Từ United Kingdom Thành viên kể từ thg 4 2019 tomydevon 14 thg 5 2019 22:19 @skoruppa Many thanks for help again all working now
tim Founder Từ Sweden Thành viên kể từ thg 5 2013 tim 15 thg 5 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.https://github.com/litecart/litecart/commit/005ec5501a8d67dabc08949058672a6b4db4e03c
tim Founder Từ Sweden Thành viên kể từ thg 5 2013 tim 10 thg 9 2019 23:11 @alins Can't confirm, are you running an installation on the root of the domain or a subfolder?