3 ms·
Understood, that makes total sense. I haven't seen it that way! Thanks for letting me know, I'll keep that in mind since I currently have 0 idea how to make thi
by ilovefood 5y ago
Understood, that makes total sense. I haven't seen it that way! Thanks for letting me know, I'll keep that in mind since I currently have 0 idea how to make this project viable or if it would be necessary to do so.
- beckingz 5y agoYou'd probably need to make it work with medium dot com, as that has weird embed requirements for images? You may also want to provide an option that generates a different meme/image if the api is called from the same page. Example: https://www.williamangel.net/context.html https://www.williamangel.net/context.html Would also fill this niche better if it could do tags like `random_meme?type=ironic` so that it could be used for this purpose, but at that point you'd probably be competing with giphy and a bunch of similar services.
- ilovefood 5y agoOh now I can answer. <img src="https://api.assetroulette.com/random_meme?hello=there https://api.assetroulette.com/random_meme?hello=there"> <img src="https://api.assetroulette.com/random_meme?general=kenobi https://api.assetroulette.com/random_meme?general=kenobi"> Should give two different images on the same page :) I think it's because of how the browser caches a request for the same url but I don't know exactly yet. :/ I will definitely implement the search part, that is a great idea! Thanks again.
- beckingz 5y agoThat helps! Though it is funny to have the same image in some cases. Fun tool.