0

Let me know if i can make url of image like this http://placehold.it/1000/1000 other then this https://i.ytimg.com/vi/sXAwqoJ-WUA/maxresdefault.jpg

In short, i want to change image link (https://i.ytimg.com/vi/sXAwqoJ-WUA/maxresdefault.jpg) to my site directory (mysite.com/images/one)

Edit: This is not duplicate of other question because i want to do this when the image is not on my server.

shpwebhost
  • 76
  • 11
  • store the file on your server and use apache's `mod_rewrite` – BlobbyBob Dec 02 '17 at 09:53
  • Possible duplicate of [Can I use images without extension in ?](https://stackoverflow.com/questions/5110384/can-i-use-images-without-extension-in-img) – Amaury Hanser Dec 02 '17 at 09:56
  • but this can be possible when image on my server. I want to do this with youtube thumb url for - https://fbthumbtube.com where people can use large thumb but image not in my server. – shpwebhost Dec 02 '17 at 09:59

1 Answers1

0

Yes you can do this for that you have to create an html file and in 'index.html' you can insert images into the image tag.

 <!DOCTYPE html>

<html>

<head>

<title> images </title>

</head>

<body>

<img src="http://placehold.it/1000/1000 " style="max-width: 100%">

</body>

</html>

file loction mysite.com/images/one/index.html
and run your link mysite.com/images/one

RamNiwas Sharma
  • 318
  • 2
  • 5