Posting in the Magento forums has been disabled pending the implementation of a new and improved forum solution which should better serve the community.

For new questions please post at magento.stackexchange.com, the community-run support site for the Magento community. We will be providing updates on the new forum solution soon. For questions or concerns please email community@magento.com.

Magento Forum

SERIOUS Image Problem
 
bobbrodie
Sr. Member
 
Avatar
Total Posts:  132
Joined:  2008-04-02
Philadelphia, PA
 

I’m not sure exactly when it started but when I load a product page, the page stops loading, and the last thing the browser has in the source is:

<img src=”

If I edit view.phtml and comment out <?php //echo $this->getChildHtml('media') ?> then the page loads but without an image. This leads me to suspect <?php echo $this->helper('catalog/image')->init($_product, 'image'); ?> in media.phtml is the problem.

Does anyone have any suggestions?

Thank you,
Bob Brodie

 
Magento Community Magento Community
Magento Community
Magento Community
 
misterMan
Member
 
Total Posts:  57
Joined:  2008-07-15
 

Make sure you’re image isn’t huge. Try downloading the source files and doing a compare with the view.phtml page, or even replace it with a fresh version. Then of course delete the cache from the site via FTP

That’s all I can think of. Good Luck.

 
Magento Community Magento Community
Magento Community
Magento Community
 
bobbrodie
Sr. Member
 
Avatar
Total Posts:  132
Joined:  2008-04-02
Philadelphia, PA
 

Thanks misterMan; I tried your suggestions but to no avail. The core templates even do it. I wonder if it has something to do with the import? Thanks again.

 
Magento Community Magento Community
Magento Community
Magento Community
 
bobbrodie
Sr. Member
 
Avatar
Total Posts:  132
Joined:  2008-04-02
Philadelphia, PA
 

Got it! This Magento installation was moved to another server and php-gd wasn’t installed.

 
Magento Community Magento Community
Magento Community
Magento Community
 
wired_mugen
Jr. Member
 
Avatar
Total Posts:  15
Joined:  2008-07-15
Tagantog
 

Thanks bobbrodie! i spent aroun 4 hours trying to find the bug

 
Magento Community Magento Community
Magento Community
Magento Community
Magento Community
Magento Community
Back to top