View Issue Details

IDProjectCategoryView StatusLast Update
0002746OXID eShop (all versions)2.3. Extensions (modules, themes)public2012-12-10 13:33
Reporterdainius.bigelis Assigned To 
PriorityurgentSeveritymajorReproducibilityalways
Status resolvedResolutionfixed 
Product Version4.5.0 revision 34568 
Target Version4.5.1 revision 38045Fixed in Version4.5.1 revision 38045 
Summary0002746: Images are not regenerated when theme changed, according to theme specific image sizes
DescriptionWhen the theme in admin is changed (i.e. from Azure to Basic), the images for products are already generated for previous theme and are not triggered to regenerate it once again for new theme.
When theme is changed, need to regenerate the images for this new theme (considering if this is a subshop, etc.)
TagsNo tags attached.
Theme
BrowserAll
PHP Versionany
Database Versionany

Activities

dainius.bigelis

2011-04-15 14:49

reporter   ~0004363

as a temporary solution to solve this issue in eShop 4.5.0:

for CE/PE, after theme is changed please run SQL:
   UPDATE oxarticles SET OXPICGENERATED = 0;

for EE:
1. insert the field OXPICGENERATED for each subshop:
   1.1 run the SQL: ALTER TABLE `oxfield2shop` ADD `OXPICSGENERATED` INT DEFAULT 0 NOT NULL;
   1.2 declare OXPICGENERATED as multishop field in config.inc.php, i.e.:
   $this->aMultishopArticleFields = array("OXPRICE", "OXPRICEA", "OXPRICEB", "OXPRICEC", 'OXPICGENERATED');
   
2. After theme is changed in particular shop, please reset the OXPICGENERATED field by running this SQL:
   UPDATE oxfield2shop set OXPICSGENERATED = 0 where oxshopid = '<yourshopid>';


Sorry for inconveniences.

leofonic

2011-05-07 22:05

reporter   ~0004511

"S" missing in first Statement:
UPDATE oxarticles SET OXPICSGENERATED = 0;

arvydas_vapsva

2011-06-16 16:30

reporter   ~0004742

Last edited: 2011-06-16 16:30

version 4.5.1 comes with a new image handling solution, which solves such problems. more info about upcomming change here http://wiki.oxidforge.org/Tutorials/image_handling_changes