954,604 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

hide image source real path?

hi,guys, i am facing on hiding the image source problem, may i know how to prevent user by using right click on image and check on the path image source location?thks for any info ya.cheers

stanley87
Light Poster
43 posts since Aug 2010
Reputation Points: 10
Solved Threads: 2
 

Even if you disable right click, view source, and browser debuggers will still show the image's path.

Not sure why you want this, but you could build a showimage.php?id=xxx to show your images.

pritaeas
Posting Expert
Moderator
5,484 posts since Jul 2006
Reputation Points: 653
Solved Threads: 875
 

erm,icic,how about i using image source link like

http://www.example.com/photos-ak-snc1/v41818/flyers/28/33/13240123822054275818_1_20f2db14.jpg(this is just the link of information by rename a new image name),but in fact the source path was store in http://www.example.com/source/example.jpg

is that mean that i have to use the mod_rewrite to rewrite the path of the image source?

stanley87
Light Poster
43 posts since Aug 2010
Reputation Points: 10
Solved Threads: 2
 

or i use source link like http://www.example.com/hash.php?id=12345 , then only return the image source base on the id?Note:the id will be store together with the image source link?i had found on the internet that had people say convert the whole image to ascii format and use an redirect link to call the ascii format out, is that possible?

stanley87
Light Poster
43 posts since Aug 2010
Reputation Points: 10
Solved Threads: 2
 
stanley87
Light Poster
43 posts since Aug 2010
Reputation Points: 10
Solved Threads: 2
 

Both options are possible. I prefer mod_rewrite because it is faster, and does not need additional coding.

pritaeas
Posting Expert
Moderator
5,484 posts since Jul 2006
Reputation Points: 653
Solved Threads: 875
 

can you show me some sample on the mod_rewrite method,sorry ya,my knowledge on mod_rewrite is quite limit,thanks you very very much

stanley87
Light Poster
43 posts since Aug 2010
Reputation Points: 10
Solved Threads: 2
 
pritaeas
Posting Expert
Moderator
5,484 posts since Jul 2006
Reputation Points: 653
Solved Threads: 875
 

thanks for the reference

stanley87
Light Poster
43 posts since Aug 2010
Reputation Points: 10
Solved Threads: 2
 

This question has already been solved

Post: Markdown Syntax: Formatting Help
You
View similar articles that have also been tagged: