Developer forum

Forum » PIM » PIM Queries related to Images No Longer Working

PIM Queries related to Images No Longer Working

Lora Vigil Dynamicweb Employee
Lora Vigil
Reply

PIM queries tied to images were functional in Prod for our customer until the most recent release in May 2022 (from version 9.10.10 to 9.10.21). 

One example, the query "Products without images has been configured like this:

And now returns all products, even products with images:

We are using Image Patterns:  

 

In DEV (where this is reproducible), we clicked "CONVERT FROM DEPRECATED IMAGE FEATURES" on the settings.  After clicking, Initially the backend page was missing the Main Product & Variant Product fields (which required us to edit GlobalSettings by adding the UseImprovedPatterns tag.  Once we did this, we recycled the app pool & re-ran product indexes and the Main Product & Variant Product fields finally displayed):

  •    <Picture>
  •       <DeprecateOldImages>True</DeprecateOldImages>
  •      <UseImprovedPatterns>True</UseImprovedPatterns>
  •     </Picture>

In Dev we have then tried every field option with "image" (including Product Images (System.String[]) which previously worked in production, the ImagePattern options, the small image), but the PIM query still returns products with image files in the ProductImages folder.  

How do we make these queries function properly with image patterns again?    

 


Replies

 
Lora Vigil Dynamicweb Employee
Lora Vigil
Reply

Hi - any feedback on this?  

 
Søren Jensen Dynamicweb Employee
Søren Jensen
Reply

Hi Lora,

It seems that you have done everything correct ..

I would like to have a look at the site, so could you please send email with URL to Me ..

/Søren

 
Lora Vigil Dynamicweb Employee
Lora Vigil
Reply

[RESOLVED]

We identified the product index builder settings had been tweaked to improve performance --> SkipDetailImages, SkipImagePatternImages, and SkipImages were all set to True. 

After updating these three values to False on the product index and rebuilding the index, the Prod PIM queries now function properly.  Success!  (And many thanks to Nuno!)

 

You must be logged in to post in the forum