You are viewing the PKP Support Forum | PKP Home Wiki

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
This forum is meant for general questions about the usability of OJS from an everyday user's perspective: journal managers, authors, and editors are welcome to post questions here, as are librarians and other support staff. We welcome general questions about the role of OJS and how the workflow works, as well as specific function- or user-related questions.

What to do if you have general, workflow or usability questions about OJS:

1. Read the documentation. We've written documentation to cover from OJS basics to system administration and code development, and we encourage you to read it.

2. take a look at the tutorials. We will continue to add tutorials covering OJS basics as time goes on.

3. Post a question. Questions are always welcome here, but if it's a technical question you should probably post to the OJS Technical Support subforum; if you have a development question, try the OJS Development subforum.

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.


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: 945
Joined: Wed Oct 15, 2003 6:15 am
Location: Brasí­lia/DF - Brasil

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.
Posts: 338
Joined: Tue Oct 14, 2003 8:23 pm

Return to OJS Editorial Support and Discussion

Who is online

Users browsing this forum: Exabot [Bot] and 3 guests