We use cookies to improve your experience. No personal information is gathered and we don't serve ads. Cookies Policy.

ExpressionEngine Logo ExpressionEngine
Features Pricing Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University
Log In or Sign Up
Log In Sign Up
ExpressionEngine Logo
Features Pro new Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University Blog
  • Home
  • Forums

Image Sizer and File

Development and Programming

Ed Hebert's avatar
Ed Hebert
49 posts
16 years ago
Ed Hebert's avatar Ed Hebert

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?

       
leadsuccess's avatar
leadsuccess
408 posts
16 years ago
leadsuccess's avatar leadsuccess

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.

       
Ed Hebert's avatar
Ed Hebert
49 posts
16 years ago
Ed Hebert's avatar Ed Hebert

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!

       
leadsuccess's avatar
leadsuccess
408 posts
16 years ago
leadsuccess's avatar leadsuccess

np Ed;) How about switching over to FieldFrame and using nGen’s File Field?

       

Reply

Sign In To Reply

ExpressionEngine Home Features Pro Contact Version Support
Learn Docs University Forums
Resources Support Add-Ons Partners Blog
Privacy Terms Trademark Use License

Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.