1

I am trying to find the filepath for where a category image or thumbnail goes after being uploaded in admin.

Can anyone point me in the correct direction?

1

All the images you normally upload go (and should go ,in case of custom modules too) in pub/media .

Thumbnails usually go in pub/media/catalog/product/{product-specific-url} , similarily the category goes in pub/media/catalog/category/{product-specific-url}.

If you are wondering how specific urls are working, then it is usually like following;

For eg. gift-card-physical-custom.png is the image , then according to first two letters (gift) (usually) it makes two folders such as pub/media/catalog/product/g/i/ and places image in that folder.This happens when we set Files Dispersion property for \Magento\MediaStorage\Model\File\UploaderFactory while uploading in magento.

  • I still have not figured out this issue- magento.stackexchange.com/questions/224033/… In attempting to troubleshoot that I realized I did not have a pub/media/catalog/category folder so I created one and moved my thumbnails in there. My problem still exists. Do you think there is somewhere else they could be as well? – tjjen Jul 26 '18 at 21:08
  • Sure, let me try. – Vivek Kumar Jul 26 '18 at 21:13

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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