View Full Version : add image to homepage
cory5000
Jun-26-2009, 10:08 AM
i just want to add an image under my navigation bar on the homepage. i want my logo at top and navigation bar right under that. thats easy. but i have a collage that i've made that i would like to have under all that. I only want the collage to be visible on home page. thank you. -cory
Allen
Jun-26-2009, 10:18 AM
i just want to add an image under my navigation bar on the homepage. i want my logo at top and navigation bar right under that. thats easy. but i have a collage that i've made that i would like to have under all that. I only want the collage to be visible on home page. thank you. -cory
Welcome to Dgrin :wave
I would add it to the biobox which only shows on the home page.
<html>
<center>
<img src="/photos/XXXXXXXXX-xxxxx-L.jpg" />
</center>
</html>
A link to your site and the photo would help set the exact code.
cory5000
Jun-26-2009, 10:44 AM
thanx but where is this "bio box" you speak of? here's my site http://cory5000.smugmug.com/. ive attached my image(collage) but it needs to be bigger than that. i just sized it down for the forum. thanx
Welcome to Dgrin :wave
I would add it to the biobox which only shows on the home page.
<html>
<center>
<img src="/photos/XXXXXXXXX-xxxxx-L.jpg" />
</center>
</html>
A link to your site and the photo would help set the exact code.
Allen
Jun-26-2009, 11:05 AM
thanx but where is this "bio box" you speak of? here's my site http://cory5000.smugmug.com/. ive attached my image(collage) but it needs to be bigger than that. i just sized it down for the forum. thanx
On your homepage click on the "homepage layout" button and
check "your bio" to activate it on your homepage. There will be
an "edit" at the top of box.
You will have to upload the photo to your site so a link to it can be retrieved.
If you go to the photo in the gallery you will see in the browser address bar the link.
http://cory5000.smugmug.com/gallery/xxxxxxx_xxxxx#ZZZZZZZZZ-XXXXX
The ZZZZZZZZZ-XXXXX is the photo number with its key.
You can then insert that into the html posted above.
<img src="/photos/ZZZZZZZZZ-XXXXX-L.jpg" />
Change the -L to -M if too big. If you want the bigger version we'll get you
some CSS to increase the container size so it fits and centers.\
btw, that photo is fairly large in height. A banner looks and works much better if about 800x100.
Allen
Jun-26-2009, 11:35 AM
...
Ok, you're getting close.
Add this to the biobox.
<html>
<center>
<img src="/photos/574673925_Urkmq-L.jpg" />
</center>
</html>
In your control panel under the customize tab click "advanced site-wide
customization" and add this to the top box, CSS (optional) box.
/* removes "this is me" thumbnail in biobox */
#bioBox .photo {display: none;}
/* increases the container widths so photo will fit and center */
#homepage,
#bioBox {
margin: 0 auto;
width: 820px;
}
cory5000
Jun-26-2009, 11:49 AM
still not getting it. im just getting a blue question mark where the photo should go
this is the url when i click the photo:
http://cory5000.smugmug.com/gallery/8632542_dz9Mp/1/574673925_Urkmq/Large
i took the 8632542_dz9Mp/1/574673925 and put in in the coad like this
<html>
<center>
<img src="/photos/8632542_dz9Mp/1/574673925-L.jpg" />
</center>
</html>
does that look completely wrong. i tried putting the entire link in and even just the 8632542_dz9Mp
cory5000
Jun-26-2009, 11:52 AM
sorry, didn't see the very last part. seems to be working now.
cory5000
Jun-26-2009, 11:55 AM
im all good. thank you thank you thank you
Allen
Jun-26-2009, 11:59 AM
im all good. thank you thank you thank you
Looks great :thumb
vBulletin® v3.8.5, Copyright ©2000-2012, Jelsoft Enterprises Ltd.