Images in OJS2

Are you an Editor, Author, or Journal Manager in need of help? Want to talk to us about workflow issues? This is your forum.

Moderators: jmacgreg, michael, vgabler, John

Forum rules
The Public Knowledge Project Support Forum is moving to

This forum will be maintained permanently as an archived historical resource, but all new questions should be added to the new forum. Questions will no longer be monitored on this old forum after March 30, 2015.

Images in OJS2

Postby Jonothan » Tue Jul 05, 2005 12:41 pm

This seems like such a novice question, but I'm trying to link images (which are in PNG format) into my HTML articles and I can't seem to do it (I'm using OJS2). Does anyone know what what the directory structure is (or a sample of working code?)?



pics in ojs2

Postby Eric » Tue Jul 05, 2005 2:51 pm

When you upload an article into the galley, you add the images via the browser upload. The code within the HTML article can be as simple as this:
<img src="thumbf1.gif" alt="something" />

PS: include an alt tag for accessiblility.


Postby Jonothan » Wed Jul 06, 2005 12:23 pm

Thanks. I was needlessly making it more difficult. I thought I had to change the name of the image to match what it was called in the database (e.g. "12-42-1-PB.png"). Serves me right for overcomplicating it.


Posts: 945
Joined: Wed Oct 15, 2003 6:15 am
Location: Brasí­lia/DF - Brasil

HTML Galleys

Postby ramon » Wed Jul 06, 2005 5:12 pm

In our tests the system renames all the image files and saves them in the images folder, using the article code created upon submission, so you actually need to put that code in your html source.

Posts: 338
Joined: Tue Oct 14, 2003 8:23 pm

Postby kevin » Wed Jul 06, 2005 9:08 pm

Any references to uploaded image files like "<img src=<ORIGINAL_FILENAME> ..>" should be replaced with a reference to the OJS-generated file.

Return to “OJS Editorial Support and Discussion”

Who is online

Users browsing this forum: No registered users and 1 guest