Well I’m having my first trouble with this plugin, and I think it’s because EE is installed inside a folder, not in the root folder.
My EE installation is in the directory /sitio/
So my templates are acceded like this
/sitio/index.php/template_group/template_name
I wrote the full image path instead of taking it from a variable just to be sure that the problem is not with the variables or how I’ve configured my upload dir.
The full image path is /sitio/images/covers/cod_83.jpg, so I wrote
{exp:imgsizer:size image="/sitio/images/covers/cod_83.jpg" width="170" justurl="yes"}
That returns nothing…
But if I use the path without the installation dir (without /sitio):
{exp:imgsizer:size image="/images/covers/cod_83.jpg" width="170" justurl="yes"}
The plugin returns the cached image URL, obviously without the installation dir:
/images/covers/cache/170x170-cod_83.jpg
So to fix that, I add the installation dir manually:
/sitio{exp:imgsizer:size image="/images/covers/cod_83.jpg" width="170" justurl="yes"}
So the plugin returns:
/sitio/images/covers/cache/170x170-cod_83.jpg
It looks like I’ve solved the problem, but there is another: The image cache file doesn’t exist.
There is no /cache folder inside my /covers folder.
Maybe is because the plugin is trying to write it in /images/coves instead of /sitio/images/covers.
The weird thing is that it seems like the plugin is adding the /sitio folder to the image path, because it can find it and read it well, but it’s not able to write it to the correct destination folder.
Any Help?