How do I get generated images at the original image file location instead of by the script?
If you want the actual images with their locations intact and not showing the standard script URL parameters of the software, you would have to use the mod_rewrite tool of Apache HTTP Server. If you have Apache as your Web server and mod_rewrite enabled, you should be able to do this. To give an example on how this is done, you would first make a file called “.htaccess” having that placed in the root directory of your Web site. Here is an example of what to input: RewriteEngine on RewriteRule ^myimages/(.*)/(.*)/(.*).jpg$ veqaimagefly/?image=$1/$2/$3.jpg&size=medium This rewrites the URL “http://www.yoursite.com/veqaimagefly/?image=*/*/*.jpg&size=medium” to be accessed via “http://www.yoursite.com/myimages/*/*/*.jpg” – the (*) character would serve as random values. This would be how to keep your image files intact with their original locations. You can learn more about Apache mod_rewrite here: http://httpd.apache.org/docs/2.0/misc/rewriteguide.
Related Questions
- When I enter a keyword for an image, the file date changes. How can I retain the original date in the file system?
- When I click on the soup search script, it asks me for the location of a Python DLL file. Where is that file?
- How do I get generated images at the original image file location instead of by the script?