Direct link to image / video script

Can you have a direct link to a image / video ?

On my page you have to go to the page then the section then click on the image / video. What if you wanted to give a direct link, so the user could go to that link and the image / video would load up bypassing all the other steps?

can you give detail explaination

If I tell you to view an image, you’d have to go to the page, go to the area on the page that holds the image, then click on the image. Is there a way to bypass all this if you wanted to give the user a direct link ?

if page load you want to show image to user ?
or which event you want to show image to user

A direct link to the image. For example if you visit a web page that loads a script to display the image, but you want to give someone a direct link to that image which gets loaded by the script, bypassing everything else.

both events can be handle by using trigger , you can trigger the click event of image on page load using jquery.

I tried searching for it, but I can’t find it no more. It had to do with hashes in the html code and directly linking images instead of going though the navigation of a page.