Resizing images as links.

Post everything that hasn't to do with MOHAA or MOHPA here, including site feedback/suggestions.

Moderator: Moderators

crunch
Major
Posts: 348
Joined: Sat Jun 14, 2003 2:34 pm
Location: USA
Contact:

Resizing images as links.

Post by crunch »

Hello and how is everyone?

Just a quick q....I have been at .Map for quite some time, and have yet to
figure this out.

In almost any other site I post to, I can create a thumbnail image in a post that you can click to enlarge. At this forum, I have been unsuccessful, either with html or ubbc......
Does anyone know the code for the thumbnail/enlarge method of image posting for .Map? Or would I have to upload a small pic with a link to a larger image?
Image
User avatar
hogleg
General
Posts: 1577
Joined: Tue Sep 09, 2003 5:23 pm
Location: Down South Hillbilly Country

Post by hogleg »

Its done here:
/forum/viewtopic.php?t=7358

view the source. :wink:

Code: Select all

Objective random position 1
<br />
<a href="http://dynamic6.gamespy.com/%7Erjukanproject/tiki/show_image.php?id=98" target="_blank" class="postlink"><img src="http://dynamic6.gamespy.com/%7Erjukanproject/tiki/show_image.php?id=98&thumb" border="0" /></a>
<br />

<br />
Objective random position 2
<br />
<a href="http://dynamic6.gamespy.com/%7Erjukanproject/tiki/show_image.php?id=99" target="_blank" class="postlink"><img src="http://dynamic6.gamespy.com/%7Erjukanproject/tiki/show_image.php?id=99&thumb" border="0" /></a>
<br />
"all the governments in the world are corrupt and in the hands of the Illuminati"
jv_map
Site Admin
Posts: 6521
Joined: Tue Sep 03, 2002 2:53 pm
Location: The Netherlands
Contact:

Post by jv_map »

Yup you need 2 pics, a small one and a big one, then type bbcode like this:

Code: Select all

[url=linktobigimage][img]linktosmallimage[/img][/url]
Image
m4rine
Major General
Posts: 714
Joined: Fri Apr 11, 2003 5:28 pm
Location: UK

Post by m4rine »

thats neat i never knew that :D
"We must become the change we want to see in the world" (Mahatma Gandhi)
kai0ty
Brigadier General
Posts: 507
Joined: Fri Mar 19, 2004 1:45 am

Post by kai0ty »

ive never seen waht ur talking about cruch. what forum does that, im curious.
crunch
Major
Posts: 348
Joined: Sat Jun 14, 2003 2:34 pm
Location: USA
Contact:

Post by crunch »

I can do it on the VonderCrunch forum, Nemesis' page, Alliedassault.us, Uberclan........to name a few.
It is a simple code, similar to what jv_map posted, except I do not need to separate images. I can resize the large image directly on the forum page, and link it to a larger image.

Here's an example:
Sample image resize.
The thumbnail images are simply scaled down versions of the larger image, not a separate picture, using this code:

Code: Select all

[url=http://webzoom.freewebs.com/crunch/shot0022.jpg][img width=160 height=120]http://webzoom.freewebs.com/crunch/shot0022.jpg[/img][/url]
I cannot use the same code here to resize one image.... :?
Image
User avatar
tltrude
Chuck Norris
Posts: 4774
Joined: Sun Jul 07, 2002 4:03 am
Location: Oklahoma, USA
Contact:

html

Post by tltrude »

I have never been able to get html to work in a post, even though it says it is on.

Image

Image
<br />
<a href="http://pages.sbcglobal.net/tltrude/Temp/suez1.jpg" target="_blank" class="postlink"><img src="http://pages.sbcglobal.net/tltrude/Temp/suez1_sm.jpg" border="0" /></a>
<br />
Tom Trude,

Image
User avatar
hogleg
General
Posts: 1577
Joined: Tue Sep 09, 2003 5:23 pm
Location: Down South Hillbilly Country

Post by hogleg »

Had to try it. This is a pic of my hotel hall.

Hotel hall
Image

Image
Last edited by hogleg on Sun May 16, 2004 8:56 pm, edited 10 times in total.
"all the governments in the world are corrupt and in the hands of the Illuminati"
m4rine
Major General
Posts: 714
Joined: Fri Apr 11, 2003 5:28 pm
Location: UK

Post by m4rine »

yes thats because Admins have to set certain HTML tags allowed. so u can only use certain tags.

By default phpBB (the forums used on .map) allows these tags:

<b><i><u><pre>
"We must become the change we want to see in the world" (Mahatma Gandhi)
User avatar
hogleg
General
Posts: 1577
Joined: Tue Sep 09, 2003 5:23 pm
Location: Down South Hillbilly Country

Post by hogleg »

What am I doing wrong above?? :oops:



AAAaaaaaaahhh. :evil:
Last edited by hogleg on Sun May 16, 2004 8:29 pm, edited 1 time in total.
"all the governments in the world are corrupt and in the hands of the Illuminati"
m4rine
Major General
Posts: 714
Joined: Fri Apr 11, 2003 5:28 pm
Location: UK

Post by m4rine »

u are using HTML tags not allowed - see my above post ;)
"We must become the change we want to see in the world" (Mahatma Gandhi)
jv_map
Site Admin
Posts: 6521
Joined: Tue Sep 03, 2002 2:53 pm
Location: The Netherlands
Contact:

Post by jv_map »

Yup that's right you can only use <b>,<i>,<u> and <pre>... that's done to prevent users from posting crap like <iframe>s :wink:
Image
User avatar
hogleg
General
Posts: 1577
Joined: Tue Sep 09, 2003 5:23 pm
Location: Down South Hillbilly Country

Post by hogleg »

Figured it out. Thx alot :D
"all the governments in the world are corrupt and in the hands of the Illuminati"
m4rine
Major General
Posts: 714
Joined: Fri Apr 11, 2003 5:28 pm
Location: UK

Post by m4rine »

yeh but thats what u can do with BBcode anyway. the default settings are sensible because even with <a href=""> links ppl can add stuff like onmouseover.windowstauus whatever to mess wiht .maps appearence or to load about 500 po-ups and install applets and crazy stuff...

but .map is a great communitty, i was even shocked to see other communitys, one everyone abused each other all time... and they were mapping forums like these (well, gaming forums)...

i doubt anyone would do it... maybe a PHP guru could edit PHPBB code to allow it? also, i suggest u look for mods and extensions on www.phpBB.com, they may be one, if anyone finds one ask an admion, u never know...
"We must become the change we want to see in the world" (Mahatma Gandhi)
User avatar
hogleg
General
Posts: 1577
Joined: Tue Sep 09, 2003 5:23 pm
Location: Down South Hillbilly Country

Post by hogleg »

And yes I did notice the coronas being off a little/ fixed.

Thought I would point that out before some1 else did. :wink:
"all the governments in the world are corrupt and in the hands of the Illuminati"
Post Reply