View Full Version : Modifying About Page
napoleonesq
10-24-2006, 08:05 PM
I am trying to modify my About page, and I know I have to modify the About html file. But I want to add an image or two in the page, and I dont know where to store the image and then have an html code to pull and show the image. Should I create a new folder in my pixelpost root directory?
I hope I made sense :)
nygorilla
10-24-2006, 10:01 PM
Abolutely correct, just create another folder (ie aboutimages) and then reference that.
<img src="http://yoursite.com/aboutimages/image1.jpg" width="100" height="100" alt="Image 1" title="Image 1" />
Dennis
10-25-2006, 05:23 AM
In order to make it work perfect and keep all related images to a template you should place the images in the folder images under template:
templates/mytemplate/images/image1.jpg
You can then reference to the picture as :
<img src="templates/mytemplate/images/image1.jpg" alt="Image 1" title="Image 1" />
laglj
12-03-2006, 07:43 AM
I can't get this to work. I am too just trying to add a photo to my about page, but no matter where i store the image, it shows up missing when viewd in browser. I've confirmed that the photo is loaded to server, the path is correct before i load, and then nothing!?
I'm a new user to pp and appreciate the help here, but i'm at a loss.
thanks
laglj
12-03-2006, 07:56 AM
here's link to the about page in question:
http://www.laglj.com/journal/index.php?x=about
So put it in images directory of Pixelpost and it should work fine.
austriaka
12-03-2006, 01:59 PM
the image link is this:
http://www.laglj.com/journal/templates/simple/images/lane.jpg
the <img src in your about template is
http://www.laglj.com/journal/images/lane.jpg
use
<img src="templates/simple/images/lane.jpg" ...> as shonhose posted.
Or take the absolute path from above.
KArin
laglj
12-03-2006, 04:53 PM
thanks for the help,
An absolute path did the trick (and I put the images in pixelpost images as GeoS suggested). I still can't get a relative path to work, but that concerns me little.
thanks for the advice austriaka - I left things a bit of a mess and had that image all over the place (so there was an image at both http://www.laglj.com/journal/templat...mages/lane.jpg and at http://www.laglj.com/journal/images/lane.jpg), but your suggestion to use an absolute path helped me out. thanks
My suggestion was like that just because your code had target there. I suggest to not keep in /images directory other photos then this uploaded by PP. Try to move it into template dir or, if you like it, leave it as it is.
laglj
12-04-2006, 05:41 AM
gotcha. moved it no problem. thanks again
vBulletin® v3.7.3, Copyright ©2000-2013, Jelsoft Enterprises Ltd.