![]() |
Support our Advertising Vendors!! |
|
|
#1 |
|
DUM8HIT
Join Date: Mar 2003
Posts: 2,384
|
Thumbs Methodology
Hi Guys ,
While browsing the forum this week , I discovered that some of you are still on dialup internet ! It gave me pause to think that if I was getting a little frustrated with the forum speed ( improved now ) , that you dialup guys must be going bananas ! I suggested in one of the threads that perhaps we could try using 'thumbnails' here . Beo remarked that it might be a good project for me , as long as I didn't go messing with the forum itself .. hehe . Would I do that ? Shortly after Beo replied , a few more of you also began to show your support for such an idea . Well I sat down this morning with that in mind , and I now have a solution . It does not change any of the forum software , but it does use the YaBB code tags for IMG and URL . I will detail below the methods for getting thumbnails up and running . It may seem a little cumbersome at first , but I'm hoping that it will also be intuitive enough that folks will slowly latch onto it . As more of us try it , those of you on dialup may begin to enjoy pages that load a little faster .
Now for the technical part ... Upload a few pics , and we will begin shortly ! What I will do to illustrate the code used is use a two part process . The example(s) will involve 'two' seperate parts . In the first portion of the post you will see an image . By clicking on the image you will be able to see the full-sized version . Directly below this image you will find the code which I used to create it . Clear as 'mud' eh ? Ok , lets get started ! |
|
|
|
|
|
#2 |
|
DUM8HIT
Join Date: Mar 2003
Posts: 2,384
|
Thumbs Methodology
|
|
|
|
|
|
#3 |
|
DUM8HIT
Join Date: Mar 2003
Posts: 2,384
|
Thumbs Methodology
Ok , let's begin to tear apart the code in the example above ...
Here's an example of such code : Code:
http://www.cartogra.com/servlet/LinkPhoto?GUID=566f7bae-5813-62d2-2e03-7de414ca5fd0&size=sm Code:
size=sm Ok , now lets post that example code again in it's entirety : If you look closely , you will notice that in the first part of the code , I actually use 'size=lg' . This is because I am creating a URL that will identify the pic I saved on Cartogra ; but in it's large format . The second part of the code uses the familiar 'size=sm' ; spoken of earlier . This is because it is being used to identify the thumbnail of our picture hosted on Cartogra . The thumbnail image that we will use to display on the forum . Essentially the above code is the combination of two distinct YaBB functions . On one hand we are posting an image ... and on the other a URL , or 'hyperlink' . The code merges these two functions together , so that we :
Simply model your own code after the above example , and you should be good to go . If you have any questions , I'll do my best to answer them here . Good luck guys , and dolls ! T Y L E R TOYOTA FZJ80 CRUISERS ROCK !!! Special thanks to the guys that lit the fire under my butt to get this done . They include Beo , Bad_Religion , and Asiarider . Also thanks is due to Woody for his help this morning in combining the URL/Image tags together for that purty look
|
|
|
|
|
|
#4 |
|
IH8MUD Addict
Join Date: Oct 2003
Location: Pattaya, Thailand
Posts: 537
|
Thumbs Methodology
Tyler,
thanks. That looks pretty good and not to complicated. Hopefully many members will apply it and speed the forum up. Thanks again Tyler. Mike |
|
|
|
|
|
#5 |
|
The quick brown fox .....
Join Date: Mar 2003
Location: Somewhere in the foothills...
Posts: 10,400
|
Re:Thumbs Methodology
Nice work Tyler!
Those of us that don't use Cartogra can probably do the same thing by creating a small image on your web host and a corresponding large image. Same basic idea. I'll try it in this thread later tonight or maybe this weekend. (Kinda busy right now.... having to work for a living sucks.) -B- |
|
|
|
|
|
#6 |
|
Drunk
Join Date: Jan 2002
Posts: 383
|
Thumbs Methodology
hey, i got a hot tip for us webphotos users (they dont allow linking).
when linking to a webphotos image, copy the url, EXCEPT the .jpg at the end. voilla! that is how i post all my images!
|
|
|
|
|
|
#7 |
|
Drunk
Join Date: Jan 2002
Posts: 383
|
Thumbs Methodology
|
|
|
|
![]() |
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|
Advertising | Myspace Proxy | Gas Electricity | Remortgages | Personal Finance |