Does anyone know how to set product images to be retrieve from a remote site. I thought that all is needed is to insert the URL into the product's imagefilenameoverride field. But no image is being displayed.
Does anyone know how to set product images to be retrieve from a remote site. I thought that all is needed is to insert the URL into the product's imagefilenameoverride field. But no image is being displayed.
You'd need to modify your xmlpackage(s) for this.
TTFN
BFG
What needs to be modified in the xmlpackage? Do you have an example you could provide please?
Anyone have a suggestion on best way to do this within the xmlpackage?
You would need to edit the XML package(s) you're using for product display and take out lines like this:
And put in custom code to look up your remote images instead.Code:<xsl:value-of select="aspdnsf:LookupProductImage(ProductID, ImageFileNameOverride, SKU, 'medium', 1, $AltText)" disable-output-escaping="yes"/>
You could also just modify the LookupProductImage method in XsltExtensionBase, which would make the change XML package independent and make upgrading easier, but that would require that you have the source code.