Change where Imsanity searchs for images
-
Hi,
I’m using Gravity Forms in a website where users can upload images through a form. These images are not being uploaded in “wp-content/uploads/some-year/”, but are being uploaded to the directory “wp-content/uploads/gravity-forms/folders-for-each-form”.
the problem is that Imsanity is ignoring that directory and i would like to know what do i have to do to tell it to search there.
Taking a quick look in the code, I can see that there is a variable which looks to point to “/uploads” in “imsanity.php” >
$uploads=wp_upload_dir()
and another one in “libs/utils.php” >
$upload_dir = wp_upload_dir( null, false, $refresh_cache )
It’s enough to change these variables or do I have to modify anything else to tell Imsanity to search in “wp-content/uploads/gravity-forms/folders”
Thanks in adavance
- The topic ‘Change where Imsanity searchs for images’ is closed to new replies.