0

I have the following problem. After moving a website from the old to the new server, the page stops rendering at this point of the code:

echo (string) Mage::helper('catalog/image')->init($this->getProduct(),
'image')->keepFrame(false)->resize(1024);

Is there a missing PHP library?

Funk Forty Niner
  • 74,450
  • 15
  • 68
  • 141
Maarten Klok
  • 215
  • 3
  • 20

3 Answers3

0

Try using just echo (string) Mage::helper('catalog/image')->init($this->getProduct(), 'image'); see if this helps

Raza
  • 1,095
  • 11
  • 16
0

Is that the first image reference on the page?

Try flushing your Magento pre-genreeate image cache: System > Cache Management > Flush Catalog Images Cache

Winston
  • 76
  • 1
  • 4
0

It appeared to be a memory issue. 128M isn't enough for magento!

Maarten Klok
  • 215
  • 3
  • 20