TP-Docs
HTML5 Icon HTML5 Icon HTML5 Icon
TP on Social Media

Recent

Welcome to TinyPortal. Please login or sign up.

June 16, 2024, 02:03:59 PM

Login with username, password and session length
Members
Stats
  • Total Posts: 195,242
  • Total Topics: 21,223
  • Online today: 180
  • Online ever: 3,540 (September 03, 2022, 01:38:54 AM)
Users Online
  • Users: 0
  • Guests: 122
  • Total: 122

Where to put image files.

Started by TimUSA, October 16, 2007, 08:10:35 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

TimUSA

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.

Green CoW

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"

TimUSA

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.

TimUSA

solved....just needed to go in the root directory