CMS MADE SIMPLE FORGE

Cataloger

 

[#3664] Cannot see images for product catefories

avatar
Created By: CTPAHHuK (CTPAHHuK)
Date Submitted: Mon Jul 06 09:55:45 -0400 2009

Assigned To:
Version: 0.7.4
CMSMS Version: None
Severity: Critical
Resolution: None
State: Open
Summary:
Cannot see images for product catefories
Detailed Description:
Still cannot solve problem as described here
http://forum.cmsmadesimple.org/index.php/topic,14374.0.html

I can upload images for categories, but cannot see its in frontend


History

Comments
avatar
Date: 2009-11-04 16:36
Posted By: Dmitri Dragunov (D1mka)

in Cataloger.module.php find: Cataloger.Image.php

looks like this:

return $gCms->config['root_url'].
         '/modules/Cataloger/Cataloger.Image.php?i='.
         $alias.'_'.$type.'_'.$image_number.
         '_'.$size.
         ($forceshowmissing?'_1':'_'.$this->showMissing).
         '.jpg'.$extender;

I changed it to this:

return $gCms->config['root_url'].
         '/uploads/images/catalog_src/'.
         $alias .
         '_src_'.$image_number.
         '.jpg';

And my images resolve correctly.
      
avatar
Date: 2010-04-26 12:48
Posted By: Andrew Minton (moonoo)

Yes but then you lose the resize ability of the thumbnail option.. this is
critical on latest build and there seems to be no solution present in forum or
elsewhere.