2

I have an image URL like this:

http://example.com/media/catalog/product/cache/1/thumbnail/65x65/9df78eab33525d08d6e5fb8d27136e95/r/a/random-product_8.jpg

What is the meaning of the "9df78eab33525d08d6e5fb8d27136e95" and why is it the same for all images?

Also, how can I programmatically create a new size of images (say 120x120) for all of my products?

0

Use One of any methods do you wants

<?php echo Mage::helper('catalog/image')->init($_product, 'thumbnail')->resize(120,120); ?>

<?php echo Mage::helper('catalog/image')->init($_product, 'image')->resize(120,120); ?>

<?php echo Mage::helper('catalog/image')->init($_product, 'small_image')->resize(120,120); ?>
  • Thanks, but what about the first part? Do you know what the meaning of the "9df78eab33525d08d6e5fb8d27136e95" is? – skb May 25 '17 at 1:21
  • that is a cached image cropped by default – Ketan Borada May 25 '17 at 4:32
  • sorry can't accept the answer, because I don't understand the meaning of all those numbers and letters. is it like a GUID? – skb Jun 6 '17 at 3:02
  • I never forced you for that. I have posted which i know, Good Day !!! – Ketan Borada Jun 6 '17 at 5:31

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.