Vinai / nicer-image-names

Magento extension to build catalog image file names from product attributes so they have neat descriptive names.
77 stars 31 forks source link

No image at frontend #18

Closed Five5 closed 9 years ago

Five5 commented 10 years ago

Having just installed the extension, reindexed and cheaned the cache including external page cache the images have gone missing from the front end (still defined in the backend). If I disable the extension hey come back again.

Vinai commented 10 years ago

Are you using any other extensions that override the catalog image model or helper?

Five5 commented 10 years ago

Hi Vinai - not that I am directly aware of, but it's hard to say we have so many extensions. Would you like to investigate further?

Vinai commented 10 years ago

Please. The following sniplet will show anywhere in a template:

<?php echo Mage::getConfig()->getGroupedClassName('helper', 'catalog/image') ?><br/>
<?php echo Mage::getConfig()->getGroupedClassName('model', 'catalog/product_image') ?>

Also, which version of Magento and of the extension are you using? Is the developer mode switched on (see MAGE_IS_DEVELOPER_MODE in the index.php file)? Are there any image related entries in var/log/exception.log?

Five5 commented 10 years ago

I can't find that snipped in the template.

Developer mode is set to TRUE.

Also, no image errors in exception.log

On 25/02/2014 6:18 PM, Vinai Kopp wrote:

Please. The following sniplet will show anywhere in a template:

<?php echo Mage::getConfig()->getGroupedClassName('helper', 'catalog/image') ?>
<?php echo Mage::getConfig()->getGroupedClassName('model', 'catalog/product_image') ?>

Also, which version of Magento and of the extension are you using? Is the developer mode switched on (see |MAGE_IS_DEVELOPER_MODE| in the /index.php/ file)? Are there any image related entries in /var/log/exception.log/?

— Reply to this email directly or view it on GitHub https://github.com/Vinai/nicer-image-names/issues/18#issuecomment-35981470.

Vinai commented 10 years ago

No, you have to ADD that snipplet to a template. Then reload a page where the template is rendered. It will show you the PHP class names Magento uses for the catalog image helper and product image model. Please post those two class names here. Afterwards you can remove the snipplet again.

Five5 commented 10 years ago

Got it... It returns...

Netzarbeiter_NicerImageNames_Helper_Image Netzarbeiter_NicerImageNames_Model_Image

Vinai commented 10 years ago

_DELETED, accidential cross post from other issue_

Vinai commented 10 years ago

Please ignore my previous comment, right answer to the wrong issue!

Vinai commented 10 years ago

Please post the output of the following query:

SELECT * FROM core_config_data WHERE path LIKE 'catalog/nicerimagenames/%';
mikemanger commented 10 years ago

Could it just be a server permission error?

What does the image path it is trying to load look like on the front end? (If you right click where the image should be and do 'inspect element', or use something like Firebug to view the source). Are there any special characters?

Vinai commented 10 years ago

Good questins @ohmanger. Also, are you hosting on Windows OS maybe?

Vinai commented 10 years ago

Any update on this issue @Five5 ?

Five5 commented 10 years ago

Thanks Vinai - been side tracked, trying to resolve it tonight. Back to you shortly.

Vinai commented 10 years ago

Any updates on this @Five5 ?

Vinai commented 9 years ago

No further info from original poster for months, closing.