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

plugin: Image Sizer

Development and Programming

Joobs's avatar
Joobs
362 posts
15 years ago
Joobs's avatar Joobs

I’ve asked this a few times, and so fat no one has responded. But please, does anyone have any ideas why 2.5.6 causes a black pixel to appear on the top left corner of proportionally resized images? The previous version imgsizer 2.1.1 does not do this!

       
Mike Verbruggen's avatar
Mike Verbruggen
37 posts
15 years ago
Mike Verbruggen's avatar Mike Verbruggen

I want to delete the folder with all the re-sized images. But i get an error. This is the error “Error -144: remote delete failed”. I can rename the folder but then i get a duplicate of the “sized” folder.

Is this a normal behavior? How do i get rid of this problem?

I use version 2.5.6.

       
angstmann's avatar
angstmann
225 posts
15 years ago
angstmann's avatar angstmann

This happened to me recently and I had to get on to my hosts so they could make some changes to my account to give me the necessary permissions to delete that folder.

       
Mike Verbruggen's avatar
Mike Verbruggen
37 posts
15 years ago
Mike Verbruggen's avatar Mike Verbruggen

@angstmann: My first reaction: Yeay I’m not the only one. My second one: But do i have to go to the hosting provider every time when i want to delete the “sized” folder?

       
angstmann's avatar
angstmann
225 posts
15 years ago
angstmann's avatar angstmann

No I don’t think so. I would assume that its a global setting at your web hosts that is stopping you deleting or changing the permissions yourself on certain folders. I only had to request the change once and I can change permissions and delete fine now. Are you on a standard shared hosting account, or are you on a reseller, VPS or dedicated server? I think some shared hosting accounts have less control over permissions, etc to begin with.

       
Mike Verbruggen's avatar
Mike Verbruggen
37 posts
15 years ago
Mike Verbruggen's avatar Mike Verbruggen

I contacted the hosting provider of my client and they changed the permissions. Now I’m happy again.

Mister Angstmann –> Thnx!

       
angstmann's avatar
angstmann
225 posts
15 years ago
angstmann's avatar angstmann

You’re welcome. It was good to get to the bottom of it, I can tell you, rather than me just cursing at the computer screen like I normally do 😊 Glad you got it sorted.

       
eclectiv's avatar
eclectiv
133 posts
15 years ago
eclectiv's avatar eclectiv

I can’t get Image Sizer to work. Created the “sized” folder, made the folder writable, and my server supports GD. I can’t get this to work:

{exp:imgsizer:size src="http://www.mywebsite.com/images/uploads/olives.jpg" width="180" alt="{title}"}

Anyone know what’s going on? This is really frustrating.

       
angstmann's avatar
angstmann
225 posts
15 years ago
angstmann's avatar angstmann

The way I always troubleshoot this plugin is to turn on template debugging in the EE Prefs and reload the page that has the imgsizer code on it. Check for any issues related to the plugin in the debug output. Mine were paths/permissions related, even though I thought I’d set everything correctly!

       
mattfordham's avatar
mattfordham
4 posts
15 years ago
mattfordham's avatar mattfordham

Hello all,

I am having a prblem with global variables not working from within the imgsizer tag.

Something like this…

{exp:imgsizer:size src="{site_url}images/filename.jpg" width="150" height="150"}

…throws the following error

imgsizer.Error: /Library/WebServer/Documents/{site_url}/images/filename.jpg image is not readable or does not exist

Any ideas why {site_url} is not getting replaced???

Thanks!

       
Jamie's avatar
Jamie
33 posts
15 years ago
Jamie's avatar Jamie
Hi, I’m getting this error when trying to use image sizer:
Parse error: syntax error, unexpected '{' in /homepages/33/d291396367/htdocs/eefiles/plugins/pi.imgsizer.php on line 700
Running ee v 1.6.8 and image sizer 2.5.6 the line that creates the problem is:
{exp:imgsizer:size image="/images/uploads/6th-Av.jpg" width="100" height="100" alt=""}
Also, the plugin manager won’t load with image sizer installed. Any ideas? Aldo

Having this exact same issue - Just moved site from local to web, checked all paths - everything else working except imgsizer plugin. remove plugin, all good.

Any ideas?

       
Jamie's avatar
Jamie
33 posts
15 years ago
Jamie's avatar Jamie
Parse error: syntax error, unexpected '{' in /xxxxxx/plugins/pi.imgsizer.php on line 700

Fixed - Requires PHP5 :)

       
NKT com's avatar
NKT com
124 posts
15 years ago
NKT com's avatar NKT com

I’m getting a massively long file path to my cached directory for images.

{exp:imgsizer:size src="http://images.mysite.org/{image_file}" remote="on" width="200" alt="{image_des}"}

Results in this…

Why is it repeating the images directory?

       
angstmann's avatar
angstmann
225 posts
15 years ago
angstmann's avatar angstmann

I had the same issue when I used it on the last site I did - I just decided to roll with it as it seemed to work just fine regardless It did strike me as odd though, and if there’s a solution to avoid strange file paths in future then I’ll be interested to hear it.

       
johnm's avatar
johnm
43 posts
15 years ago
johnm's avatar johnm

I’d think that the {image_file} variable contains “/images/sized/images/sized/remote/images-mysite-org-global-video-who_is_test_file-200x140.jpg”. It probably doesn’t have anything to do with the imgsizer plugin. To check, place {image_file} on it’s own not in the imgsizer plugin so that it echoes on the page. That way you can see what values are being passed to imagesizer.

If the {image_file} variable is “/images/sized/remote/images-mysite-org-global-video-who_is_test_file-200x140.jpg” then there’s your problem. Imgsizer automatically adds /images/sized to the base_path. In this case /remote/.

       
First 39 40 41 42 43 Last

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.