SEO/SEM Downloads and Other Tools

Useful SEO tools or cool stuff I found

Archive for August, 2006

SSH Tunneling

Thursday, August 31st, 2006

One thing I really feel bad about with this Isulong SEOph website of mine right now is I cannot actually visit my site! I get connection timeout errors. And this is only when I am at home. But when I am at work, I can seem to visit my site. And people I know in the Philippines can also visit this website. After doing a traceroute, which I do not 100% understand, this is what came out:

Hop IP Hostname Ctry
1 66.36.240.2 AS14361HOPONE-DCA c-vl102-d1.acc.dca2.hopone.net. US
2 66.36.224.248 AS0IANA-RSVD-0 gec3.core1.dca2.hopone.net. US
3 66.36.224.18 AS0IANA-RSVD-0 ge3-0.core1.iad1.hopone.net. US
4 206.223.115.141 AS2914NTTA-2914 equinixexchange-ash.flagtelecom.com. US
5 62.216.128.49 AS15412FLAG-AS so-1-1-0.0.cjr01.nyc007.flagtel.com. GB
6 62.216.128.134 AS15412FLAG-AS so-1-1-0.0.cjr03.lax001.flagtel.com. GB
7 80.77.0.22 AS15412FLAG-AS unknown.flagtel.com GB
8 58.71.0.68 AS9299IPG-AS-AP unknown.net.ph PH
9 [Unknown] [Unknown - Firewall did not respond]  
10 202.91.163.3 AS17452BITSTOP-AS-AP unknown.dagupan.com PH
11 202.91.163.60 AS17452BITSTOP-AS-AP [Reached Destination]www.isulongseoph.com.ph [No PTR] PH

Do you think I understand that? I don’t. But it seems hop 9 is not working well. Right ater net.ph. Is something wrong with net.ph? Or the firewall belongs to dagupan.com and I am getting blocked. Duh? I own the hosting account and the owner of the account is blocked? But we are not really sure what the real problem is right now. Except that I cannot access my own website through my connection from my ISP at home. But elsewhere I can access my own website. And I have actually been chatting with my wife to post for me in some of the previous postings.

And since this is the case, I have been playing around with Proxy.ph. Free plugging for them, too bad, they are down right now this very day I am posting on my Isulong SEOph blog. And if I can access my website through another connection except my own, then I can setup an SSH tunnel on my computer that cannot access my website and tunnel through my connection. And if I can do this at home, with a problematic connection, you can also do this a work where certain ports are blocked or some websites are blocked.*

With SSH Tunneling you can get through blocked connections at work. (assuming the SSH connections are blocked too.) Is your job preventing you from visiting certain sites? You can’t visit MySpace and you want to know how to get through the block MySpace access at work? You can’t chat at work because your IM’s are blocked at work and you want to know how to chat without getting blocked?

Whatever I did to solve my problem here, can also be used to get past some blocked connections you may also have at work. First is you need the SSH Tunnel software. You will also need a server with SSH access. Or even simply a hosting account with SSH access. Please note you will be using some bandwidth of your hosting server. You can also use your computer at home that is connected to the Internet with some high bandwidth connection.

Right now I use SSH Tunnel by RS4U, and I had no problems using it. But since I want to save on bandwidth of my server also, I use Microsoft Internet Explorer with the SSH Tunnel while my Firefox still uses the main connection.

Try configuring it and if ever you have problems, check the RS4U forums or post a comment below if you want to know how I setup my own browser.

*Author nor owner of this blog is not responsible for your actions if ever you get fired or reprimanded from your job for using an SSH tunnel. I personally know someone that got fired using an SSH tunnel at work since the IT guys were able to see him using Port 22 often which is the default SSH port.

Isulong SEOph LightboxGallery

Sunday, August 20th, 2006

Isulong SEOph LightboxGallery Demo Page

More and more sites have been amazed with the cool Javascript and CSS work done on Lightbox JS v2.0, which is basically making this cool way of viewing images when someone clicks on thumbnails more Web 2.0. No page reloading, no annoying pop-ups. And it is all powered by Scriptaculous. And scriptaculous is powered by Prototype.

Prototype was made to have a comprehensive library of Javascript functions so you no longer need to make them, but it’s comprehensiveness makes things a bit overwhelming to learn it all. So this is where Scriptaculous tries to simplify the process making functions more user friendly for the coder, that may not be that much of a hard core Javascript programmer. And Lightbox JS v2.0 is for a specific purpose of handling images on how to preview them when a thumbnail of an image is clicked. But to make a gallery out of it, using Lightbox JS v2.0 can be a tedious task to do especially when handling many images.

Here comes Isulong SEOph LightboxGallery

LightboxGallery is a script I made in my attempt to simplify the process of having many thumbnails tiled on a page with your Lightbox JS v2.0 code all ready set for you to use. It uses PHP and does not require any database, but requires to number your images incrementaly starting with number 1 and at the current moment, will only support .JPG files, all in lowercase. Although this was made real quickly, more improvements will be see in the future.

What you can easily do with LightboxGallery is tile even hundreds of thumbnails, you set the size of the thumbails (images are not resize, you will have to be in the proper size before using LighboxGallery), and the distance between each thumbnail. Since these are floating div tags, that wrap just like text when the end is met and will go on the next row, you can easily control the number of thumbnails in a row by changing the width of the container. This container may be a table or a div tag, which ever you are more comfortable with.

This is very easy to setup in these few easy steps.

Preparation of Isulong SEOph LightboxGallery

  • Prepare both the actual size of images and the thumbnails too. If you have thousands of images and is using Windows, there is a Windows application called Photo Resizer. It is a free software by EMCO and they have very cool network security software as well. Rename your photos as numbers starting with the number 1, and going to the next number without missing a number and having the lowercase .jpg extention. Like 1.jpg, 2.jpg, 3.jpg and so on. The order of the numbers will be the same order as they appear in the gallery. Make sure each thumbnail filename number will have the same filename number in their corresponding bigger images. It is required that all thumbnails have all the same size. Although it is not required in the bigger images to have the size. So if you have a mix of portrait and landscape photos, you might want to resize the thumbnails in a way that they all have the same height and width.
  • Download Isulong SEOph LightboxGallery here. Unzip it all and place the whole folder lightboxgallery on your web hosting account. Do not upload the files inside the lightboxgallery and mix it with your other files unless you really know what you are doing. Having all files together makes it clean and neat within your file structure as well.
  • If you have any captions for the images, save each caption in a text file and name them 1.txt, 2.txt. 3.txt and so on corresponding to the same numbers of the images. Save these caption files together with your thumbnails. The captions are not required.

Setting up the Isulong SEOph LightboxGallery

  • Open the file lighboxgallery.php inside your lighboxgallery folder and place the URL where the lightboxgallery folder is located like in the example below:
    $lightboxGalleryURL = "http://downloads.isulongseoph.com.ph/";
    Always end your URLs with a trailing slash.
  • Upload all big images in the folder gallery-images. Upload all thumbnails and caption text files in the folder gallery-thumbnails.
  • Just add these few lines of code in your html code.
    In the head section, preferably just before the closing head tag:
    <?php include("lightboxgallery/lightboxgallery.php"); ?>

    Right after the opening body tag:
    <?php include("lightboxgallery/after-open-body-tag.php"); ?>

    Just before the closing body tag:
    <?php include("lightboxgallery/before-close-body-tag.php"); ?>

    Add this attribute in your body tag:
    <body onload="pwPreloadImages();">

    And finally, where you want your thumbnail gallery to appear, replace the values with the actual values you want to use.
    <?php lightboxGallery(
    'thumbnail height', 'thumbnail width',
    'margin width', 'margin height',
    'border color'
    ); ?>

    As a guide, here is a copy of the code I used for the gallery above:
    <?php lightboxGallery(
    '45', '45',
    '20', '20',
    '000000'
    ); ?>

Done! Have fun! This will even get better and easier to use. Visit this page from time to time for updates.

What to expect in future releases of the Isulong SEOph LightboxGallery

  • Pagination
  • Mouseover previewing like IStockphoto
  • Automatic Thumbnail resizing
  • No more filename naming conventions
  • Wordpress plugin, Textmate Plugin, Typepad Plugin

This Isulong SEOph LightboxGallery had problems in Internet Explorer when thumbnails were clicked and the page is not fully loaded yet. And this problem was solved with the use of a webpage preloader. The code for the webpage preloader was derived from the work of Nimrod Abing.

Locations of visitors to this page
KeywordDiscovery.com Keyword Research Tool Wordtracker Keyword Research