• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • It's time for the first HD Modeling Contest of 2024. Join the theme discussion for Hive's HD Modeling Contest #6! Click here to post your idea!

ATTACH BB Code

Status
Not open for further replies.
Level 30
Joined
Jul 31, 2010
Messages
5,246
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,392
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: 413
Last edited:
Level 30
Joined
Jul 31, 2010
Messages
5,246
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,246
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: 604
Status
Not open for further replies.
Top