After looking into it, I've decided to not implement dashes for separators right now. Underscores and spaces both work right now and I'd like to avoid adding another separator token for now in order to keep things less complicated.
Okey, I see your point. I'll use the '-' based slugs on my site and use the ' ' ones to access the images. Not a big problem anyways.
Many promos aren't listed on gatherer, so I don't know if you have plans to implement them. I was referring to cards such as Judge or FNM promos that have unique art.
Ahh yes. I don't have any immediate plans to add these cards as right now I'm only hosting cards that are from gatherer. Sorry I don't have better news for you.
I have been experimenting with this as part of something I am creating and it works very well - thanks! One thing I was wondering is what is the proper way to search by name (either in PTK or C13)
I have been experimenting with this as part of something I am creating and it works very well - thanks! One thing I was wondering is what is the proper way to search by name (either in PTK or C13)
I have been experimenting with this as part of something I am creating and it works very well - thanks! One thing I was wondering is what is the proper way to search by name (either in PTK or C13)
Kongming, “Sleeping Dragon”
I can't seem to get the image
It looks like you are trying to use “curly quotes” which were not supported. I just added support for them and now they work just like regular "ASCII quotes".
Sembiance, if I prepared for you sets of cropped lower resolution images, would you include them? I've made an app based on your api's and showing cropped images for Theros and BotG would be awesome (even if lower resolution). PM me if you're interested.
Thanks for your work!
I already provide crops in 418x305 resolution, did you mean to provide crops in even lower resolution?
Or did you mean just for the sets that I don't have crops for yet?
Just made a minor update to the site. No new images or anything.
Added an 'Expires' HTTP header to all the images so they will be cached by the web browser. Only set a 7 day expiration because images can change when going from lower resolution to higher resolution for example.
I also added support for the 'old' 2-letter set codes like 9e instead of 9ed.
I meant THS and BNG specifically. I wouldn't mind getting my hands dirty, if you'd include them - even temporarily - in your site. I really need them for my app to look good, because for now...
Any crops that I am missing, if you were to provide them to me, I would host them
I already provide crops in 418x305 resolution, did you mean to provide crops in even lower resolution?
I've been using your service for a web app I've been building - and was wondering how could do we get at the lower resolution images. I don't think I see any mention of 418 x 305 on the mtgimage page.
I've been using your service for a web app I've been building - and was wondering how could do we get at the lower resolution images. I don't think I see any mention of 418 x 305 on the mtgimage page.
For crops instead of full cards, change the image name to end with '-crop.jpg' or '.crop.jpg' instead of '.jpg'
Note this will give you just the card artwork and not the card border or text.
As for lower resolution versions of the cards themselves, I'm afraid I don't offer multiple resolutions. Just what is up there
an example of accessing a split card would be appreciated, as i at first attempted encode the gatherer name (eg 'Fire // Ice' -> '"Fire%20%2F%2F%20Ice"')
an example of accessing a split card would be appreciated, as i at first attempted encode the gatherer name (eg 'Fire // Ice' -> '"Fire%20%2F%2F%20Ice"')
First, I've added higher resolution cards for V13 and C13. So only BNG are the lower resolution images now.
Second, I've added crops for EVERY set that was still missing them: V13, C13, THS, UNH, UGL, MED, ME2, ME3, ME4, VAN, PPR
I ended up having to make all these myself, because I never located them anywhere else. The UNH and UGL lands are cropped kinda funny, but everything else is good.
Third, I've compressed all the images on the site. The visual difference between these new compressed versions and the original uncompressed versions is minimal. Still, the uncompressed versions are available via a .hq.jpg suffix (site has more details).
Lastly I fixed several bugs when accessing cards via multiverseid: Crops didn't work, expires header was missing and case was sensitive
I also updated the docs a bit, including adding details on how to access a split card.
Loving this resource. Been using it (and MTG JSON) in putting together a site I've been thinking about for awhile (and will be sure to throw a message here once it is up). Any way we can send a few bucks your way for the time you've put into this?
Loving this resource. Been using it (and MTG JSON) in putting together a site I've been thinking about for awhile (and will be sure to throw a message here once it is up). Any way we can send a few bucks your way for the time you've put into this?
No need need to send any money my way, I have been lucky that a different website I made a few years ago has been making a good amount of money, so it's been funding MTGImage and MTGJSON easily. As for my time, I work at home for myself so I have plenty of free time and I enjoy making sites that people find useful. It makes me happy to know that you and others are finding them so useful
Sembiance, your're beyond awesome! Imagine how surprised I was when I opened my app and all missing images where there! Is there any way I could buy you a beer or something, Bro?
When I saw your screenshot with all the missing icons... I just couldn't let that stand
Glad to hear I was able to surprise you in a pleasant way
No need for a beer or anything, knowing that you are finding the data useful is reward enough
You played JESUS?!?! I heard none of his guys stay in the graveyard, and once you think you have him beat he ALWAYS comes back to win within three turns. I like...WORSHIP him.
Working on adding some of the other missing sets like Introductory Two-Player Set and Deckmasters 2001. Will update again when that's done (may be a day or so, need to add them to mtgjson first).
Thank you, sir!
Okey, I see your point. I'll use the '-' based slugs on my site and use the ' ' ones to access the images. Not a big problem anyways.
Ahh yes. I don't have any immediate plans to add these cards as right now I'm only hosting cards that are from gatherer. Sorry I don't have better news for you.
I have been experimenting with this as part of something I am creating and it works very well - thanks! One thing I was wondering is what is the proper way to search by name (either in PTK or C13)
Kongming, “Sleeping Dragon”
I can't seem to get the image
http://mtgimage.com/set/PTK/Kongming,%20%22Sleeping%20Dragon%22.jpg
It looks like you are trying to use “curly quotes” which were not supported. I just added support for them and now they work just like regular "ASCII quotes".
If you just want the card and don't care what set:
/card/Kongming, “Sleeping Dragon”.jpg
If you want a specific set, then:
/set/PTK/Kongming, “Sleeping Dragon”.jpg
/set/C13/Kongming, “Sleeping Dragon”.jpg
Enjoy
I already provide crops in 418x305 resolution, did you mean to provide crops in even lower resolution?
Or did you mean just for the sets that I don't have crops for yet?
Added an 'Expires' HTTP header to all the images so they will be cached by the web browser. Only set a 7 day expiration because images can change when going from lower resolution to higher resolution for example.
I also added support for the 'old' 2-letter set codes like 9e instead of 9ed.
Any crops that I am missing, if you were to provide them to me, I would host them
I've been using your service for a web app I've been building - and was wondering how could do we get at the lower resolution images. I don't think I see any mention of 418 x 305 on the mtgimage page.
Thanks
For crops instead of full cards, change the image name to end with '-crop.jpg' or '.crop.jpg' instead of '.jpg'
Note this will give you just the card artwork and not the card border or text.
As for lower resolution versions of the cards themselves, I'm afraid I don't offer multiple resolutions. Just what is up there
http://mtgimage.com/set/LEA/Black_Lotus.jpg
http://mtgimage.com/set/LEA/Black_Lotus.crop.jpg
http://mtgimage.com/multiverseid/3.jpg
http://mtgimage.com/multiverseid/3.crop.jpg - 404
an example of accessing a split card would be appreciated, as i at first attempted encode the gatherer name (eg 'Fire // Ice' -> '"Fire%20%2F%2F%20Ice"')
I'll work on fixing both issues
First, I've added higher resolution cards for V13 and C13. So only BNG are the lower resolution images now.
Second, I've added crops for EVERY set that was still missing them: V13, C13, THS, UNH, UGL, MED, ME2, ME3, ME4, VAN, PPR
I ended up having to make all these myself, because I never located them anywhere else. The UNH and UGL lands are cropped kinda funny, but everything else is good.
Third, I've compressed all the images on the site. The visual difference between these new compressed versions and the original uncompressed versions is minimal. Still, the uncompressed versions are available via a .hq.jpg suffix (site has more details).
Lastly I fixed several bugs when accessing cards via multiverseid: Crops didn't work, expires header was missing and case was sensitive
I also updated the docs a bit, including adding details on how to access a split card.
Enjoy everyone
No need need to send any money my way, I have been lucky that a different website I made a few years ago has been making a good amount of money, so it's been funding MTGImage and MTGJSON easily. As for my time, I work at home for myself so I have plenty of free time and I enjoy making sites that people find useful. It makes me happy to know that you and others are finding them so useful
When I saw your screenshot with all the missing icons... I just couldn't let that stand
Glad to hear I was able to surprise you in a pleasant way
No need for a beer or anything, knowing that you are finding the data useful is reward enough
http://mtgimage.com/card/Gifts_Given.jpg - 404
Yes, I know. I am actively working on it. Thanks though for letting me know, it's appreciated.
ma..
zing..
subscribed and thanks a lot.
My 180 Modern Bordered Only Cube
Working on adding some of the other missing sets like Introductory Two-Player Set and Deckmasters 2001. Will update again when that's done (may be a day or so, need to add them to mtgjson first).
* Introductory Two-Player Set (ITP)
* Deckmasters (DKM)