I want to make HTML files available. But I can not show the images. How can i show the images on the html file? also how to find the links of the images (multiple) that the authors upload or we upload at the end of the copyrighting or production?
Which of our applications are you using, and what version? (Please include this information with your posts.)
Regards,
Alec Smecher
Public Knowledge Project Team
I am using ojs 3.0.1. I want to make HTML galleys but I dont know how to upload the images to the galley.
Hi @varshilmehta,
I would suggest upgrading to OJS 3.0.2 if at all possible â some improvements were made around HTML presentation with that release.
If you click âEditâ beside your HTML galley, you should be presented with a list of dependent files (this will be empty when you start). This is where you can upload associated files â CSS, images, etc. If you reference these from within your HTML by the same filename that you upload, e.g.:
<img src="myimage.png">
âŠthen OJS should take care of rewriting the HTML to include the appropriate URLs when it serves the page.
Regards,
Alec Smecher
Public Knowledge Project Team
Done. Thanks a lot. Is there any style sheet which i can use for html?
Hi @varshilmehta,
Typically youâll generate a stylesheet with whatever tool youâre writing your HTML with â I donât have anything specific to recommend.
Regards,
Alec Smecher
Public Knowledge Project Team
Hi @asmecher,
I have some problems with referencing the images form a HTML file. I am using OJS 3.1.2-1.
In the HTMl file I am referencing the image like suggested above (e.g. ), uploading image with the filename 1JuliannaFigure1.JPG to the OJS as a dependent file but it doesnât show it. Instead just âimage anchorâ.
Looking into rendered source (or opening image in a new tab) I see the reference article/download/1/1JuliannaFigure1.JPG
while on the OJS server filesystem the image filename is 1-10-12-1-17-20190611.jpg .
So it look like the process you explained above, that OJS will take care and replace the references in the HTML source, doesnât work for me.
Do you have any idea how to investigate this further?
Best regards, PrimoĆŸ
Hi @primozs,
I wonder whether e.g. the capitalization is causing trouble. Are you sure this matches exactly? (The filename youâll need to match is not the one on the server filesystem â itâs the 1JuliannaFigure1.JPG
filename.)
Regards,
Alec Smecher
Public Knowledge Project Team
Hi @asmecher,
That was exactly the problem. Capital and non-capital letter for file extentions.
Thank you.
Best regards, PrimoĆŸ