This is an old problem but on the 'search results' page only legacy images are show. I'd like to show the 'Main' images and legacy can be a fallback. We are using a modified version of Levels.
1. Can someone tell me where I can find the latest version of what Levels SRCH page code should be?
2. Which imagemachine items need to be selected.
3. If these are correct
4. Is this correct
5. Anything I need to add in head or elsewhere?
I've poked at this multiple times over the years but never got it sorted. I have a dev server, updated to 10.01 and set up a branch with the Shadow theme but still only showing Legacy images and blanks for others.
1. Can someone tell me where I can find the latest version of what Levels SRCH page code should be?
2. Which imagemachine items need to be selected.
3. If these are correct
Image Element: | main_image_%product_id% |
Thumbnail Container: | thumbnails_%product_id% |
Closeup Container: | closeup_div_%product_id% |
Closeup Image Element: | closeup_image_%product_id% |
Closeup Close Element: | closeup_close_%product_id% |
4. Is this correct
Code:
script tags removed ImageMachine.prototype.ImageMachine_Generate_Thumb nail = function( thumbnail_image, main_image, closeup_image, type_code ) { var thumbnail, span, img; thumbnail = document.createElement( 'li' ); span = document.createElement( 'span' ); // to vertically center the thumbnail images thumbnail.appendChild( span ); if ( typeof( thumbnail_image ) == 'string' && thumbnail_image.length > 0 ) { img = document.createElement( 'img' ); img.src = thumbnail_image; thumbnail.appendChild( img ); } return thumbnail; } script tags removed
I've poked at this multiple times over the years but never got it sorted. I have a dev server, updated to 10.01 and set up a branch with the Shadow theme but still only showing Legacy images and blanks for others.
Comment