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

lumis's avatar
lumis
119 posts
17 years ago
lumis's avatar lumis

@Mark no problem 😊

@actsofgood i just added in a feature that will try and step up your php memory_limit, if that action is allowed by your host

       
R.BIRD's avatar
R.BIRD
41 posts
17 years ago
R.BIRD's avatar R.BIRD

Any known issues with EE 1.6.3 ?

After update to 1.6.3, I updated Image Sizer as well to 2.0.1 and, now, no images.

Image Resizing prefs are set to GD 2. PHPinfo shows GD 2.0.34 is enabled. Emptied cache folders. Still no luck.

Any ideas?

[UPDATE]

Rolled back to Image Sizer 1.6.8 and still, no go. Must be something with EE 1.6.3 .

Tested and confirmed that GD is working.

[SOLVED]

Solved this problem… and nothing related to EE or Image Sizer (of course!)

I was attempting to use {site_url} as part of the path for “URL of Upload Directory” in File Upload Preferences. Worked fine for uploading images et cetera via EE, but not working with Image Sizer.

[ONE MORE THING]

It seems that {site_url}, when used in setting upload path, is not properly expanding for Image Sizer. It works with EE defaults, but not with the Image Sizer plugin.

       
Mark Bowen's avatar
Mark Bowen
12,637 posts
17 years ago
Mark Bowen's avatar Mark Bowen

Just a quick input to say that I am using this very very happily alongside 1.6.3. Absolutely no problems here. Perhaps try clearing out your cache folder and just make double-sure that it is still write-able but it definitely works here with 1.6.3 and I am severely indebted to David for making this latest version.

The drinks are on me if ever you are in the UK David!! 😉

Best wishes,

Mark

       
Ryan M.'s avatar
Ryan M.
1,511 posts
17 years ago
Ryan M.'s avatar Ryan M.

This plugin belongs in the plugin hall of fame. Thanks for the continued improvements/developments to it.

       
joost's avatar
joost
62 posts
17 years ago
joost's avatar joost

First of all: thanks for or plugin! Is there any variable available which can improve the image resizing quality?

       
R.BIRD's avatar
R.BIRD
41 posts
17 years ago
R.BIRD's avatar R.BIRD

Is there a way to tell GD or Image Sizer not to scale up or enlarge, but only to scale down or reduce?

(Scaling up with screen-dependent images is bad practice and should only be done as a last resort when there is no better source image.)

       
lumis's avatar
lumis
119 posts
17 years ago
lumis's avatar lumis

@joost yes use the unsharp mask options there are 3 settings which can do allot for jpg’s 😊

@R.BIRD up-sizing was a feature request by another person. i will add a off switch in for the next version. but i need to do some work on eeFlickr first.

If anyone needs Image Magic ect. you can still get the OLD version that works with it here.

       
joost's avatar
joost
62 posts
17 years ago
joost's avatar joost

Actually, I ment the compression. 😊 This image is resized with the plugin but I see lots of artifacts. The original image does not contain these artifacts.

So my question would be: can I set the amount of compression?

       
Mark Bowen's avatar
Mark Bowen
12,637 posts
17 years ago
Mark Bowen's avatar Mark Bowen

I could be wrong on this but if you take a look at a zoomed in version of your original image then it does indeed have artefacts. I think that maybe as it is being sized down that these are then being exaggerated as the image libraries are trying to interpolate what information is there and squeeze it into a smaller area so this will probably most of the time be inevitable. Also as it is a high contrast image (logo) as opposed to say an image of a landscape or something else like that then the artefacts are going to be more apparent.

I’m not sure if David is adding in a compression parameter or not but I think the explanation is because of the type of image in this case. Just zoom in a few times on the original and you will see what I mean.

Best wishes,

Mark

       
joost's avatar
joost
62 posts
17 years ago
joost's avatar joost

Well, I turned off USM. The image is looking a bit blurry now but the artifacts are less noiticable. I think I should find the original uncompressed .eps files or something. 😊

       
Mark Bowen's avatar
Mark Bowen
12,637 posts
17 years ago
Mark Bowen's avatar Mark Bowen

Yep, if you find the original and then just make sure that there are no artefacts when it is exported to JPG, in this case it might be better as a gif though as it is solid colours, and then you should hopefully be fine.

Let us know how it goes.

Best wishes,

Mark

       
gridonic's avatar
gridonic
231 posts
17 years ago
gridonic's avatar gridonic

Hi

First of, thanks for this wonderful plugin, we’re currently building our new site and have moved from Drupal to Expressionengine - i’m astonished how easy it is (especially for someone who knows a bit about programming) to build a completely customized yet flexible site with EE.

Secondly, i wanted to ask one more time, if you, Lumis, plan to extend the plugin by the cropping feature for images that won’t be squares. I certainly know i can use phpthumb to do this (create rectangle shaped thumbnails from big images), but i’d like to use just one tool for the image sizing.

Regards, Peter.

       
lumis's avatar
lumis
119 posts
17 years ago
lumis's avatar lumis

peschehimself i would imagine you know this already….. but your thumbnails dont have to be squares it does resizing proportionately.

if thats now what you ment can you show me an example of the functionality you are looking for

       
Mark Bowen's avatar
Mark Bowen
12,637 posts
17 years ago
Mark Bowen's avatar Mark Bowen

Hi David,

I think what peschehimself (what does that username mean peschehimself 😉 means is that in your documentation it states :

- if “width” is = to “height” the image will be cropped from image center to make a square sized image.

So we have width=”100” height=”100” set in the plugin parameters and get what we expect to get a square image cropped from the centre. What he (and myself actually 😉 ) would love to see is a way to say :

width=”300” height=”150”

or some other arbitrary number and have an image of that size spat out but still cropped from the centre. Not sure how that would happen as in would you resize to the width first and then have the image centred or what but that kind of thing would be fantastic.

Best wishes,

Mark

       
gridonic's avatar
gridonic
231 posts
17 years ago
gridonic's avatar gridonic

Hi David and Lumis

Yes, that’s exactly what i mean. Your plugin is awesome and does almost everything we need. What it actually does not, at least as far as my understanding goes, crop pictures / thumbnails that don’t have the same width and height.

I think Davis has explained it quite well - i have “big” images i would like to get resized and cropped to let’s say width=”300” and height=”100” or even just cropping would be fine, but best of both worlds would be to first downsize and if one of their dimensions is larger that the ones specified, crop them.

       
First 9 10 11 12 13 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.