OJS OCS OMP OHS

You are viewing the PKP Support Forum | PKP Home Wiki



Any ojs journal with html full text + images?

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
What to do if you have a technical problem with OJS:

1. Search the forum. You can do this from the Advanced Search Page or from our Google Custom Search, which will search the entire PKP site. If you are encountering an error, we especially recommend searching the forum for said error.

2. Check the FAQ to see if your question or error has already been resolved.

3. Post a question, but please, only after trying the above two solutions. If it's a workflow or usability question you should probably post to the OJS Editorial Support and Discussion subforum; if you have a development question, try the OJS Development subforum.

Postby asmecher » Thu Dec 21, 2006 11:48 am

Hi Cornelius,

When you upload a galley (e.g. PDF, HTML, Postscript, etc) to OJS, it checks to see what type of file you've uploaded. If it's HTML, you should be given the chance to upload images on the galley's "Edit" page. If you're not able to upload images, OJS may be confused into thinking that the file is not HTML; in this case, it's probably because your PHP mime_content_type function is not configured (see http://www.php.net/manual/en/function.mime-content-type.php).

The Files Browser allows you to browse the private files area (where submissions are kept in their raw format, such as OpenOffice or .DOC); there isn't currently a way to browse the public files area, but we'll likely move the public files area into the private files area in a future release. In the meantime, some users have created symbolic links from the private files area into the public files area. This has allowed them to use the files browser to modify their public files.

However, you won't be able to upload HTML images directly to the public files directory, because OJS needs to know about them in the database. Make sure your mime_content_type function is properly configured and upload the images via the galley's "Edit" link. You may need to re-upload the galley if you modify your PHP configuration, as OJS only checks the file type when it is originally uploaded.

Regards,
Alec Smecher
Open Journal Systems Team
---
Don't miss the First International PKP Scholarly Publishing Conference
July 11 - 13, 2007, Vancouver, BC, Canada
http://ocs.sfu.ca/pkp2007/
asmecher
 
Posts: 8869
Joined: Wed Aug 10, 2005 12:56 pm

Postby Cornelius » Mon Jan 15, 2007 6:11 am

Great, thanks a lot!
Cornelius
 
Posts: 12
Joined: Thu Dec 21, 2006 6:37 am

Postby asmecher » Mon Jan 15, 2007 10:40 am

Hi Cornelius,

Upload your HTML as a Galley; once that's done, click on "Edit" beside the HTML galley. You should be able to upload your images (and CSS if necessary) on that page. If you're not able to upload images, it's probably because OJS is having trouble detecting whether or not a file is HTML; see http://php.net/manual/en/function.mime_content_type for a description of the function OJS uses, along with a few configuration suggestions.

Regards,
Alec Smecher
Open Journal Systems Team
---
Don't miss the First International PKP Scholarly Publishing Conference
July 11 - 13, 2007, Vancouver, BC, Canada
http://ocs.sfu.ca/pkp2007/
asmecher
 
Posts: 8869
Joined: Wed Aug 10, 2005 12:56 pm

Previous

Return to OJS Technical Support

Who is online

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