Reputation: 1
I've installed Magento 1.9.2.4. I imported the products and the store data from magento 1.4 using sql. I putted the media folder from the old site to the new site. The thumbnail image is replaced by placeholder only in product listing, on every category. If I click on a product, I have all the images.
In the backend are checked all boxes from images. I have right permissions on media/catalog/product folder. I have php memory set to 2048M, so I don't think that this is the problem. I also have installed gd library.
Please give me an advice.
UPDATE: Fixed.
I didn't find a solution using cache images.
I used the following code to display images in the product category grid:
<img src="<?php $product= Mage::getModel('catalog/product')->load($_product->getId());
$thumbUrl = $product->getThumbnailUrl(200, 200);
echo $thumbUrl; ?>" alt="<?php echo $this->stripTags($this->getImageLabel($_product, 'small_image'), null, true) ?>" width="200" height="200" />
Upvotes: 0
Views: 2414
Reputation: 2334
It looks like the only thing that wasn't done in your migration was flushing the image cache. To do so, go into the admin backend and navigate to System > Cache Management > Flush Catalog Images Cache
.
Note that this will affect load times of pages into cache again as it needs to regenerate the resized images.
Upvotes: 0