Author Topic: Pictures  (Read 2685 times)

Captn_All_In

  • Newbie
  • *
  • Posts: 23
    • View Profile
Pictures
« on: February 15, 2006, 12:26:29 PM »
I am having problems with inserting images.  When I choose the Insert Image Button and then choose the image I want it inserts it fine but then the image doesn't show up!   I am not sure if its the code or what.  Anybody got any suggestions??


Here is what my code looks like:

<img src="images\background.jpg" border="0">


See any problems there??

TimDugan

  • Jr. Member
  • **
  • Posts: 89
    • View Profile
    • The Oregon Poker Tour
Re: Pictures
« Reply #1 on: February 15, 2006, 12:38:37 PM »
Are you looking for this image to be your background, or just for a picture for a cell?

Corey Cooper

  • Administrator
  • Hero Member
  • *****
  • Posts: 5381
    • View Profile
Re: Pictures
« Reply #2 on: February 15, 2006, 01:20:39 PM »
This is a side-effect of the way the TD is packaged.  I'll add this to the FAQ.

If you want to insert your own images into your layout, you should either a) specify the image using a full, absolute path name; or b) place your image somewhere else besides the "images" folder of the Tournament Director install location.

So, for example (and using your example Captn), you could create a folder "graphics" and move the "background.jpg" image from the "images" folder to the "graphics" folder, and then reference it using:

<img src="graphics/background.jpg" border="0">

... or, you could leave it where it is and use the full path:

<img src="C:/Program Files/The Tournament Director 2.0/images/background.jpg" border="0">

Either of those should work.  Notice that if you use the "Insert Image" button on the Cell dialog, it always inserts the image using the full-path.  However, there are times when you might not want to do this (making the paths relative makes your layouts and supporting files more easily transferable to other users), so I would just suggest not using the "images" folder.


Captn_All_In

  • Newbie
  • *
  • Posts: 23
    • View Profile
Re: Pictures
« Reply #3 on: February 16, 2006, 01:36:53 PM »
Well I think I see the problem.  It has to do with that slash----(   \   ) this is how it appears when I use the files from the images folder and then it appears this way (  /  ) when I use files from another location.

Not sure why that is???!!??!!


But I got them working now!!

Thanks Corey!