What do you mean by getting an image by that URL? You need to rewrite the URL with htaccess and intercept it somehow using PHP and loading the file from somewhere.
Once you have the image you can get any info you want to from it.
- Rewrite URL with mod_rewrite (i.e.: domain.com/23234234/0 to domain.com?id=23234234&nr=0)
- Make a call to the database requesting the file with id 23234234
- Show it to the user changing the content-type of the file you are showing
Is it what are you looking for?
0
solved how can I get image in special url [closed]