Tournament Description - Adding HTML
-
- Posts: 150
- Joined: Thu May 21, 2020 5:05 pm
Tournament Description - Adding HTML
Kent, in the Tournament Description FAQs, it lists the following...
Description - This is an optional tournament description, up to 500 characters. It is displayed at the top of the tournament's information window and may include HTML tags, including links. Be sure to use the target="_blank" option when making links so that the new page opens in a new window and doesn't overwrite the current game window.
What on earth does this even mean? ROFL I have read through this multiple times, googled HTML tags... and still don't understand what they are. I'm just curious what are the possibilities with HTML tags in a Tournament Description?
I would like to add a link to a youtube video in my description, but when I copied/pasted the link, it was not active. Is there a trick to make it active? Noob terms please
Thanks,
Supersonics
Description - This is an optional tournament description, up to 500 characters. It is displayed at the top of the tournament's information window and may include HTML tags, including links. Be sure to use the target="_blank" option when making links so that the new page opens in a new window and doesn't overwrite the current game window.
What on earth does this even mean? ROFL I have read through this multiple times, googled HTML tags... and still don't understand what they are. I'm just curious what are the possibilities with HTML tags in a Tournament Description?
I would like to add a link to a youtube video in my description, but when I copied/pasted the link, it was not active. Is there a trick to make it active? Noob terms please
Thanks,
Supersonics
-
- Posts: 150
- Joined: Thu May 21, 2020 5:05 pm
Re: Tournament Description - Adding HTML
I found your HTML / API Forum thread and copied the following into my description, <a target="_blank" href="http://www.example.com/gifts/">Gift Shop</a>, and it worked! I have a lot to learn... but can I post an image in a tournament description also? If so, how? Thanks
-
- Site Admin
- Posts: 5766
- Joined: Wed Mar 19, 2008 8:47 pm
Re: Tournament Description - Adding HTML
Try something like this:Supersonics wrote: ↑Wed Jun 08, 2022 3:29 pm can I post an image in a tournament description also? If so, how? Thanks
Code: Select all
<img src="https://i.imgur.com/FJFE3ZO.jpeg" width="116" height="200">
https://www.w3schools.com/tags/tag_img.asp
-
- Site Admin
- Posts: 5766
- Joined: Wed Mar 19, 2008 8:47 pm
Re: Tournament Description - Adding HTML
Also, if you want to store the image on your poker server so you don't have to link to an external site, put the file in the WebRoot folder of your data folder (requires Pro or Gold edition) and then the src parameter only needs to contain the name like this:
Use the Width and Height parameters to scale the image down if the natural size is too big for the dialog (as was done with the dog pic in the previous post).
Code: Select all
<img src="Example.png">
-
- Site Admin
- Posts: 5766
- Joined: Wed Mar 19, 2008 8:47 pm
Re: Tournament Description - Adding HTML
And unlike the anchor "a" tag, the img tag doesn't need a target parameter because the image is getting embedded in the current page, not instructing the browser to go to a whole new page.
-
- Posts: 150
- Joined: Thu May 21, 2020 5:05 pm
Re: Tournament Description - Adding HTML
I wish I knew what this all meant. It is far beyond my computer skill level. ROFL
Are you saying I can add an image to a description? And if so, how do I do that? Do I need to load the image onto the server and then use an html tag to reference that image? Can you please post an example of how that would look? Or, if anyone on here knows how to do that, please post a pic of what it can ultimately look like and/or instructions on how to do it.
Thanks, I'm trying to understand, but this is like a foreign language to me right now.
Supersonics
Are you saying I can add an image to a description? And if so, how do I do that? Do I need to load the image onto the server and then use an html tag to reference that image? Can you please post an example of how that would look? Or, if anyone on here knows how to do that, please post a pic of what it can ultimately look like and/or instructions on how to do it.
Thanks, I'm trying to understand, but this is like a foreign language to me right now.
Supersonics
-
- Site Admin
- Posts: 5766
- Joined: Wed Mar 19, 2008 8:47 pm
Re: Tournament Description - Adding HTML
Copy and paste my first example above into your Description field and see.
-
- Posts: 150
- Joined: Thu May 21, 2020 5:05 pm
Re: Tournament Description - Adding HTML
Okay, that's neat it shows the image of the dogs.
So is that pulling that image from a website? Is there a way I can create a path to images I place in one of the server folders, for example the folder where I have the table graphics? Thanks
So is that pulling that image from a website? Is there a way I can create a path to images I place in one of the server folders, for example the folder where I have the table graphics? Thanks
-
- Posts: 150
- Joined: Thu May 21, 2020 5:05 pm
Re: Tournament Description - Adding HTML
Do animated gif's work too? I'm trying one and it isn't working. Thanks
-
- Site Admin
- Posts: 5766
- Joined: Wed Mar 19, 2008 8:47 pm
Re: Tournament Description - Adding HTML
The very next post above explains that exactly.Supersonics wrote: ↑Thu Jun 09, 2022 6:06 pm Okay, that's neat it shows the image of the dogs.
So is that pulling that image from a website? Is there a way I can create a path to images I place in one of the server folders, for example the folder where I have the table graphics? Thanks