I need the htaccess code (if there is one) that doesn't allow .jpg or .gif images to be displayed on their own.
I only want them to be displayed on an html page.
SPECIALTY COSTUMES • PROPS • FX
Superheroes • Monsters • Robots
PM for details
For any manufacturing needs. Adult or otherwise.
But isn't that just for anti hotlinking? I used that code and I still can see the image. What I want is the code that does not show the image unless it's on an HTML page.
If that's even possible.
SPECIALTY COSTUMES • PROPS • FX
Superheroes • Monsters • Robots
PM for details
For any manufacturing needs. Adult or otherwise.
an HTML page is just a bunch of scripting that tells the browser what to display. When your browser sees an image, it grabs the image. In order to do what you want, from what I know, is to have a script READ the image from a non-web accessible directory and spit the contents to the browser.
depends on languages, etc. I do lots of php so I use fopen() or something similiar and pass it the path to the image i want to read. I also do this to create images with custom text based on an image template. perhaps someone else out there knows a better method.
But isn't that just for anti hotlinking? I used that code and I still can see the image. What I want is the code that does not show the image unless it's on an HTML page.
If that's even possible.
the code I've got does what you want, all of my pics are in htm's... so is they type in (example) free1.jpg they go to 404
Epic CashEpic Cash works for me Solar Cash Paysite Plugin
Gallery of the day freesites,POTD,Gallery generator with free hosting
Comment