10 of 17
10
plugin: Image Sizer
Posted: 14 April 2008 04:31 AM   [ Ignore ]   [ # 163 ]  
Lab Assistant
Avatar
RankRank
Total Posts:  247
Joined  04-12-2008

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.

 Signature 

Designchuchi | Twitter

URL Field Extension
Required Category Extension
DC FreeForm GeoIP Extension

Profile
 
 
Posted: 16 April 2008 09:51 PM   [ Ignore ]   [ # 164 ]  
Grad Student
Avatar
Rank
Total Posts:  98
Joined  03-10-2005

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

 Signature 

David Rencher
lumis.com
Image Sizer
eeFlickr
Photos

Profile
 
 
Posted: 17 April 2008 02:17 AM   [ Ignore ]   [ # 165 ]  
Research Scientist
Avatar
RankRankRankRankRankRank
Total Posts:  6579
Joined  04-15-2006

Hi David,

I think what peschehimself (what does that username mean peschehimself wink 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 wink ) 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

 Signature 

Full List Of Plugins Here!! (16)
 
Retrieve Statuses
Maximum Posts Reached
Neat Link
Redirect
Fetch URI

Profile
 
 
Posted: 17 April 2008 02:28 AM   [ Ignore ]   [ # 166 ]  
Lab Assistant
Avatar
RankRank
Total Posts:  247
Joined  04-12-2008

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.

 Signature 

Designchuchi | Twitter

URL Field Extension
Required Category Extension
DC FreeForm GeoIP Extension

Profile
 
 
Posted: 17 April 2008 02:41 AM   [ Ignore ]   [ # 167 ]  
Research Scientist
Avatar
RankRankRankRankRankRank
Total Posts:  6579
Joined  04-15-2006
peschehimself - 17 April 2008 02:28 AM

Hi David and Lumis

They’re actually the same person wink

Mark

 Signature 

Full List Of Plugins Here!! (16)
 
Retrieve Statuses
Maximum Posts Reached
Neat Link
Redirect
Fetch URI

Profile
 
 
Posted: 17 April 2008 04:11 AM   [ Ignore ]   [ # 168 ]  
Lab Assistant
Avatar
RankRank
Total Posts:  247
Joined  04-12-2008

I actually wanted to write Mark and David ^^

Sorry for the confusion.

 Signature 

Designchuchi | Twitter

URL Field Extension
Required Category Extension
DC FreeForm GeoIP Extension

Profile
 
 
Posted: 17 April 2008 04:28 AM   [ Ignore ]   [ # 169 ]  
Research Scientist
Avatar
RankRankRankRankRankRank
Total Posts:  6579
Joined  04-15-2006

wink No problems

Mark

 Signature 

Full List Of Plugins Here!! (16)
 
Retrieve Statuses
Maximum Posts Reached
Neat Link
Redirect
Fetch URI

Profile
 
 
Posted: 27 April 2008 08:33 AM   [ Ignore ]   [ # 170 ]  
Research Assistant
Avatar
RankRankRank
Total Posts:  347
Joined  04-23-2008

I’ve read about the unmask feature, but this doesn’t seem to work as suggested. Forgive me if I’m incorrect, but is this supposed to serve the same function as other image resizing solutions and their “quality” settings? In Magento Commerce, Drupal, and DotNetNuke, all CMS and E-Commerce platforms, I have been able to adjust a quality setting through GD via a numerical value.

I’ve noticed that the generated thumbnail has quite a bit of artifacts, so just wondering if anybody has figured out a resolution that fully relieves the issue, or whether this will or will not be implemented in the short future.

Cheers!

 Signature 

Danny, your poor-man’s EE designer for hire/help.

Profile
 
 
Posted: 28 April 2008 04:48 PM   [ Ignore ]   [ # 171 ]  
Grad Student
Avatar
Rank
Total Posts:  98
Joined  03-10-2005

mr_dimsum & joost
I have added in a quality= param now

mattbrighton
i have added a greyscale= param now

 Signature 

David Rencher
lumis.com
Image Sizer
eeFlickr
Photos

Profile
 
 
Posted: 28 April 2008 10:00 PM   [ Ignore ]   [ # 172 ]  
Research Assistant
Avatar
RankRankRank
Total Posts:  347
Joined  04-23-2008

This is amazing work.. Thanks for the quick responses. I’m absolutely stunned!

Will give this a shot now!

UPDATE I can confirm that this is working! Including the greyscale!

I may have a little request to add in in the short future (crop, scale settings similar to ImageCache from Drupal).. If it needs be, I will most definitely push in a donation for your services to get this in as I may be needing this for a project. I’m not sure how feasible it is (well, I’m sure it is, but not sure how cumbersome and time consuming such code would be).

 Signature 

Danny, your poor-man’s EE designer for hire/help.

Profile
 
 
Posted: 30 April 2008 09:40 AM   [ Ignore ]   [ # 173 ]  
Research Assistant
Avatar
RankRankRank
Total Posts:  317
Joined  04-11-2006

Just adding my thanks for such a stunningly excellent plugin grin

Well done indeed Lumis

 Signature 

OakenPage website works - doing simple things well

Profile
 
 
Posted: 07 May 2008 08:19 AM   [ Ignore ]   [ # 174 ]  
Summer Student
Total Posts:  8
Joined  11-30-2007

David,

Just wanted to leave my deep appreciation for your effort.
Your plugin saved my day!
Thanks.

I’m also leaving this to make it easier for the ones looking for a solution:

{exp:imgsizer:size image=”{exp:extract_url_plus show=”i;lename.x;tension”}{foto_izq}” width=“190” alt=”{title}” class=“foto_izq” parse=“inward”}

Find and install the extract_url plugin, and your home free.

Thanks again, Lumis.

Profile
 
 
Posted: 07 May 2008 11:44 AM   [ Ignore ]   [ # 175 ]  
Research Assistant
Avatar
RankRankRank
Total Posts:  347
Joined  04-23-2008

Plugin works great.. Is there any chance we can get this plugin to scale and crop based on a rectangle as well? Rather than having it default as a square, it’d be great if we can somehow set a mix width / height and than choose an aspect ratio, for example. So a rectangle being 2:1 would have it’s width 2 times larger than the height of the image, with it scaling and cropping from the middle outwards.

I don’t mind getting this commissioned through a good donation. I’d just rather use an inclusive system rather than resort to phpthumb. This plugin does the job admirably and rather lightly.

 Signature 

Danny, your poor-man’s EE designer for hire/help.

Profile
 
 
Posted: 08 May 2008 11:45 PM   [ Ignore ]   [ # 176 ]  
Research Assistant
RankRankRank
Total Posts:  416
Joined  10-08-2005

lumis,

great plugin. i have been trying out your resizer and found it to be very useful. however, i also want to post a few feature requests for your consideration in future upgrade. these feature suggestions will likely to be interest to other users who undoubtedly run into similar situations:

1. change the exp:imgsizer:size parameter fields {width} and {height} to something else. i frequently use your plugin within exp:gallery codes which has its own {width} and {height}. this creates a conflict and the parameters used in your plugin are incorrectly ignored.

2. allow an option to change the directory to where “cached” thumbnails are stored. for my site, i use many gallery category directories, each of which now has a cached subdirectory to store your thumbnails. it would be nice if there is an option to store the thumbnails elsewhere, for example, at the SAME directory as the source images.

3. allow an option to rename the generated thumbnails. currently, there is no option to do so. because these thumbnails may get indexed by search engine, we want them to be named more sensibly. for us, we only use a SINGLE size for the thumbnails, so it will be nice if there is an option to specify the exact prefix or suffix when naming the generated thumbnail file, such as source_suffix.jpg

4. i realize that there is an option to insert a class and id tag. however, in most case, i found no need to use this except to specify border=“0”, it will be nice if you can make an exception and support this tag naively to your plugin.

5. the src link that is generated is always a relative link such as src=”/images/test.jpg”, regardless whether the source src parameter is a relative or absolute link. it will be great if there is an option to generate absolute link, such as src=“www.mydomain.com/images/test.jpg”. this way, the behavior of the plugin with the consistent with the galley module of EE, since the absolute link is the default behavior for the galley module.

thanks for making this plugin and thank you for consideration of these features.

Profile
 
 
Posted: 09 May 2008 02:46 AM   [ Ignore ]   [ # 177 ]  
Research Scientist
Avatar
RankRankRankRankRankRank
Total Posts:  6579
Joined  04-15-2006

I am totally there with number 2 above. Sorry David we are probably creating more work for you now wink

The reason I would love to have one cache folder would be because I am thinking of moving all my images for a site off-site to use the Amazon S3 storage space option. As this is only for storing files I’m not too sure how it would work with trying to automatically create cached images on there. I could of course just give it a go but I don’t think it would work as the bucket is not world-write-able. As all my cached images are going to be quite small anyway I am not too bothered by them being on the main site and the larger non-thumb-nailed versions being on Amazon.

Would be great to see that. Thanks again though for a simply awesome plugin! grin

Best wishes,

Mark

 Signature 

Full List Of Plugins Here!! (16)
 
Retrieve Statuses
Maximum Posts Reached
Neat Link
Redirect
Fetch URI

Profile
 
 
Posted: 19 May 2008 01:28 PM   [ Ignore ]   [ # 178 ]  
Summer Student
Total Posts:  24
Joined  09-20-2006

Hi, lumis.com is down. Is there anybody, who could provide latest version of Image Sizer here on the forum? As I know, latest is v2.0.2.

Profile
 
 
Posted: 19 May 2008 02:14 PM   [ Ignore ]   [ # 179 ]  
Research Scientist
Avatar
RankRankRankRankRankRank
Total Posts:  6579
Joined  04-15-2006

Seems to be online now. Just downloaded the file and all seems to be fine although I did notice that the comments seem to have disappeared from the site. Hopefully we haven’t over-run David with too much work there? wink

Hope you are okay David?

Best wishes,

Mark

 Signature 

Full List Of Plugins Here!! (16)
 
Retrieve Statuses
Maximum Posts Reached
Neat Link
Redirect
Fetch URI

Profile
 
 
Posted: 20 May 2008 05:44 PM   [ Ignore ]   [ # 180 ]  
Lab Assistant
Avatar
RankRank
Total Posts:  223
Joined  01-14-2006

I can’t believe i haven’t tried this plugin earlier.

you’re a legend David, thank you for this plugin.

 Signature 

Weblog | New Zealand Web Design Agency

Profile
 
 
   
10 of 17
10
 
Post Marker Legend
New Topic New posts Hot Topic Hot Topic with new posts New Poll New Poll Moved Topic Moved Topic Sticky Topic Sticky topic
Old Topic No new posts Hot Old Topic Hot Topic with no new posts Old Poll Old Poll Closed Topic Closed Topic Announcement Announcements
Theme
Change Theme
Visitor Statistics
The most visitors ever was 1149, on July 16, 2007 09:33 AM
Total Registered Members: 65026 Total Logged-in Users: 40
Total Topics: 82116 Total Anonymous Users: 19
Total Replies: 441310 Total Guests: 191
Total Posts: 523426    
Members ( View Memberlist )
Newest Members:  meenoiYang.JianuoioitsukiNathan HammondalexcigadamstaneckiLucas Mayscybermilltstitt