Hello DA lovely members! Today I present you something you might know from TCGPlayer. When you hover a card link there, the image preview pops up. Of course that is easy in TCGPlayer, they got whole database of cards, but we don't have that luck. However, a little amount of brain cells, simple coding skills and being admin in DA allows one to make very similar thing, in fact same at the end.
I created a new bbcode named Card Link which you can see with this icon: in the last group of bbcode icons in your editor.
So, how do we use this bbcode?
It is very simple, I coded so that you don't have to mistype anything lol. When you click on the Card Link button, it will open up a form asking you the URL and CARD NAME. You insert the link of your image, give your link a name by which it will appear in post and hit Insert Card button.
Now, a example I will use following information:
The output is like this:
[card="http://images4.fanpop.com/image/photos/17600000/Yu-GI-Oh-cards-yu-gi-oh-17637125-400-580.jpg"]Dark Magician Girl[/card]
To preview the image, just hover over above link and the magic appears :D
Notice: The image preview has default dimentions which you cannot change, for the sake of not abusing the feature and using it just for previewing the cards. Dimensions are: 220x319 pixels. If your image is less size, it will be stretched to fit; same goes if its larger, it will be shrinked to fit.
I hope you like this addition. I developed this idea long time ago, some people might know it from DHQ site I've run, we had it there too.
I created a new bbcode named Card Link which you can see with this icon: in the last group of bbcode icons in your editor.
So, how do we use this bbcode?
It is very simple, I coded so that you don't have to mistype anything lol. When you click on the Card Link button, it will open up a form asking you the URL and CARD NAME. You insert the link of your image, give your link a name by which it will appear in post and hit Insert Card button.
Now, a example I will use following information:
Code:
URL: http://images4.fanpop.com/image/photos/17600000/Yu-GI-Oh-cards-yu-gi-oh-17637125-400-580.jpg
CARD NAME: Dark Magician Girl
The output is like this:
[card="http://images4.fanpop.com/image/photos/17600000/Yu-GI-Oh-cards-yu-gi-oh-17637125-400-580.jpg"]Dark Magician Girl[/card]
To preview the image, just hover over above link and the magic appears :D
Notice: The image preview has default dimentions which you cannot change, for the sake of not abusing the feature and using it just for previewing the cards. Dimensions are: 220x319 pixels. If your image is less size, it will be stretched to fit; same goes if its larger, it will be shrinked to fit.
I hope you like this addition. I developed this idea long time ago, some people might know it from DHQ site I've run, we had it there too.