2014-04-01, 22:26
When browsing through a Picture add-on, what should be the content type? Is there even a content type at all?
I'm trying to use
yet it does not return true in MyPics.xml, whereas it does return true for video files.
Using this works:
However I would prefer not having to work around this. That is, if I'm right in saying the content type for pictures should be files...?
I'm trying to use
PHP Code:
<itemlayout condition="Container.Content(files) + Container.HasFolders" width="620" height="40">
yet it does not return true in MyPics.xml, whereas it does return true for video files.
Using this works:
PHP Code:
<itemlayout condition="SubString(Container.FolderPath,plugin://plugin.image) + Container.HasFolders" width="620" height="40">
However I would prefer not having to work around this. That is, if I'm right in saying the content type for pictures should be files...?