OJS OCS OMP OHS

You are viewing the PKP Support Forum | PKP Home Wiki



Correct link for ftp uploaded images in articles

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.

Correct link for ftp uploaded images in articles

Postby Tjerk » Wed Nov 14, 2012 10:42 am

Hello,

I have uploaded all the images direct with ftp in the following map on server:

public/journals/1/img/figure1.jpg

What is the correct link in a html-file to the image?

I have this:

<img src="img/figure1.jpg" alt="figure1" >
Tjerk
 
Posts: 6
Joined: Wed Oct 24, 2012 4:03 am

Re: Correct link for ftp uploaded images in articles

Postby Tjerk » Thu Nov 15, 2012 10:29 am

Or should it be :

Code: Select all
<img src="journals/1/img/figure1.jpg" alt="figure1" >


?
Tjerk
 
Posts: 6
Joined: Wed Oct 24, 2012 4:03 am

Re: Correct link for ftp uploaded images in articles

Postby springday » Thu Nov 29, 2012 5:23 am

Hi Tjerk,

in OJS many things depend a bit on the context, so there is no general answer to your question. Could you give some more information about where you want to include this image link?

Best regards,
Kai
springday
 
Posts: 111
Joined: Wed Jul 25, 2012 2:56 pm
Location: Munich, Germany

Re: Correct link for ftp uploaded images in articles

Postby swing » Fri Nov 30, 2012 2:54 am

Hi Tjerk,

You can then access the image with "http://your-journal-domain/public/journals/1/img/figure1.jpg" (of course, if the access rights of your folder and image are correct). But this is not the correct way to do it, I think. And especially not if you would like to use it in a HTML galley.

Best,
Bozana
swing
 
Posts: 142
Joined: Tue Oct 09, 2007 2:59 am


Return to OJS Technical Support

Who is online

Users browsing this forum: Bing [Bot], Google [Bot], Yahoo [Bot] and 7 guests