Hi,
I was using the GetImagePathFromSettings() to avoid hardcoding the image handler path for the secondaryImage and I realised that this only returns the settings paramenters.
That meant I had to concat the method with the GetImage path and the image parameter, like this:
"/Admin/Public/GetImage.ashx?" + Dynamicweb.Rapido.Services.Images.GetImagePathFromSettings(settings) + "Image={{secondaryImage}}"
I think we could benefit from having a method that takes the image path parameter too and returns the whole string, so that all we'd have to do was:
Dynamicweb.Rapido.Services.Images.GetImagePath(settings, "{{secondaryImage}}")
I understand that GetImagePathFromSettings() was developed only to get the settings parameters of the image, but it's a suggestion :)
Thank you