Add shade to a picture

This is a discussion on "Add shade to a picture" within the Web Page Design section. This forum, and the thread "Add shade to a picture are both part of the Design Your Website category.



Go Back   Webforumz.com > Main Forums > Design Your Website > Web Page Design

Notices


Reply
 
LinkBack Thread Tools
  #1 (permalink)  
Old Sep 21st, 2007, 14:40
New Member
Join Date: Sep 2007
Location: Antwerp, Belgium
Age: 33
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
Add shade to a picture

http://www.tartaros.be/spaze.be

As you can see I finally managed to center the image in the middle of the webpage. Now, the owner of the site wants me to add "shadow" to the image.

Anyone here have an idea how to do that? I suppose I also can do that in the CSS or am I posting in the wrong forum?

Thanx very much
Reply With Quote

  #2 (permalink)  
Old Sep 21st, 2007, 14:49
karinne's Avatar
SuperMember

SuperMember
Join Date: Jan 2007
Location: You know where
Age: 31
Posts: 4,617
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Add shade to a picture

Easiest way is to do it in a graphics software like Photoshop.
Reply With Quote
  #3 (permalink)  
Old Sep 21st, 2007, 15:51
alexgeek's Avatar
Technical Administrator

SuperMember
Join Date: Jul 2007
Location: Webforumz 24/7
Age: 15
Posts: 3,770
Blog Entries: 9
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to alexgeek
Re: Add shade to a picture

Quote:
Originally Posted by karinne View Post
Easiest way is to do it in a graphics software like Photoshop.
I'm really not sure but can things like this be done with those filters?
I'm probably wrong.
If you use photoshop I recommend you record the action and batch process all the pics in one.
Last Blog Entry: 3D Chess in your browser! (Mar 14th, 2008)
Reply With Quote
  #4 (permalink)  
Old Sep 21st, 2007, 16:03
karinne's Avatar
SuperMember

SuperMember
Join Date: Jan 2007
Location: You know where
Age: 31
Posts: 4,617
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Add shade to a picture

Well ... there's only 1 image ... so ... why go through all the trouble of getting the filters right in IE and FF rather than just opining up PS and adding a simple style?!
Reply With Quote
  #5 (permalink)  
Old Sep 21st, 2007, 16:06
alexgeek's Avatar
Technical Administrator

SuperMember
Join Date: Jul 2007
Location: Webforumz 24/7
Age: 15
Posts: 3,770
Blog Entries: 9
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to alexgeek
Re: Add shade to a picture

Ahh point taken
i don't really understand filters so i'll shup
Last Blog Entry: 3D Chess in your browser! (Mar 14th, 2008)
Reply With Quote
  #6 (permalink)  
Old Sep 21st, 2007, 16:07
New Member
Join Date: Sep 2007
Location: Antwerp, Belgium
Age: 33
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Add shade to a picture

The problem is that it's only supposed to show if the resolution is larger then 1024x768.

So I was wondering if it could be done. If not with CSS perhaps with a scripting language like php?
Reply With Quote
  #7 (permalink)  
Old Sep 21st, 2007, 16:12
alexgeek's Avatar
Technical Administrator

SuperMember
Join Date: Jul 2007
Location: Webforumz 24/7
Age: 15
Posts: 3,770
Blog Entries: 9
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to alexgeek
Re: Add shade to a picture

Quote:
Originally Posted by Fysicus View Post
The problem is that it's only supposed to show if the resolution is larger then 1024x768.

So I was wondering if it could be done. If not with CSS perhaps with a scripting language like php?
yeah i think it can be done
i think it would require you to create two of every image though.
Last Blog Entry: 3D Chess in your browser! (Mar 14th, 2008)
Reply With Quote
  #8 (permalink)  
Old Sep 21st, 2007, 16:18
karinne's Avatar
SuperMember

SuperMember
Join Date: Jan 2007
Location: You know where
Age: 31
Posts: 4,617
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Add shade to a picture

Quote:
Originally Posted by Fysicus View Post
The problem is that it's only supposed to show if the resolution is larger then 1024x768.
Why!?

Is it just going to be that one image you have?
Reply With Quote
  #9 (permalink)  
Old Sep 22nd, 2007, 12:18
AdRock's Avatar
SuperMember

SuperMember
Join Date: Jul 2006
Location: Devon, England
Posts: 565
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to AdRock
Re: Add shade to a picture

I use this css and add a couple of images (attached)

Code: Select all
 
.img-shadow {
  float:left;
  background: url(images/shadowAlpha.png) no-repeat bottom right !important;
  background: url(images/shadow.gif) no-repeat bottom right;
  margin: 10px 0 0 10px !important;
  margin: 10px 0 0 5px;
}
.img-shadow img {
  display: block;
  position: relative;
  background-color: #fff;
  border: 1px solid #a9a9a9;
  margin: -6px 6px 6px -6px;
  padding: 2px;
}
and I put the image in a div

HTML: Select all
<div class="img-shadow"><img src="yourimage" /></div>
Attached Images
File Type: jpg shadowAlpha.jpg (7.1 KB, 17 views)
File Type: jpg shadow.jpg (3.2 KB, 10 views)
Reply With Quote
  #10 (permalink)  
Old Sep 22nd, 2007, 12:20
AdRock's Avatar
SuperMember

SuperMember
Join Date: Jul 2006
Location: Devon, England
Posts: 565
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to AdRock
Re: Add shade to a picture

Those images didn't upload too well so herei s the zip
Attached Files
File Type: zip images.zip (4.3 KB, 10 views)
Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Help with picture upload Pss PHP Forum 2 Apr 21st, 2008 20:37
A picture gallery thewebkid Website Planning 12 Nov 19th, 2007 21:02
Picture Association Ross Webforumz Cafe 27 Sep 13th, 2007 18:31
picture click lola82 JavaScript Forum 1 Dec 6th, 2005 18:04
Random picture survey picture help Jould Web Page Design 6 Feb 25th, 2004 14:07


All times are GMT. The time now is 21:46.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC8
© 2003-2008 Webforumz.com : All Rights Reserved

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43