Page 1 of 2

Item images in BBcode

PostPosted: Mon Dec 30, 2013 5:00 am
by loftar
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.

Re: Item images in BBcode

PostPosted: Mon Dec 30, 2013 5:11 am
by jwhitehorn
I have absolutely no clue what this means.


But thanks!

Chief PeePooKaKa
MM Tribe

Re: Item images in BBcode

PostPosted: Mon Dec 30, 2013 5:26 am
by RonPaulFTW
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.

Re: Item images in BBcode

PostPosted: Mon Dec 30, 2013 7:02 am
by Chiprel
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

Re: Item images in BBcode

PostPosted: Mon Dec 30, 2013 8:41 am
by loftar
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.

Re: Item images in BBcode

PostPosted: Sat Jan 04, 2014 1:26 pm
by Maxeusz
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.

Re: Item images in BBcode

PostPosted: Sat Jan 04, 2014 1:29 pm
by ZtyX
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.

Re: Item images in BBcode

PostPosted: Thu Jan 30, 2014 4:21 pm
by Droj
nice

Re: Item images in BBcode

PostPosted: Sat Jul 05, 2014 7:15 pm
by dinoxx7xx
[item]golden egg[/item]

Re: Item images in BBcode

PostPosted: Sun Jul 06, 2014 10:32 am
by Kandarim
dinoxx7xx wrote:[item]golden egg[/item]


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


goldenegg