Remove File Path
Is there a way that I can stop the full file path from being added to the database with the image upload facility. I only wish to pass the file name?
Is there a way that I can stop the full file path from being added to the database with the image upload facility. I only wish to pass the file name?
passing in only the file name will not work.
HTML Editor uses the full file path so that it can work across any page in your site.
by using the full path, it creates a site relative link to the uploaded image so that whether you are on:
page.php
or on
page.php
the image can still be loaded correctly.
Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.
These out-of-the-box solutions provide you proven, tested applications that can be up and running now. Build a store, a gallery, or a web-based email solution.