Web Analytics

Fill the form & Get Installation Support

    I faced an issue with one particular product that wasn’t generating the cache & resized images. And there is Magento’s default command to generate the catalog images, but it only generates all the product images at that time so that procedure wasn’t an option to choose.

    So to solve the problem, I created one script file on the root of the Magento directory and added the static product id in that script, so it could generate the resized Images as per theme images for that particular product.

    Step 1: Create a resize_image.php on the root directory of Magento and add the below code in the file.

    Now, you have to run this file through a browser e.g. http://example.com/resize_image.php and you can see that all the images of that product are resized as per the theme images.

    Fill the below form if you have any Magento programming need.

      Recent Articles

      Author Info

      Author Image

      Hire A. Patel

      Get a Free Quote

        Let our Magento expert connect to discuss your requirement.

          We offer Magento
          certified developers.

          Our Magento clientele
          is 500+.

          We sign NDA for the
          security of your projects.

          We’ve performed 100+
          Magento migration projects.

          Free quotation
          on your project.

          Three months warranty on
          code developed by us.