Bikeguide.org - Bike maintenance for BMX'ers
Others => News => Topic started by: sheepdog on March 10, 2005, 01:03:21 AM
-
Well I had a bunch of new pics for the front page, unfortunately, my email program ate them..
I need new fresh ones..
If you want to put your name, and where it was taken, etc, you can stick it in the picture with a photo editor. Try and keep it clean looking though. if it looks like crap, I will not use it. Drawings are cool as well.
Also, try and keep it bike related.
-
the drawing from this thread should go on
http://www.bikeguide.org/forums/showthread.php?t=35234&highlight=bmx+2005
....the search works alot better, or mabye its the computer im on and mine just sucks
-
i cant remember who did it but someone drew a bike that he was going to build up... that was drawn perfect.. u could tell what tires he had on in from the treds...
-
I sent some pictures sheep, if you use them that would be sweet. There from JJMassar@gmail.com
-
i sent some too.. i believe i sent them under x4130x@gmail.com or flat180@adelphia.net... thanks sheep
-
Just so people know, I FOUND the ones sent in last time as well.
-
I sent mine first time I read this thread. I haven't seen them up but whatever, it's probobly not a priority.
-
I sent mine first time I read this thread. I haven't seen them up but whatever, it's probobly not a priority.
I have not added them, it takes some work, so I am waiting for a good group to do.
-
Sheep how about fixing the urls so they don't force the links to open in new pages. For example the forums link is
<a href="http://bikeguide.org/forums/">forums</a>
instead use
forums
-
I have not added them, it takes some work, so I am waiting for a good group to do.
so that means the ones we sent you arnt going up??
-
<?
$content = "<div align=\"center\">";
$content .= "<img src=\"";
## Change this line. Change YourPhotoDirectory/ to whatever folder your pics are in.
$content .= getRandomImage('YourPhotoDirectory/');
$content .= "\"><br />";
$content .= "</div>";
function getRandomImage($dir,$type='random')
{
global $errors;
if (is_dir($dir)) {
$fd = opendir($dir);
$images = array();
while (($part = @readdir($fd)) == true) {
clearstatcache();
if ( eregi("(gif|jpg|png|jpeg)$",$part) ) {
$images[] = $part;
}
}
srand ((double) microtime() * 1000000);
$key = rand (0,sizeof($images)-1);
return $dir . $images[$key];
} else {
$errors[] = $dir.' is not a directory';
return false;
}
}
echo "$content";
?>
Hey Sheep. Just paste this in and then upload all the photos into a folder on the server. Then just point it at the right folder. The script will count the photos in the folder and then will just randomly show one of them when the page is loaded.
-
so that means the ones we sent you arnt going up??
Yes, they will.
Just means I have more.
-
Sheep how about fixing the urls so they don't force the links to open in new pages. For example the forums link is
<a href="http://bikeguide.org/forums/">forums</a>
instead use
forums
I doesn't open in a new window, and your coding is wrong.
A target reference dictates if it opens in a new window, NOT using the full url.
Target=_blank
(or similar code) will open a new window.
All you did was shorten the URL. Not sure why yours is opening in a new window, but it shouldn't.
The shortcuts on the links page was causing some issues but I fixed that yesterday.
-
Hey Sheep. Just paste this in and then upload all the photos into a folder on the server. Then just point it at the right folder. The script will count the photos in the folder and then will just randomly show one of them when the page is loaded.
Very cool thanks!
Its up.
So are all the pics I have on hand.*
*as soon as they finish uploading (they are uploadinga s I write this).
-
No problem.
-
i should get a pic of the crazy bike store. bike parts and shit were laying all over. looked like a city dump
-
Sheep, did you get mine on there? I havent seen them at all yet........
-
Are you no longer accepting images? I thought your e-mail was listed on here.
-
Are you no longer accepting images? I thought your e-mail was listed on here.
Yep, send them in.
-
Put up that picture of me being all hot and intense. It's not bmx related but it might help get the vaginas back in here.
-
Yep, send them in.
send them to where?
-
send them to where?
My name @bikeguide.org
I would prefer not to post it as it gets plenty of spam already.
-
I HATE SPAM al the damn viagra emails i get lol, sending a drawing
-
Hi, I am new here. I view all posts. Good disscussion here.-----------------------------------------------------------------------------------------------------------------------------Specialize in nugget jewelry (http://www.towholesalejewelry.com/to/66.html), Wedding anniversary gifts (http://www.towholesalejewelry.com/to/67.html), A wide variety of handmade fashion products (http://www.towholesalejewelry.com/to/68.html)