4 ms·
You are right, I just checked it still has the old version deployed for that endpoint. It creates a red image with random dimensions, I will fix it asap. Would
by ilovefood 5y ago
You are right, I just checked it still has the old version deployed for that endpoint. It creates a red image with random dimensions, I will fix it asap.
Would you mind expanding on the last part?
- beckingz 5y agoA common type of writing for newsletters, articles, and presentations is to use a meme image of some type every couple of paragraphs. This seems like a good method for doing that. Save time picking out 'the perfect meme' because a random meme will probably be just as good.
- ilovefood 5y agoUnderstood, 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.