0

i have a custom module which redirect to product edit in backend but when we save product image caches are not generating.

When we save product from magento default. image cache is generating but after redirecting and saving product image cache is not generating. 775 is also set to pub/media and var/

is there any permission issue or something i am forgetting to enable.

please suggest why image cache is not generating.

1 Answer 1

0

Make sure the image cache generation is enabled in your Magento configuration. To do this, go to Stores > Configuration > Advanced > Developer > Static Files Settings, and make sure that the "Sign Static Files" and "Merge JavaScript Files" options are set to "Yes".

5
  • by default image cache are generating but after redirecting to product edit image cache are not generating. is there any permission issue of something i am forgetting to enable
    – Sushmita
    Apr 24, 2023 at 9:25
  • chmod -R 775 /magento/pub/media/;chmod -R 775 /magento/var
    – Harun
    Apr 24, 2023 at 9:36
  • try this commands.
    – Harun
    Apr 24, 2023 at 9:37
  • 775 is already set to pub/media and var/
    – Sushmita
    Apr 24, 2023 at 9:38
  • Try this chown -R correctuser:correctgroup media/*
    – Harun
    Apr 24, 2023 at 9:51

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.