Item images in BBcode

Forum for game modifications and custom clients.

Item images in BBcode

Postby loftar » Mon Dec 30, 2013 5:00 am

FYI, I added a BBcode shorthand to link to item images for your perusal. You can use it e.g. like this:

branch
Code: Select all
[item]branch[/item]


herbs/waxingtoadstool
Code: Select all
[item]herbs/waxingtoadstool[/item]


It uses the resource name of the item in question, so you'll need to know it to use it, but I'm sure you'll have no great trouble.
User avatar
loftar
 
Posts: 1021
Joined: Sun Jul 08, 2012 7:32 am
Location: In your character database, shuffling bits

Re: Item images in BBcode

Postby jwhitehorn » Mon Dec 30, 2013 5:11 am

I have absolutely no clue what this means.


But thanks!

Chief PeePooKaKa
MM Tribe
Admin for Salem Wiki • Make suggestions or complaints in the Wiki Suggestion thread
User avatar
jwhitehorn
 
Posts: 5307
Joined: Sat Aug 18, 2012 7:07 pm

Re: Item images in BBcode

Postby RonPaulFTW » Mon Dec 30, 2013 5:26 am

jwhitehorn wrote:I have absolutely no clue what this means.


But thanks!

Chief PeePooKaKa
MM Tribe


Rather than uploading an image to imageshack, you can use the item images stored on seatribes server.

The catch is that you must know the image location.
RonPaulFTW
 
Posts: 928
Joined: Sun May 05, 2013 8:30 pm

Re: Item images in BBcode

Postby Chiprel » Mon Dec 30, 2013 7:02 am

loftar wrote:FYI, I added a BBcode shorthand to link to item images for your perusal. You can use it e.g. like this:

branch
Code: Select all
[item]branch[/item]


herbs/waxingtoadstool
Code: Select all
[item]herbs/waxingtoadstool[/item]


It uses the resource name of the item in question, so you'll need to know it to use it, but I'm sure you'll have no great trouble.


Dunno if you wanted it to have such usage too: :p
(as in being able to go up few directories)
Code: Select all
[item]../terobjs/tree/maple/mapleleaves[/item]

../terobjs/tree/maple/mapleleaves

Code: Select all
[item]../terobjs/sign[/item]

../terobjs/sign

Code: Select all
[item]../logo[/item]
[item]../logo2[/item]

../logo
../logo2

Code: Select all
[item]../../paginae/bld/farmhouse[/item]
[item]../../paginae/bld/anvil[/item]
[item]../../paginae/craft/snakeingrass[/item]

../../paginae/bld/farmhouse
../../paginae/bld/anvil
../../paginae/craft/snakeingrass



RonPaulFTW wrote:
jwhitehorn wrote:I have absolutely no clue what this means.

Rather than uploading an image to imageshack, you can use the item images stored on seatribes server.
The catch is that you must know the image location.

Open salem-res with something like 7-zip, winrar and check yourUSER/.salem/cache
dem M_O_V_E_M_E_N_T_O_A_T_M_E_A_L_C_R_A_C_K_E_R_S
Winner of bracket ( award.
<@TotalyMoo> Mushi, will you be my new lover? :<
User avatar
Chiprel
 
Posts: 778
Joined: Wed Aug 01, 2012 1:25 am

Re: Item images in BBcode

Postby loftar » Mon Dec 30, 2013 8:41 am

Chiprel wrote:Dunno if you wanted it to have such usage too: :p
(as in being able to go up few directories)

The script that serves resources as images was intended to be usable in such a fashion, yes, and it can already be used that way with an [img] tag. The [item] tag was just intended for convenience for doing items specifically, since that's probably by far the most common use-case.

However, you should note that the way you're doing that with the [item] only works because the browser resolves the ".." elements in the path; the server won't do that. So if you really want to show other resources than items, then you'll probably want to do that properly with an [img] tag, since I don't think you can count on all browsers to resolve those ".." elements.
User avatar
loftar
 
Posts: 1021
Joined: Sun Jul 08, 2012 7:32 am
Location: In your character database, shuffling bits

Re: Item images in BBcode

Postby Maxeusz » Sat Jan 04, 2014 1:26 pm

Some of extraordinary items:
halberd
broom
eyeofnewt
animus
toeoffrog
howletswing

I'm sorry i can't find Spirited Woodblock, Fillet of a Fanny Snake, Shiver me Timbers, Unshprechenblablabla book and much more.

I used to have got much more of this, but right now i've got only few. It can last some time until i find them once again.
Last edited by Maxeusz on Sun Jan 05, 2014 10:23 am, edited 3 times in total.
User avatar
Maxeusz
 
Posts: 32
Joined: Tue Aug 07, 2012 3:49 pm

Re: Item images in BBcode

Postby ZtyX » Sat Jan 04, 2014 1:29 pm

This is why this is the best MMORPG forum of any out there. The search function is awesome, the features are great. Wish every game had a forum like Salem's.
We Have MOST Fun on Jamestown!
Image
User avatar
ZtyX
 
Posts: 709
Joined: Sun Oct 07, 2012 6:48 am

Re: Item images in BBcode

Postby Droj » Thu Jan 30, 2014 4:21 pm

nice
***** the Treaty!
loftar wrote:I not like, you not get
User avatar
Droj
 
Posts: 1192
Joined: Wed Aug 01, 2012 1:23 am
Location: England

Re: Item images in BBcode

Postby dinoxx7xx » Sat Jul 05, 2014 7:15 pm

[item]golden egg[/item]
im retarded idiot that has ebola and i live in african village with old windows xp computer where salem laggs
- Captain Jack Sparrow-
User avatar
dinoxx7xx
 
Posts: 468
Joined: Tue Mar 04, 2014 11:25 pm

Re: Item images in BBcode

Postby Kandarim » Sun Jul 06, 2014 10:32 am

dinoxx7xx wrote:[item]golden egg[/item]


Code: Select all
[item]goldenegg[/item]


goldenegg
I have neither the crayons nor the time to explain it to you.
JC wrote:I'm not fully committed to being wrong on that yet.
User avatar
Kandarim
Customer
 
Posts: 5321
Joined: Mon Jan 21, 2013 4:18 pm

Next

Return to Artifice & Arcana

Who is online

Users browsing this forum: No registered users and 16 guests