TinyPortal

Development => Support => Topic started by: TimUSA on October 16, 2007, 08:10:35 PM

Title: Where to put image files.
Post by: TimUSA on October 16, 2007, 08:10:35 PM
I am using a scoring program that outputs results to html. I then cut and past the source code to an article. I am not able to modify the software on the client end to change the template, so I need to know where to store the image files the source code calls for so that they will show in the article.

this is the code:
<TD align="center" class="normal"><img src='Flaggen/SUI.jpg' alt =""></TD>

the attached image is how it appears when ran from a local machine.
Title: Re: Where to put image files.
Post by: Green CoW on October 16, 2007, 08:38:23 PM
Upload the folder with your flags in the theme you're using and then you can fetch the images by using..

src="', $settings['theme_url'], '/Flaggen/SUI.jpg"
Title: Re: Where to put image files.
Post by: TimUSA on October 16, 2007, 08:42:35 PM
I don't have the ability to change the software template and the way it outputs the code. The challenge is I am lazy and don't want to have to modify source the code every time I update the results.
Title: Re: Where to put image files.
Post by: TimUSA on October 16, 2007, 09:12:19 PM
solved....just needed to go in the root directory