Feed format with RSS type does not display images
For the last few days I have been trying to find a way to display an image via an ASK query without any success. I’ve noticed that the Feed format parameters do not include a field that would be able to hold an image.
I am trying to populate a feed format with type RSS that will also display images.
Would anybody know a way around this problem please?
Many thanks in advance
Images are not parsed (by design) to be explicitly linked as resources and only displayed as potential wiki links. Of course if you need an image display, you are free to copy the resource file create your own result printer and parse images as needed.
Would this mean that I would have to create different version of the "SMWResultPrinter" class which I found in the file called "SMW_ResultPrinter.php"?
Many thanks again
SMWResultPrinter (SMW\ResultPrinter in SMW 1.9) is an abstract class which can't be used directly as a template. If at all you should have a look at SMW\FeedResultPrinter (class in SMW 1.9), it is a final class which means you can't use inheritance, you just have to copy the class and change what ever it is you are looking for.