3 of 43
3
plugin: Image Sizer
Posted: 01 November 2007 01:37 AM   [ Ignore ]   [ # 37 ]  
Lab Technician
RankRankRankRank
Total Posts:  1025
Joined  11-01-2002
mdesign - 26 October 2007 04:47 PM

Has this plugin been updated so that height is the determining factor in the resize? I have a layout where I really need to restrict by height - but everywhere else on the site I need to restrict by width, which this apparently does. I’d hate to have to install this for everything but that one page, where I’d have to install phpThumb just to restrict by height.

I second this, with an addition. Sometimes my photos are landscape, and sometimes portrait. I would like to create square thumbnails, either through resizing or cropping so that I can layout my thumbnails easier.

Can this plugin do that?

Profile
 
 
Posted: 01 November 2007 02:03 AM   [ Ignore ]   [ # 38 ]  
Lab Assistant
Avatar
RankRank
Total Posts:  134
Joined  03-10-2005

Erin
yes you can control the height with 1.5 the width is scaled proportionally.

about your additional request for square sizes. i plan on doing this soon where it would resize depending on the width or height then chop off the additional “top and bottom” or “right and left” depending. very similar to how flickr does there “square size”

 Signature 

David Rencher  lumis.com

Profile
 
 
Posted: 01 November 2007 11:31 AM   [ Ignore ]   [ # 39 ]  
Lab Assistant
Avatar
RankRank
Total Posts:  219
Joined  10-24-2006

FYI - I’ve tried out v1.5 on a test site, and I can confirm that it is a hell of a lot faster than PhpThumb.  I’m looking forward to rolling this out on our sites in production!  lumis, you’re a life (or server) saver!

 Signature 

dabbledoo.com | .(JavaScript must be enabled to view this email address)

Member of the EE Pro Network

Profile
 
 
Posted: 01 November 2007 12:49 PM   [ Ignore ]   [ # 40 ]  
Lab Technician
Avatar
RankRankRankRank
Total Posts:  2020
Joined  08-04-2002

Lumis…I hope as you add features you can keep it lite. :-)

Edit-Add: Just so you know, your link to get the plugin isn’t taking one to the correct page.

Profile
 
 
Posted: 01 November 2007 02:15 PM   [ Ignore ]   [ # 41 ]  
Lab Assistant
Avatar
RankRank
Total Posts:  134
Joined  03-10-2005

PXLated i think at this point the only feature i will be adding will be the square sizing which should not add any processing time.

also i fixed the link thanks for pointing that out

 Signature 

David Rencher  lumis.com

Profile
 
 
Posted: 01 November 2007 04:22 PM   [ Ignore ]   [ # 42 ]  
Lab Technician
RankRankRankRank
Total Posts:  1025
Joined  11-01-2002

Here’s a scenario for you:
* images are the same size, but some are landscape (800x533) and some are portrait (533x800)

I would like to be able to resize them to 150x100 or 100x150, depending on their orientation.

Is that possible?

Profile
 
 
Posted: 01 November 2007 04:28 PM   [ Ignore ]   [ # 43 ]  
Lab Technician
Avatar
RankRankRankRank
Total Posts:  2020
Joined  08-04-2002

Daizell…What I do is have a “shape” field for my images blog, then use conditionals to determine which variation of Image Sizer or phpThumb to use. I would imagine you could use some PHP to get the dimensions and determine what to do also.

Profile
 
 
Posted: 01 November 2007 04:31 PM   [ Ignore ]   [ # 44 ]  
Lab Technician
RankRankRankRank
Total Posts:  1025
Joined  11-01-2002

Yikes…that sounds like a lot of work. Maybe I will just either use phpThumb or take a loot at the Image Sizer code and make a suggestion.

What I want is a ‘max-size’ parameter that will be applied to the longest side. Shouldn’t be that hard to do.

Profile
 
 
Posted: 01 November 2007 04:41 PM   [ Ignore ]   [ # 45 ]  
Lab Technician
Avatar
RankRankRankRank
Total Posts:  2020
Joined  08-04-2002

Yikes…that sounds like a lot of work

Actually it’s not. I use that method on most sites I have images on. In addition to scaling it allows to sort by shape…all horizonta, all vertical, etc. If I have mixed B&W;and color I usually throw in a field for that also. An example: Marauders Sorting links at top.

Profile
 
 
Posted: 01 November 2007 04:45 PM   [ Ignore ]   [ # 46 ]  
Lab Technician
RankRankRankRank
Total Posts:  1025
Joined  11-01-2002

I see. Ya, I just figured out I could test the height/width data myself and call image sizer myself. I have to decide whether or not to use image sizer or phpThumb…I am leaning toward image sizer right now as I like everything to be all integrated and I don’t have a need (at the moment) for all the capabilities of phpThumb.

Thanks

Profile
 
 
Posted: 01 November 2007 04:55 PM   [ Ignore ]   [ # 47 ]  
Lab Assistant
Avatar
RankRank
Total Posts:  219
Joined  10-24-2006

Hi Everyone - I just installed the plugin on our production site, and it’s not working.  Here’s a little more about our structure…

We’ve got about 10 file upload folders in our File Upload Prefs section and are using 1 folder per blog (a multiple blog setup).  I’m trying to use this on just one of our sites right now and the imgsizer tag is returning nothing.  I already put the cache folder in the File upload folder I’m using, and set the permissions to 777.  Here is exactly what I put in the template that is returning nothing:

{exp:weblog:entries weblog="appletell" orderby="date" sort="desc" limit="15" offset="3" disable=""}

{exp
:imgsizer:size src="{thumbs}" height="100"}

{
/exp:weblog:entries} 

Any thoughts?

 Signature 

dabbledoo.com | .(JavaScript must be enabled to view this email address)

Member of the EE Pro Network

Profile
 
 
Posted: 01 November 2007 05:01 PM   [ Ignore ]   [ # 48 ]  
Lab Technician
RankRankRankRank
Total Posts:  1025
Joined  11-01-2002
Dabbledoo - 01 November 2007 08:55 PM

Any thoughts?

What is the ‘thumbs’ tag?

Profile
 
 
Posted: 01 November 2007 05:09 PM   [ Ignore ]   [ # 49 ]  
Lab Assistant
Avatar
RankRank
Total Posts:  219
Joined  10-24-2006

Sorry, {thumbs} is my custom field that contains the image URL.  Is it possible there is another plugin / module / extension that is conflicting with imgsizer?

 Signature 

dabbledoo.com | .(JavaScript must be enabled to view this email address)

Member of the EE Pro Network

Profile
 
 
Posted: 01 November 2007 05:17 PM   [ Ignore ]   [ # 50 ]  
Lab Technician
RankRankRankRank
Total Posts:  1025
Joined  11-01-2002

So if you View Source, you see nothing?

Profile
 
 
Posted: 01 November 2007 05:20 PM   [ Ignore ]   [ # 51 ]  
Lab Assistant
Avatar
RankRank
Total Posts:  219
Joined  10-24-2006

That is correct.

 Signature 

dabbledoo.com | .(JavaScript must be enabled to view this email address)

Member of the EE Pro Network

Profile
 
 
Posted: 01 November 2007 05:28 PM   [ Ignore ]   [ # 52 ]  
Grad Student
Avatar
Rank
Total Posts:  98
Joined  04-30-2007

Can this plugin resize the image based on a percentage value of the original image size. So instead of using pixels, you could use percents and it would be that percent of the original image size. This can be done with phpThumb but this plugin seems like a great alternative I’d like to try.

 Signature 

Casey Reid // Clearfire, Inc. // EE Pro Network // @caseyreid

Profile
 
 
Posted: 01 November 2007 07:09 PM   [ Ignore ]   [ # 53 ]  
Lab Assistant
Avatar
RankRank
Total Posts:  134
Joined  03-10-2005

Erin
it already has max-sizes i have just hard coded it into the plug-in but i could open it up as a param.
ill play around with that.


Dabbledoo
if you just put in {thumbs}like below what is returned

{exp:weblog:entries weblog="appletell" orderby="date" sort="desc" limit="15" offset="3" disable=""}
{thumbs}
{
/exp:weblog:entries} 

also the plug-in does not return anything if it fails at finding the src img ect.

 Signature 

David Rencher  lumis.com

Profile
 
 
Posted: 01 November 2007 11:27 PM   [ Ignore ]   [ # 54 ]  
Lab Technician
RankRankRankRank
Total Posts:  1025
Joined  11-01-2002
lumis - 01 November 2007 11:09 PM

Erin
it already has max-sizes i have just hard coded it into the plug-in but i could open it up as a param.
ill play around with that.

Not a big deal, I coded around with EE conditionals

Profile
 
 
   
3 of 43
3