0

This title should be pretty self-explanatory. All the images and their manipulations are working just fine. Except when I upload the images into a subfolder of the main "images" upload-directory.

When I tell it to get the so-called "gallerythumb"-manipulation of said image, it returns the url: /images/store-photos/_gallerythumb/111.jpg

Which corresponds to the usual pattern: /upload-directory-path/user-created-subfolder/_manipulation-name/filename.jpg

Is this something that was never a part of Assets' functionality? I mean, I know it's not part of EE's functionality, but...

2 Answers 2

1

Sounds like a permissions issue to me. Make sure that the subfolders of the upload folders are writable by PHP. Image manipulations work for subfolders in Assets.

4
  • Andris! Thanks for your feedback :) We run our EE-installation on a Windows server, though. Permissions are never really an issue there... I've run into this problem before, on some other sites we made. Same story. Maybe it's tripping over the path-inconsistency or something? (forward/ and backward\-slashes) This is usually easily fixed by using PHP's realpath. Jan 8, 2014 at 14:45
  • I can imagine you guys not having the time/resources to work this out on a Windows-server... Any pointers where /how I might go about fixing this myself? Jan 8, 2014 at 15:11
  • Adrian, if you can send over CP access to [email protected], I can take a closer look, pinpoint the issue and, hopefully, fix it for the next upcoming release :) Jan 8, 2014 at 19:52
  • Andris had a look, and apparently this issue was already addressed in Assets 2.2.2 :) Thank you guys so much! Jan 9, 2014 at 10:20
0

I could be mistaken but EE only sees one level of folder and by thereby only manipulate those in he top level folder.

Assets introduced sub folders and as far as I know not even EE file manager sees IMG in assets sub folders.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.