Adding an Image to a Page in PHP-Nuke
In the last article in our PHP-Nuke Education Channel, we showed you how to make a page. In this tutorial we will show you how to add an Image to a page in PHP-Nuke.
It helps to have a basic understanding of HTML when completing this guide.
How to Add an Image to a Page
- Upload the image you want to add to the page using FTP. If you are not familiar with the directory structure, I recommend reading this article: What directory should I put my files in?
- In the folder you installed PHP-Nuke in, open the config.php file for editing.
Look for 2 instances of: $AllowableHTML
One will be commented out, and one will not be, we are going to switch these. Comment out the one that is not commented out, and un-Comment out the one that is commented out:
- Login to the Admin Section for PHP-Nuke.
- Under the Modules Administration section click the Content button.
- Under the Content Manager section, click the title of the page you want to add an image to. When the page loads, click the Edit link on the bottom.
- Now when you scroll down you will see the content field, click the HTML button. The Edit HTML Source window will pop up.
- In the window, insert the HTML code for adding the image you uploaded, it should look similar to this:
- Click the Update button to save your changes. You will then see the image in your text field, click the Save Changes button on the bottom.
You will then see the image on your page.
Congratulations, now you know how to add an image to your PHP-Nuke website!
Here are a few questions related to this article that our customers have asked:
Ooops! It looks like there are no questions about this page.
Would you like to ask a question about this page? If so, click the button below!
Support Center LoginOur Login page has moved, Click the button below to be taken to the login page.
2015-06-06 1:14 pm
I want adding image on databasic php....
2015-06-08 3:00 pm
I am not quite sure what you are asking. Could you please rephrase it and be as specific as possible?