Simple Machines Community Forum

SMF Support => SMF 2.0.x Support => Topic started by: delta5 on May 06, 2018, 10:18:36 PM

Title: Adding A GIF Image To A Page
Post by: delta5 on May 06, 2018, 10:18:36 PM
Im running 2.0.15 and I would like to add a gif image to the registration agreement page, right below the agreement text. Can anyone tell me the best way to do this? The simple image upload mod gives me the option of adding an image where i can change the text of the agreement in admin settings, but i tried that and the mod wanted to make it into a thumbnail and wont center the image.  If i host the image somewhere, where would i add the html code to make it appear?  Thanks
Title: Re: Adding A GIF Image To A Page
Post by: Biology Forums on May 06, 2018, 11:39:57 PM
Do you have access to the template files? Also, have you installed a portal of some sort?
Title: Re: Adding A GIF Image To A Page
Post by: delta5 on May 07, 2018, 12:18:59 AM
I can see them in amin settings. I have access to my hosting account too. No portal, im running the deepblue responsive theme
Title: Re: Adding A GIF Image To A Page
Post by: Sir Osis of Liver on May 07, 2018, 12:23:07 AM
Register.template.php



<span class="lowerframe"><span></span></span>

<div style="text-align: center; padding: 20px 0 0 0;"><img src="http://www.thekrashsite.com/pics/cat.jpg"></div>

<div id="confirm_buttons">';

// Age restriction in effect?


Title: Re: Adding A GIF Image To A Page
Post by: delta5 on May 07, 2018, 12:27:26 AM
Thats what i was looking for. Thanks!
Title: Re: Adding A GIF Image To A Page
Post by: delta5 on May 20, 2018, 09:18:18 PM
I have access to my files. I have found Register.PHP but im not sure if thats where i need to be. I also found the text file that has the actual agreement text in it. So far i have not found register.template.php. Can anyone please guide me to the right place?  Thx
Title: Re: Adding A GIF Image To A Page
Post by: Sir Osis of Liver on May 20, 2018, 11:04:03 PM
/Themes/default/Register.template.php

Unless you're using a custom theme that has it's own Register.template.php (most do not), in which case it will be in /Themes/yourtheme/.
Title: Re: Adding A GIF Image To A Page
Post by: delta5 on May 21, 2018, 05:39:36 PM
Thanks! I will do some more digging this week.