What shall be the link of the pictures that authors upload during the submission?

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?

H @varshilmehta,

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

1 Like

Hi @asmecher,

That was exactly the problem. Capital and non-capital letter for file extentions.

Thank you.

Best regards, PrimoĆŸ

1 Like