You are viewing the PKP Support Forum | PKP Home Wiki

Renaming of supplementary files

Are you responsible for making OJS work -- installing, upgrading, migrating or troubleshooting? Do you think you've found a bug? Post in this forum.

Moderators: jmacgreg, btbell, michael, bdgregg, barbarah, asmecher

Forum rules
The Public Knowledge Project Support Forum is moving to http://forum.pkp.sfu.ca

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.

Renaming of supplementary files

Postby StephenMiller » Thu Jun 22, 2006 3:50 am

I am creating a small demo issue of a new journal and I have all the files prepared in HTML, some of which are graphic-heavy, with images as jpegs hyperlinked to the main file.

I have created an Author account for myself so I can use the "shotgun" approach of importing the files straight through to the issue bypassing all the editorial processes.

Upon viewing the issue, none of the graphics display because (as I have realised now) the supplementary files are renamed upon import.

I imagine there is no way around this and I assume I will have to reedit the HTML code and re-import that file?

Posts: 5
Joined: Tue Jun 13, 2006 5:49 am

Postby asmecher » Thu Jun 22, 2006 3:03 pm

Hi Stephen,

Actually, OJS automatically rewrites HTML galleys to use renamed image files. Don't use supplementary files for these; you should be able to edit each HTML galley and add the images there (either as Editor or as Layout Editor). You can do this from the submission's Editing page under Layout. As long as the names of the images you upload there match the names referenced in the HTML (e.g. cases should agree) the images will work.

Let me know if you have any trouble.

Alec Smecher
Open Journal Systems Team
Posts: 10015
Joined: Wed Aug 10, 2005 12:56 pm

Return to OJS Technical Support

Who is online

Users browsing this forum: Yahoo [Bot] and 4 guests