crystal/glassy icons |
Author: |
Message: |
stoshrocket
Senior Member
formerly methos
Posts: 748 Reputation: 31
34 / /
Joined: Aug 2005
|
O.P. crystal/glassy icons
ive recently got into adobe photoshop and creating a new website, but want to go all out and create some good looks for the site, rather than the stock site. So, i was thinking of having the homepage just 5 icons on the page that you can mouse over and then click on to navigate, other than that, have a navi bar as well. But, the problem is, im not oo sure how to go about maing icons (well small pics really), any people who have done it before know where to start. I also want to have them be 'glassy' as some people call it, and for the navi links to be in a box that is 'galssy' but i dont know how to do this in Adobe Photoshop. Anyone know a good method/program to do this?? a-thank-you!
|
|
11-17-2005 05:21 PM |
|
|
absorbation
Elite Member
Posts: 3636 Reputation: 81
– / /
Joined: Feb 2005
|
RE: crystal/glassy icons
Adding gradients to images gives a glossy effect however advanced images like this are not for begginers.
Here are some good example I have:
http://www.absorbation.com/files/Icons.zip (note currently uploading)
|
|
11-17-2005 05:48 PM |
|
|
stoshrocket
Senior Member
formerly methos
Posts: 748 Reputation: 31
34 / /
Joined: Aug 2005
|
O.P. RE: crystal/glassy icons
<offtopic>
kinda offtopic but what the hey, its on graphics (ish), ive always wondered Absorbtion how you got your pic way back when it was those funny freaky heads to change every tme i press reload/refresh, and now youve done it with ure sig, do you have to use a special freaky code or something?
</offtopic>
nice icons btw, mind if i use 2 for my website (i'll link to you as always and mention youre the guy who did the icons)
This post was edited on 11-17-2005 at 06:03 PM by stoshrocket.
|
|
11-17-2005 05:57 PM |
|
|
absorbation
Elite Member
Posts: 3636 Reputation: 81
– / /
Joined: Feb 2005
|
RE: crystal/glassy icons
It's a php script
code: <?php
error_reporting(E_ALL ^ E_NOTICE);
$folderdir = "./images"; //EDIT THIS
$types = array('jpeg','.png','.bmp','.jpg','.gif');
//------ dont edit--------
$dir = array();
$folder=opendir($folderdir);
while ($file = readdir($folder)) $dir[] = $file;
closedir($folder);
$files = array();
for ($i=0;$dir[$i];$i++){
$ext=strtolower(substr($dir[$i],-4));
if (in_array($ext,$types)){
$files[]=$dir[$i];
}
}
$image = $files[rand(0,count($files)-1)];
$ext=strtolower(substr($image,-4));
$ext = str_replace('.','',$ext);
Header ("Content-type: image/$ext");
readfile($folderdir . '/' .$image);
?>
|
|
11-17-2005 06:10 PM |
|
|
stoshrocket
Senior Member
formerly methos
Posts: 748 Reputation: 31
34 / /
Joined: Aug 2005
|
O.P. RE: crystal/glassy icons
erm... hmm.... ok, thanks! can i use 2 of those icons linking back to you please?
EDIT:
also, with the code:
code: $folderdir = "./images"; //EDIT THIS
$types = array('jpeg','.png','.bmp','.jpg','.gif');
do i have to change the "./images" to "http://webstieurl/images"????
This post was edited on 11-17-2005 at 06:18 PM by stoshrocket.
|
|
11-17-2005 06:13 PM |
|
|
absorbation
Elite Member
Posts: 3636 Reputation: 81
– / /
Joined: Feb 2005
|
RE: crystal/glassy icons
quote: Originally posted by Methos2
do i have to change the "./images" to "http://webstieurl/images"????
yeh what direcotry you want them in and the icons are by everaldo and you dont need to link back to me at all
|
|
11-17-2005 06:30 PM |
|
|
stoshrocket
Senior Member
formerly methos
Posts: 748 Reputation: 31
34 / /
Joined: Aug 2005
|
O.P. RE: crystal/glassy icons
woot! thank-you!
|
|
11-17-2005 06:33 PM |
|
|
stoshrocket
Senior Member
formerly methos
Posts: 748 Reputation: 31
34 / /
Joined: Aug 2005
|
O.P. RE: RE: crystal/glassy icons
quote: Originally posted by Absorbation
It's a php script
code: <?php
error_reporting(E_ALL ^ E_NOTICE);
$folderdir = "./images"; //EDIT THIS
$types = array('jpeg','.png','.bmp','.jpg','.gif');
//------ dont edit--------
$dir = array();
$folder=opendir($folderdir);
while ($file = readdir($folder)) $dir[] = $file;
closedir($folder);
$files = array();
for ($i=0;$dir[$i];$i++){
$ext=strtolower(substr($dir[$i],-4));
if (in_array($ext,$types)){
$files[]=$dir[$i];
}
}
$image = $files[rand(0,count($files)-1)];
$ext=strtolower(substr($image,-4));
$ext = str_replace('.','',$ext);
Header ("Content-type: image/$ext");
readfile($folderdir . '/' .$image);
?>
im kinda confused, do i have to put in this code into a .php fil then insert the url of the php file in the avatar url???
|
|
11-17-2005 06:48 PM |
|
|
Plik
Veteran Member
Posts: 1489 Reputation: 46
35 / / –
Joined: Jun 2004
|
RE: crystal/glassy icons
quote: Originally posted by Absorbation
It's a php script
code: <?php
error_reporting(E_ALL ^ E_NOTICE);
$folderdir = "./images"; //EDIT THIS
$types = array('jpeg','.png','.bmp','.jpg','.gif');
//------ dont edit--------
$dir = array();
$folder=opendir($folderdir);
while ($file = readdir($folder)) $dir[] = $file;
closedir($folder);
$files = array();
for ($i=0;$dir[$i];$i++){
$ext=strtolower(substr($dir[$i],-4));
if (in_array($ext,$types)){
$files[]=$dir[$i];
}
}
$image = $files[rand(0,count($files)-1)];
$ext=strtolower(substr($image,-4));
$ext = str_replace('.','',$ext);
Header ("Content-type: image/$ext");
readfile($folderdir . '/' .$image);
?>
Eewww use Header("Location: $imageurl"); so it redirects to the images, so that people can cache them.
|
|
11-17-2005 06:49 PM |
|
|
stoshrocket
Senior Member
formerly methos
Posts: 748 Reputation: 31
34 / /
Joined: Aug 2005
|
O.P. RE: crystal/glassy icons
??? im rubbish at php by the way, do you mean change
code: $folderdir = "./images"; //EDIT THIS
$types = array('jpeg','.png','.bmp','.jpg','.gif');
to this...
code: $folderdir = Header("Location: $imageurl");
$types = array('jpeg','.png','.bmp','.jpg','.gif');
???
|
|
11-17-2005 07:02 PM |
|
|
Pages: (2):
« First
[ 1 ]
2
»
Last »
|
|