As I know this should be already implemented (I’m about the support for attached to HTML images).
If you have any problems with it, I propose opening a new issue and wait for the reply of someone from PKP team. Also, point there your OJS version and explain the problem in details.
@johannespernaa the difference between these examples and my case is that I am viewing an XML file with the plug provided by OJS3, and I’m trying to understand why I don’t see the images using the method described above, the load but don’t see them.
Thanks for such evaluation of the JATS Parser
For now, it is available as part of the OldGregg theme. It can be inserted in any other theme, but this requires some PHP knowledge.
Actually, I can make the same thing as with Lens Viewer - make a rendering of the XML file on a separate page to use with any theme. I am thinking about it because I’m planning to extend JATS Parser functionality for producing not only HTML but PDF too. Think, this feature can be found useful by other publishers.
@ajnyga thanks for your help, i will try these lensGalley versions. I don’t know why but in my case the JATS XML plugin has never worked, when I install it I can’t enable it because it doesn’t load the admin area plugin list.
That is a good idea because that way you also get the download stats. We only have one journal using XML now and they use the embedGalley plugin I made last spring. But when I have more time I will probably switch to using your plugin.
@Tiziano
You can’t load JATS Parser as a plugin because it doesn’t exist yet. It is incorporated into OldGregg Theme. All other versions on my GitHub’s page are experimental and can be used only by those who know programming.
HI @Vitaliy and @ajnyga, I tried the lensGalley plugin suggested by ajnyga but it doesn’t work, the images don’t appear, good idea to use the embedGalley plugin, do you have suggestions how to customize it?
In addition makes me this joke, I do not appear references:
Hi @anupent! Thank you for your suggestions but I wouldn’t like to change themes to make this plugin work. I would prefer to try to find a solution with the available stuments.
The embedGalley plugin uses a custom xsl stylesheet that converts the xml to html. Not sure why your references are not working. Probably the reason is in the way the references are coded in the xml, I think they should be element-citations. But the output can be edited just by changing the xsl files in the plugin.
Regarding the images in the file, hard to say why they are not working for you. The technique is the same for both html and xml files. You just use href="image1.jpg" and upload a file with the same name as a artwork file to the galley.
hello, I wonder where we stand with the ios issue - viewing html’s on iphones, I encountered the issue when testing my journal and it seems still to be a problem. Also the suggested fix above doesn’t work for me. Please let me know whether - there is an accepted fix for the problem and what people are doing to address it. I think it is quite relevant as people will want to use their iphones to read articles.
Many Thanks !
Konrad
Hi there, did you do anything special to upload this plugin - it doesn’t seem to work with zip or tar.gz - have also renamed the folder inside the compressed file to remove the master part.
I only have the HTML Article Galley plugin - I guess that’s the default. That’s why I wanted to upload the embedHTML as you suggested. The upload doesn’t work however.
Hi @ajnyga I have the plugin now installed and activated but get 500 error when accessing the article page. Do I need to do anything else apart from activating the plugin? I am using an html file and added style sheet.