News for hackers. Stuff that matters.

I created the best placeholder service ever

Hi everyone.

I'm pretty confident that I have created the best placeholder service ever. Hope you like it.

Finding Image placeholders was a problem for me. Used to search google for images which was kind of tedious. I tried using non-copyright image providers like Unsplash but that meant going to and fro a website constantly. This was starting to be annoying as I was constantly distracted and had to leave my coding environment.

Thus we decided to make our own placeholder service which is super easy to use (really easy) and gives quality images without ever leaving my code editor.

Hence imgsrc.space was born. To me, it is possibly the best placeholder service ever. let me tell you what it can do.

Just name your search term, and we would find you the perfect image for it. Resize Images on the fly, enter your desired dimensions and we would give you the resized image instantly. Not just images, you can also get Video placeholders on-demand, just name your search term. We have a cool js library that makes your dev process even easier. You would never need to leave your development environment to look for placeholders. Not only that you can use this to get photos and videos in "codepen", "js fiddle" and similar services. You can use it to write blog posts and video tutorials without worrying about hosting images that your viewers can follow. We have a library of around 3Million+ Images and videos, so you can get creative with what you want. Want to try some images? Here try some. https://imgsrc.space/cat https://imgsrc.space/dog https://imgsrc.space/ocean

some resized images https://imgsrc.space/horse?h=200

Check out a video https://imgsrc.space/dog-v

I hope this would save some development time for you guys. I would be glad to know what you think

This is our home page - https://imgsrc.space also, we just launched on producthunt check us out @ https://www.producthunt.com/posts/imgsrc-space

( 4 comments | 14 points | on HN )
Re:I created the best placeholder service ever by alokjnv10 on Tuesday October 05, 2021 @03:42AM (#28756507)
cool. have you seen doodleipsum. btw. is there any way to prevent image cache. because using same url. if we can append a random id after each request then it will be cool for cache prevention
Re:I created the best placeholder service ever by web_dj on Tuesday October 05, 2021 @04:01AM (#28756609)
Ya I have seen doodleipsum, but i would say this is better than that. Even with doodleipsum, you would have to leave your code editor, go to an external website then pick and copy the link you want to use.

With Imgsrc.space just name the picture you want right into your code and it would be magically delivered.

something like - https://imgsrc.space/sunset - would give you a picture of a sunset https://imgsrc.space/computer - would give you a picture of a computer.

It's just like searching on google images but without even leaving your editor.

Also if you use the JS library.this is how easy choosing an image will become-

<img src=". cat"> gives an image of a cat

In my experience while using Imgsrc.space your images would not be cached by the browser, but if you still face any issues. try adding a ? mark at the end with some random query string (even just a ? would be fine) something like https://imgsrc.space/cat?

Re:I created the best placeholder service ever by brezelgoring on Tuesday October 05, 2021 @07:25AM (#28757950)
Really nice work man, thank you for posting it here.
Re:I created the best placeholder service ever by tommcshwa on Tuesday October 05, 2021 @09:19AM (#28759015)
This is cool.