We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 39990
    • 45 Posts
    Hello Everyone,
    I am in the process of exploring the miniShop2 plugin. I am impressed at how simple it was to get up and going! When I upload photos to the gallery for my products, for some reason none of the thumbnails show up in the manager or the web view. They come up as the miniShop2 logo. If I click on the thumbnail the image to the right it works perfect. At first I wondered if it was because I did not have the phpThumbOf plugin installed so I installed it, but that didn't make a difference. Does anyone have any ideas? Am I missing a set up step> I followed the youTube video http://youtu.be/-3ISavqOb-Ad to get it working. The size of the image I have uploaded in the screen shots located at http://cachecounty.org/minishop2.html is 107 KB so I can't imagine that is the problem...
      • 42046
      • 436 Posts
      Are the thumbnails are being generated?

      In the page code the thumbnail file should be referenced as something like: /assets/images/products/285/120x90/841c285aa241d95bf82349e4bf39c096.jpg

        • 39990
        • 45 Posts
        Thank you for responding! The path to the images does look like that and when I copy the image path into my address bar the image I can browse to the image! It really doesn't make sense why all of my thumbnails have the right path, but wrong image... Here is the code generated for the first thumbnail:

        <li class="span2">
        	<a href="/miniShop2/assets/images/products/3/9ef4e6feac8e056811079c023c7cfe83.png" class="thumbnail" data-image="/miniShop2/assets/images/products/3/9ef4e6feac8e056811079c023c7cfe83.png">
        		<img src="" alt="" title="icecream.png" width="120" height="90">
        	</a>
        </li>
          • 42046
          • 436 Posts
          <img src="" alt="" title="icecream.png" width="120" height="90">


          It looks like the thumbnail isn't actually being created. The thumbnails should be inside a folder called 120x90 within each products /asset/images/id folder.

          Can you get instances of phpthumb to work in other parts of the site? I think I'm right assuming imagemagick is used to generate the thumbs, is that installed on your server?
            • 39990
            • 45 Posts
            I can see that. I don't have any folders called 120x90 inside of my assets/images/products folder. On my server I have libMagickCore1 installed. This description for libMagickCore1 is the same description for imagemagick. Is the plugin looking for imagemagick specifically?
              • 39990
              • 45 Posts
              I just looked in my log file and found this error: (ERROR @ /connectors/system/phpthumb.php) Error outputting thumbnail: OutputThumbnail() failed because !is_resource($this->gdimg_output) in file "phpthumb.class.php" on line 557. Does anyone have any ideas of how to solve this? [ed. note: jsteffan1 last edited this post 11 years ago.]
                • 42046
                • 436 Posts
                That line suggests it's trying to use the GD library to generate the thumbnail.

                Have you got that installed and can you get any instance of phpthumb to work on your site?
                  • 33991
                  • 65 Posts
                  Vasiliy Naumkin Reply #8, 11 years ago
                  PhpThumbOf not needed at all.

                  All thumbnails are generating according media source settings when you uploads image in product.


                  Then you can show it by snippet msGallery (use placeholders by it size, for example [[+120x90]]) or in snippet msProducts (same placeholders, but you must to include needed sizes by parameter &includeThumbnails=`120x90`)

                  Also you can look at products gallery at minishop2.com/manager/, login/pass: demo/demo
                    • 33991
                    • 65 Posts
                    Vasiliy Naumkin Reply #9, 11 years ago
                    When I upload photos to the gallery for my products, for some reason none of the thumbnails show up in the manager or the web view. They come up as the miniShop2 logo.

                    Did you change system setting ms2_product_thumbnail_size?

                    Size in this parameter must be also in media source settings. If you set any size, that not realy exists - you will see ms2 logo in manager instead of thumbnails.
                      • 40387
                      • 28 Posts
                      I'm having the same problem, could someone help me?