logo

Member
Member
Offline Offline
Posts: 4
Panel Image

How do I put a Image on a Panel?
Sorry Im fairly new to this but this program is great.
eoCMS Designer
eoCMS Designer
Offline Offline
avatar
Posts: 1290
tbarkass_willamson@hotmail.com
Re: Panel Image

If you go to 'Panels' on the admin panel, and use the following code:

Code:
<img src="PATH TO IMAGE HERE" width="100%"></p>


In the 'Panel Content' box, that should do it. You can of course change the width to whatever percentage you like but make sure the height stays blank so that the image stays in the correct ratio.

Seen a bug? Report it!
eoCMS Developer
eoCMS Developer
Offline Offline
avatar
Posts: 1528
Re: Panel Image

That wont work TGPEG. 0.8.1 does not support HTML within a panel

Please do not PM me requesting support or anything, use the forums, thats what they are here for
eoCMS Designer
eoCMS Designer
Offline Offline
avatar
Posts: 1290
tbarkass_willamson@hotmail.com
Re: Panel Image

Yeah I just thought of that. In that case you should take that html, save it as a file (eg index.php) in your '/Panels/imagepanel' folder and specify the said panel as that file in the drop down list on the admin menu.
Last Edit: 21st July, 2009, 10:37:55 AM by confuser

Seen a bug? Report it!
Member
Member
Offline Offline
Posts: 4
Re: Panel Image

Ok I am Just Confused Now can anyone tell me exactly step by step what to do. I use cPanel 11
eoCMS Designer
eoCMS Designer
Offline Offline
avatar
Posts: 1290
tbarkass_willamson@hotmail.com
Re: Panel Image

1.) Upload the image to your server.
2.) Copy this code into notepad:
Code:

<html>
<img src="PATH TO IMAGE HERE" width="100%"></p>
</html>

Where "PATH TO IMAGE HERE" is replaced with the url to your image. If you need help finding the url, ask.
3.) Save this as 'index.php' on your computer.
4.) On your cPanel software, go into your 'eocms site/Panels' directory.
5.) Create a new directory called 'imagepanel'
6.) Put the 'index.php' file into the directory you created (by uploading it)

First bit done.

7.) On your eoCMS site, click on the link on the navbar that says 'Admin'
8.) On the left hand side, click 'Panels'
9.) Give the panel an appropriate name.
10.) In the drop-down list with the word 'File:' next to it, chose the option that will be 'imagepanel'
11.) Choose which side you want your panel to be on and set the permissions (all groups should do) and also set the panel to 'online'.
12.) Press save
13.) Press 'Home' on the navbar.
14.) Marvel at the brilliance of what you have created.
Last Edit: 21st July, 2009, 11:46:00 AM by TGPEG

Seen a bug? Report it!
Member
Member
Offline Offline
Posts: 4
Re: Panel Image

Thank you so much. I love the program by the way.
eoCMS Designer
eoCMS Designer
Offline Offline
avatar
Posts: 1290
tbarkass_willamson@hotmail.com
Re: Panel Image

No problem. Smile
Glad you like it.

Seen a bug? Report it!
Member
Member
Offline Offline
Posts: 13
Re: Panel Image

hi all
i cant seem to center my images in the panel using html code any ideas plz
eoCMS Designer
eoCMS Designer
Offline Offline
avatar
Posts: 1290
tbarkass_willamson@hotmail.com
Re: Panel Image

try:
<center><img src=http://Your image link></center>

Seen a bug? Report it!
Member
Member
Offline Offline
Posts: 13
Re: Panel Image

yeah cool cheers  i was using
Code:
[center] [/center]
Last Edit: 10th November, 2009, 11:38:24 AM by unionjack

Jump to:


0.08 seconds Queries: 13