HiveMinds Forum Index HiveMinds
We've arrived. Please notify the admins of any problems.
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Photo Site
Goto page Previous  1, 2
 
Post new topic   Reply to topic    HiveMinds Forum Index -> The Ever-Popular SITE CRITIQUES Forum
View previous topic :: View next topic  
Author Message
The Boy Hope
Feral Scot


Joined: 08 Nov 2002
Posts: 1586
Location: Scotland

PostPosted: Thu Dec 22, 2005 8:11 am    Post subject: Reply with quote

That's the navigation tweaked a bit. Still sometimes moves a tiny bit but it doesn't jump around all over the place like before. Oh, and there's a dropdown list, too.

Better?

I'm trying to figure out where I can fit a map in to show you where these places are. Still need to remove that useless confirmation email, too.
_________________
Let's all lobby for mandatory blood and urine testing of all politicians on a weekly basis. They have nothing to hide.
Back to top
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger MSN Messenger
The Boy Hope
Feral Scot


Joined: 08 Nov 2002
Posts: 1586
Location: Scotland

PostPosted: Thu Dec 22, 2005 4:35 pm    Post subject: Reply with quote

I've put an example map thingo up at http://walks.theboyhope.com/2005/december/glen_lyon/route/

It does nothing for me but then I obviously know where the place is already. What do you guys reckon?
_________________
Let's all lobby for mandatory blood and urine testing of all politicians on a weekly basis. They have nothing to hide.
Back to top
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger MSN Messenger
The Boy Hope
Feral Scot


Joined: 08 Nov 2002
Posts: 1586
Location: Scotland

PostPosted: Tue Dec 27, 2005 9:44 am    Post subject: Reply with quote

Post-xmas bump.
_________________
Let's all lobby for mandatory blood and urine testing of all politicians on a weekly basis. They have nothing to hide.
Back to top
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger MSN Messenger
caddickj
Never Satisfied


Joined: 08 Nov 2002
Posts: 1736
Location: PA, USA

PostPosted: Tue Dec 27, 2005 6:14 pm    Post subject: Reply with quote

The map's okay. Gives me a little better idea, but would be better with a couple major cities or landmarks or something indicated.

I also just realized that the "route description" text is a link. Totally missed that before because it wasn't underlined or indicated in any way.
_________________
When . . . it's time to step into the darkness of the unknown, faith is knowing that one of two things shall happen: either you will be given something solid to stand on, or you will be taught how to fly. - Edward Teller
Back to top
View user's profile Send private message
The Boy Hope
Feral Scot


Joined: 08 Nov 2002
Posts: 1586
Location: Scotland

PostPosted: Fri Dec 30, 2005 7:06 pm    Post subject: Reply with quote

Yeah, I suppose it is a touch bare. I'll fill the map in a bit.

I can see why you didn't notice the route description link. That's another one of those things I knew I needed to do something about but managed to avoid doing it. ;-)

Did you get by with the new nav any better?
_________________
Let's all lobby for mandatory blood and urine testing of all politicians on a weekly basis. They have nothing to hide.
Back to top
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger MSN Messenger
caddickj
Never Satisfied


Joined: 08 Nov 2002
Posts: 1736
Location: PA, USA

PostPosted: Sat Dec 31, 2005 3:09 pm    Post subject: Reply with quote

Yeah, that new nav was an improvement. Thanks!
_________________
When . . . it's time to step into the darkness of the unknown, faith is knowing that one of two things shall happen: either you will be given something solid to stand on, or you will be taught how to fly. - Edward Teller
Back to top
View user's profile Send private message
The Boy Hope
Feral Scot


Joined: 08 Nov 2002
Posts: 1586
Location: Scotland

PostPosted: Sat Jan 07, 2006 4:22 pm    Post subject: Reply with quote

I've added a few towns to the map. Here's hoping it makes a bit more sense to people unfamiliar with the country now.

Cheers everybody.
_________________
Let's all lobby for mandatory blood and urine testing of all politicians on a weekly basis. They have nothing to hide.
Back to top
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger MSN Messenger
KmsCage
Worker Bee


Joined: 08 Nov 2002
Posts: 65

PostPosted: Fri Jan 20, 2006 10:40 am    Post subject: Reply with quote

Really nice photos TBH! I have quite a few nature pictures I've taken over the years but nothing as nice as your pictures. I was wondering, did you create the code for the photo album yourself or is this something one can get/download from the web? I ask because I've been trying to find a good photo album I can use for my photos but haven't found anything good so far.
Back to top
View user's profile Send private message Send e-mail
The Boy Hope
Feral Scot


Joined: 08 Nov 2002
Posts: 1586
Location: Scotland

PostPosted: Mon Jan 23, 2006 6:56 am    Post subject: Reply with quote

I originally pinched a function to get all the images in a directory from somewhere or other and then tore it all up and started again. As usual. ;-)

I've pondered releasing it after tidying it up and fixing all the bits behind the scenes that I'm secretly ashamed of but it's way down the list at the minute. I'd be happy to help you with anything you're stuck with if you're rolling your own.
_________________
Let's all lobby for mandatory blood and urine testing of all politicians on a weekly basis. They have nothing to hide.
Back to top
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger MSN Messenger
KmsCage
Worker Bee


Joined: 08 Nov 2002
Posts: 65

PostPosted: Tue Jan 24, 2006 12:19 am    Post subject: Reply with quote

Quote:
I'd be happy to help you with anything you're stuck with if you're rolling your own.


Thanks, I appreciate it but it'll be a very long time before I get to the point where I can roll my own photo album (creating one from scratch that is). I've found several options on the web such as Coppermine Photo Gallery but their interfaces are just too much, I prefer something simple.
Back to top
View user's profile Send private message Send e-mail
The Boy Hope
Feral Scot


Joined: 08 Nov 2002
Posts: 1586
Location: Scotland

PostPosted: Tue Jan 24, 2006 8:28 am    Post subject: Reply with quote

It's not as hard as you think. Here's a simple example to get you started. Just drop it into a directory with some images.

Code:

<?php

function makeImageArray( $dir )
{
   $ctr = 0;

   if ( $img_dir = opendir( $dir ) )
   {
      while ( false !== ( $img = readdir( $img_dir ) ) )
      {
         if ( preg_match( "/(\.jpeg|\.jpg|\.JPG|\.JPEG)$/", $img ) )
         {
            $images[ $ctr ] = $img;
            $ctr++;
         }
      }
      closedir($img_dir);
      return $images;
   } else {
      return false;
   }
}

$here  = "{$_SERVER[ 'PHP_SELF' ]}";

if( !isset( $_GET[ 'img' ] ) )
    $_GET['img'] = 0;

$img = $_GET[ 'img' ];


$images = makeImageArray( getcwd() );
sort( $images );

?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
           "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html>

<head>
     
   <title>Your Gallery Title</title>

   <style type="text/css">
   div#thumbs img { border:none;margin:10px; }
   </style>

</head>

<body>

<div id="thumbs">
<?php

for( $ctr=0; $ctr < count( $images ); $ctr++ )
{
         if( $ctr < count( $images ) )
            echo "<a href=\"$here?img=$ctr\"><img src=\"" . $images [ $ctr ] . "\" width=\"100px\" /></a>";

}

?>

</div>


<div id="mainImg">

<img src="<?= $images[ $img ] ?>"  />

</body>

</html>

_________________
Let's all lobby for mandatory blood and urine testing of all politicians on a weekly basis. They have nothing to hide.
Back to top
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger MSN Messenger
KmsCage
Worker Bee


Joined: 08 Nov 2002
Posts: 65

PostPosted: Tue Jan 24, 2006 10:30 pm    Post subject: Reply with quote

Quote:
Just drop it into a directory with some images.


So . . . I guess I should create a php file and then place that file containing this code in the directory where my images are?
Back to top
View user's profile Send private message Send e-mail
The Boy Hope
Feral Scot


Joined: 08 Nov 2002
Posts: 1586
Location: Scotland

PostPosted: Wed Jan 25, 2006 3:46 am    Post subject: Reply with quote

Yeah.
_________________
Let's all lobby for mandatory blood and urine testing of all politicians on a weekly basis. They have nothing to hide.
Back to top
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger MSN Messenger
Display posts from previous:   
Post new topic   Reply to topic    HiveMinds Forum Index -> The Ever-Popular SITE CRITIQUES Forum All times are GMT - 5 Hours
Goto page Previous  1, 2
Page 2 of 2

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group