• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.
  • Create a faction for Warcraft 3 and enter Hive's 19th Techtree Contest: Co-Op Commanders! Click here to enter!
  • Create a void inspired texture for Warcraft 3 and enter Hive's 34th Texturing Contest: Void! Click here to enter!
  • The Hive's 21st Texturing Contest: Upgrade is now concluded, time to vote for your favourite set of icons! Click here to vote!

ATTACH BB Code

Status
Not open for further replies.
Level 30
Joined
Jul 31, 2010
Messages
5,255
I think there is a problem with this bb code all I know is that by doing this there would be a small picture popping out of it and when you click it will open up a tab for the picture, I'm not sure if its how I code it or the code has changed which I didn't notice

http://www.hiveworkshop.com/forums/...278/602-ralles-tower-defence-guide-image2.jpg
I took this picture on the tutorials section

but when I turn it into attach this end up:
View attachment 602

inside the code
PHP:
[attach]602[/attach]

am I doing it right? D:
 
Level 35
Joined
Oct 9, 2006
Messages
6,395
Conclusion in the bottom.

am I doing it right? D:

Well the first thing I should have mentioned was a quote to the bb code list: The

This seems to actually find the picture name, but not show it..

Hmm how about this using the attach tag:
RandomDraws.png

And this: demotivation-posters-auto-245602.jpeg

Conclusion:
This only works with png pictures if you want thumbpicture - and only if in the thread
 

Attachments

  • 602-ralles-tower-defence-guide-image2.jpg
    602-ralles-tower-defence-guide-image2.jpg
    232.7 KB · Views: 418
Last edited:
Level 30
Joined
Jul 31, 2010
Messages
5,255
I am not sure, but I think it works best when the attachment belongs to the same thread. Does it always turn into a link for you?

well I first upload my pictures then I attach them, try looking here its one of my old reviews using the old attach codes: http://www.hiveworkshop.com/forums/2008208-post4.html

see what I mean? I uploaded a photo for this thread and use the attach code it ends up like this:
View attachment 118568

the full code:
PHP:
http://www.hiveworkshop.com/forums/attachment.php?attachmentid=118568&stc=1&d=1350306875
Conclusion in the bottom.
I don't do img tags when I use attach codes but wow so much varieties I'll try them then :)

EDIT: my first post was a mistake, I forgot to use the manage attachments and upload a photo
 
Level 30
Joined
Jul 31, 2010
Messages
5,255
hmm, looks like I don't have no choice but using png pictures for the attach code then, but still I do remember using jpg files for attach codes and it works:
attachment.php

anyways png works best then thank you Ralle, RED BARON, and Jolly Jumper :D
 

Attachments

  • test.jpg
    test.jpg
    510.5 KB · Views: 622
Status
Not open for further replies.
Top