1

My images are on this folder:

http://localhost/images/uploads/blog/

After i resize them using CE Image, they end up here:

http://localhost/cache/images/uploads/blog/

Is there any way i can exclude /images/uploads (using the plugin, not with .htaccess)? So that CE Image can save them in:

http://localhost/cache/blog/
2

You can try to play with parameter hide_relative_path and cache_dir. Based on what u use for upload, you can make this like:

{news_image}
     {exp:ce_img:single src="{path}{file_name}" cache_dir="/cache/{location}/" hide_relative_path="yes"}
{/news_image}
1
  • Thanks, was using either one or another, but not both!
    – Vitor
    Feb 6 '14 at 15:48

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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