Jump to content

Picture Link test


Guest Archimedes

Recommended Posts

Guest Archimedes

ZX9R%20in%20Memphissm.jpg

If you click on the above picture, it takes you to a bigger version. Nice for forums where large pictures can mess up the formatting especially for those running smaller resolutions.

First you have to have a regular version of a pic and a small version or "thumbnail" sorta...

http://www.clanthu.com/tgoftp/GlocKingTN/ZX9R%20in%20Memphis.jpg

http://www.clanthu.com/tgoftp/GlocKingTN/ZX9R%20in%20Memphissm.jpg

Don't let the %20 stuff throw you off....the reason they are there is because there were spaces in the filename of the picture.

They originally read as "ZX9R in Memphis.jpg" and "ZX9R in Memphissm.jpg"

When I resized the picture to make it smaller, I named it the same, but with an "sm" on the end before the extension (.jpg) You could use a "1" or whatever. Makes it handy if you can copy the address (http://www.clanthu.com/tgoftp/GlocKingTN/ZX9R%20in%20Memphis.jpg) then just hit paste for the large pic and hit paste and just add "sm" for the small picture.....Hope you're not lost YET!!!

YOU HAVE TO REPLACE ALL {} WITH [] TO WORK. I had to use {} instead of [] or you'd just see the finished product.

{IMG=http://www.clanthu.com/tgoftp/GlocKingTN/ZX9R%20in%20Memphis.jpg}{IMG}http://www.clanthu.com/tgoftp/GlocKingTN/ZX9R%20in%20Memphissm.jpg{/IMG}{/URL}'>http://www.clanthu.com/tgoftp/GlocKingTN/ZX9R%20in%20Memphissm.jpg{/IMG}{/URL}

{URL=big picture (link to be opened)} <--- defines a link to some web address DON'T FORGET THE 'EQUALS' SYMBOL!!!

{IMG} <--- defines an image

small picture (picture you want to show in forum message)

{/IMG} <--- Closes the IMG tag

{/URL} <--- Closes the URL tag

Normally using URL you could do this:

{URL=http://www.clanthu.com/tgoftp/GlocKingTN/ZX9R%20in%20Memphis.jpg}GlocKingTN's Bike{/URL}

To get this:

GlocKingTN's Bike

Since you are nesting the IMG tags inside the URL tags, the picture becomes the link.

So, replacing GlocKingTN's Bike with {IMG}http://www.clanthu.com/tgoftp/GlocKingTN/ZX9R%20in%20Memphissm.jpg{/IMG} gives you this:

ZX9R%20in%20Memphissm.jpg

Just like one could do this:

{URL=http://www.tngunowners.com}{IMG}http://www.tngunowners.com/forums/images/c1/statusicon/forum_new.gif{/IMG}{/URL}

To get this:

forum_new.gif <<-----------Click ME!!!!!!!!

~Archi

Link to comment
  • Replies 2
  • Created
  • Last Reply
Guest Archimedes

Meh, that's for the non-supergeeks.

Real geeks like their code home-brewed. :confused:

Basically, this thread was for GlocKing's benefit, but I thought some others might find some of it useful.

~Archi

Link to comment

Archived

This topic is now archived and is closed to further replies.

TRADING POST NOTICE

Before engaging in any transaction of goods or services on TGO, all parties involved must know and follow the local, state and Federal laws regarding those transactions.

TGO makes no claims, guarantees or assurances regarding any such transactions.

THE FINE PRINT

Tennessee Gun Owners (TNGunOwners.com) is the premier Community and Discussion Forum for gun owners, firearm enthusiasts, sportsmen and Second Amendment proponents in the state of Tennessee and surrounding region.

TNGunOwners.com (TGO) is a presentation of Enthusiast Productions. The TGO state flag logo and the TGO tri-hole "icon" logo are trademarks of Tennessee Gun Owners. The TGO logos and all content presented on this site may not be reproduced in any form without express written permission. The opinions expressed on TGO are those of their authors and do not necessarily reflect those of the site's owners or staff.

TNGunOwners.com (TGO) is not a lobbying organization and has no affiliation with any lobbying organizations.  Beware of scammers using the Tennessee Gun Owners name, purporting to be Pro-2A lobbying organizations!

×
×
  • Create New...

Important Information

By using this site, you agree to the following.
Terms of Use | Privacy Policy | Guidelines
 
We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.