Hi-
I’m trying to implement Huot’s File extension together with Lumis’ Image Sizer Plugin to resize banners on my site.
I believe ImgSizer is having difficulty creating the cache for its resized images, but I can’t figure out the specifics of the problem.
My code is:
{banner}
{exp:imgsizer:size src="{file_url}" width="247"}
{sized}
{/exp:imgsizer:size}
{/banner}
Which is producing the error:
Warning: mkdir() expects at most 2 parameters, 3 given in /home/falacad/public_html/system/plugins/pi.imgsizer.php on line 206
Does anyone have any suggestions for me?
I had this issue and it dealt with my server and how it assigned ownership when a script creates the folder. Best thing to do here even a head of time is create the /cahce folder via FTP and set cache folder to 777, of course in the assigned file upload area. For this you will have to delete the cache folder first and recreate it with permissions 777, do not just try to reassign perms.
This may not be it at all but start here and see where it takes you, hope it helps.
Thanks, dvancouver-
I actually tried that too, as I read in past postings that others with similar problems tried the same thing. So, I created the cache directory in my “images/uploads” folder, and chmod’ed it to 777. Unfortunately, that didn’t help. It makes little sense, as I’d imagine that the mkdir routine wouldn’t even be called if the directory already existed. Oh well, it was worth a shot!
Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.