Bring Your Business to Life › Support › Image Store › Wrong upload path
Tagged: upload error, upload path
- AuthorPosts
- February 25, 2013 at 1:32 am #52429
Van Halen
ParticipantHi,
we have an problem with Image Store 3.2.1, since the last update the images are not uploaded to the default upload folder ‘_imsgallery’ anymore. Instead each gallery is uploaded to a new directory, like: wp-content/imsgallerygallery-6675/photo.jpg instead of wp-content/_imsgallery/gallery-6675/photo.jpg. The slash is removed between _imsgallery and gallery-id.
The gallery path in the backend is displayed as: /_imsgallery/gallery-6676
We disabled all other plugins, removed the htaccess file, disabled and changed the permalink structure with and without a trailing slash. Reseted the Image Store settings to the default settings, created a new default folder via ftp, checked the chmod settings.
We’re at a loss here. Anyone have any idea how to solve this?
February 25, 2013 at 7:15 am #52432Van Halen
ParticipantThe problem is fixed, we’ve removed: sanitize_file_name() not sure if this will cause any new problems, but it works for the time being.
in /image-store/_inc/galleries.php:
$this->galpath = “/” . trim( sanitize_file_name( $_REQUEST[‘folderpath’] ), “/” );
to:
$this->galpath = “/” . trim( $_REQUEST[‘folderpath’] , “/” );
February 25, 2013 at 3:31 pm #52444Xpark Media
Keymaster@Van Halen,
yes, we test it and this is the problem, we applied a fix and will be release on the next version
- AuthorPosts
- You must be logged in to reply to this topic.