[BigBri.net] The official Brian Fields site


Making Thumbdrives [almost] Obsolete

For the past few years I've had a file management script that I've been using. At first, it was just a convenience for sharing files with classmates, but lately I've been using it more and more. A lot of the computers at our hospital don't do thumbdrives well, and while others have been attaching files to e-mails and using their webmail to access them, I just login to my file manager. With the webhost I use now, I have unlimited storage - and any computer with internet has access to it! It's also really nice for transferring files that are too large for e-mail. The only downside is that really large files are difficult to upload with php, so I do still use the thumbdrive for some things.

I use filethingie on my site. It's a single php flatfile (only 100k) that does everything without a database. The only issue with most hosts is php upload limits. Just add something like this to your php.ini file:

file_uploads = On
upload_max_filesize = 24M
post_max_size = 24M
memory_limit = 48M

Obviously the #1 concern with anything of this nature is security, so you might want to use .htaccess to restrict access to wherever your passwords reside.

That's it!

File Thingie

For those of you that don't have your own website and hosting, there are other ways to store files online. One of the more popular ways is by using a Gmail account for online storage. There are also many popular file storage sites like Xdrive.

Tagged as: , No Comments

Webhost Review

If you visited my site within the last few weeks you may have noticed it was down. I recently switched hosts. I took advantage of several hosts' money-back guarantees to take them for a test-drive. I assumed that most of them would be good, and better than my old host. What's interesting is that I ran into a lot of problems - even with the big-name hosts.

I took a few days to run some performance tests, and I uploaded all my content so that I could thoroughly evaluate all of them. I decided to publish my results because I had a hard time finding quality webhost reviews out there that compared hosts head-to-head.

I ended up being a little wordy (for the sake of complete disclosure). So if you just want to skip to the end - there's some great performance graphs and comparison charts down there.


WP => UTF-8 [and table name change]

During some down-time I was doing some minor website maintainance lately.  One of my big changes was to upgrade WordPress to the 2.2 version, which has a lot of core changes in it.  After upgrading, I noticed some problems immediately.  Suddenly, there were all these funky characters interspersed throughout my blog posts like "•".  At first I thought maybe wordpress was misinterpreting something, but a look at an .sql backup confirmed that these characters were hardcoded in the database.  Some extensive searching on the wordpress forums was fruitless.  There was a lot of talk about the changes to UTF-8 in WordPress 2.2, and some other people had been having similar problems, but I didn't see any clear-cut solutions.


3D thumbnails with CSS

Construction of the overlayFirst off, I am a medical student - not a web developer. Feel free to flame me all you want about standards. In fact, just skip the article and scroll straight down to the comment box right now you standards nazi. I'll give you a topic: "IE rules, Mozilla drools". OK, go...

Now that we got that out of the way, let's get to the code. I came up with this idea after reading this article about png gradient overlays on aListApart. It got me thinking about all the wonderful applications of transparency.

So, I got to work. Not less than 2 hours later I had beautiful 3D effects on my image thumbnails in my photo gallery. Go ahead and check 'em out. I didn't implement them on the front page, just on the album page. I also use a grayscale filter (that only works in IE). While the effect works great on color photos, I think that it really pops on black and white photos. (IE haters can scroll to that comment box now...)

On the left is an example of what I did. The top image is the thumbnail. The middle image is the transparent overlay image, and the bottom image is what they look like together. Here's my HTML:


As you can see, both images are inside the anchor, which is inside the div element. The CSS required to style this involves a little positioning magic. We set the positioning on the div to "relative" (the default, but in this instance we need to declare it), and then set the positioning on the img elements to absolute. This will allow you to position the img elements "absolutely relative to" the div. Got it?

Next, we set the z-index on the overlay to some obscenely high number so that it renders in front of everything else. I used 100, but feel free to go for broke on this one. Is 1,000,000 too much? Who knows?

Feel free to have fun with it. I used the visibility attribute to hide the overlay on hover. This makes it flatten out when you hover it. Check it out in this example.

CSS codeHere is the CSS that I used in the example. Now, I'm sure there are a million uses for this. One of the ideas I'll be implementing in my photo gallery is a little "next>>" overlay that goes over the images for navigation. (Not implemented in the current theme)

Please show me how you use it on your site by shooting me a link in comments.

I have zipped up my example files, along with the photoshop image I used to create the effect. You can download those suckers here: Example files (ZIP)

Finally, for those lazy kids out there in need of instant gratification, just unzip these files to your default-dark theme directory in zenphoto, and you can be cool like me...Default Dark Zenphoto Mod (ZIP)

[Lots of love to Zenphoto]


Hawaii and MySpace

I'm in Hawaii right now with the family.  I haven't had much time to work on ridiculousrims.com becuase I've been tweaking out on the MySpace page.  I finally got the MySpace page working right, so now I can chill and enjoy this wonderful vacation.  We've been taking lots of photos, and I posted one in the photo gallery - a gorgeous panorama shot of Waikiki beach.  I'll post many more once we get home. 


Site Changes / Under Construction

I am in the process of migrating to a MySQL database backend for a lot of my content.  The root directory of my website had become congested with so many files that keeping them all straight was becoming a problem, and most of the time when I felt like posting something, I was just too lazy to do it because I didn't want to bother with all the markup.  I am using wordpress for the blog, and zenphoto for the photo gallery.  I hope that all of my zero site visitors enjoy all the hard work I am putting into this....


Everybody’s got a freaking website now!

Lara's Lair can now be found at lara.bigbri.net. Devin is by far the youngest person to ever have a website. Just yesterday he downloaded in his pants! Devin's Deeds can be found at devin.bigbri.net. I know these addresses are going to be hard to remember (They're so counter-intuitive) so I put links up at the top of my site, too.

Tagged as: , No Comments

The Website is Live!

After having this domain for over a year, I've finally decided to put it to good use. My plan is to keep family and friends up-to-date on our happenings once we are far from home. Keep checking back, as soon as baby is born, I will post some pictures.

Tagged as: No Comments