Hi,
I have a Drupal 7.9 site up and running. I have some content that has an image as the main part. I use imagecache_actions to put a watermark on the image. Since I cannot put a watermark on the original image, I only present the watermaked image to the public (yes I know the original is still accessible, but I turn a blind eye for ayone clever enough to guess the correct path).
However, the original file path is "/files/images/something.jpg" while my styled image paths are look like this: "/files/styles/mystyle/public/images/something.jpg". For SEO and for human readablity this is just too long.
Is there a way to change the location of styled images? For example to "/files/mystyle/something.jpg"?
If there's a hook I can catch or a patch for the image module I'll be fine with it.
Thanks in advance.
Moha
Comments
I am getting the same problem
I am getting the same problem on the even more basic level, for ex. with user's profile pictures and Article module. The thumbnails are stored in the proper locations as configured, but the output going through styles module comes out as
http://www.domain.name/sites/default/files/styles/thumbnail/public/pictu...
so naturally the thumbnails aren't visible as the image is stored in
/sites/default/files/pictures/picture-1-1324666988.png
as configured in Drupal » Home » Administration » Configuration » People » Picture directory with a field value of
pictures
I apologize if I am missing something I should have found/configured, but I am really lost and banging my head for two days. Where are the styles path to be changed? How come it's not working out of the box? What am I missing with those thumbnails?
Thanks in advance :)
Same problem
I have a theme with a slideshow and it seems like the images are not being generated in the place where the path points. Did you ever get an answer or figure out your problem? It seems like I am getting much the same thing as you were.