News:

Want to get involved in developing SMF, then why not lend a hand on our github!

Main Menu

Adding A GIF Image To A Page

Started by delta5, May 06, 2018, 10:18:36 PM

Previous topic - Next topic

delta5

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

Biology Forums

Do you have access to the template files? Also, have you installed a portal of some sort?

delta5

I can see them in amin settings. I have access to my hosting account too. No portal, im running the deepblue responsive theme

Sir Osis of Liver

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?


Ashes and diamonds, foe and friend,
 we were all equal in the end.

                                     - R. Waters

delta5

Thats what i was looking for. Thanks!

delta5

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

Sir Osis of Liver

/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/.
Ashes and diamonds, foe and friend,
 we were all equal in the end.

                                     - R. Waters

delta5

Thanks! I will do some more digging this week.

Advertisement: