11 of 17
11
plugin: Image Sizer
Posted: 20 May 2008 10:57 PM   [ Ignore ]   [ # 181 ]  
Grad Student
Avatar
Rank
Total Posts:  98
Joined  03-10-2005

Mark, Thanks i’m fine Just lots of real Job stuff to be done..

anyway
mr_dimsum 2.1 now has cropping / scaling

P.J.
I wont go into your other request just yet other than to say i will look into them
but i will say about #4 there is a undocumented param for the (single tag) style=”” which you can pass any CSS style=“border:0px;margin:5px;”  something like that. just be wherry of passing any single or double quotes. Also {img_height} and {img_width} will work as well as {width} and {height}

 Signature 

David Rencher
lumis.com
Image Sizer
eeFlickr
Photos

Profile
 
 
Posted: 21 May 2008 02:06 AM   [ Ignore ]   [ # 182 ]  
Research Scientist
Avatar
RankRankRankRankRankRank
Total Posts:  6579
Joined  04-15-2006
lumis - 20 May 2008 10:57 PM

Mark, Thanks i’m fine Just lots of real Job stuff to be done..

Excellent news. Glad to hear that you are okay. Also this is real job stuff anyway isn’t it? wink

Anyhow glad to see you’re all right.

Best wishes,

Mark

 Signature 

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

Profile
 
 
Posted: 21 May 2008 05:02 PM   [ Ignore ]   [ # 183 ]  
Lab Assistant
Avatar
RankRank
Total Posts:  124
Joined  07-30-2007

Is there a way to set it as a MAX height or MAX width instead of a definite width and height? Like, if an image is SMALLER than the dimensions defined, it leaves the image alone? Thanks!

 Signature 

24” Aluminum iMac 10.5
2.8Ghz Core 2 Duo 4GB SDRAM 400GB HD
256MB ATI Radeon HD 2600
XServe W/ 4TB Raid
Wacom Intuos 3 (6x8)

Profile
 
 
Posted: 29 May 2008 02:12 AM   [ Ignore ]   [ # 184 ]  
Lab Assistant
Avatar
RankRank
Total Posts:  189
Joined  10-17-2007

I have a feeling it does that already RocketMedia, any one else know?

Profile
 
 
Posted: 29 May 2008 09:05 AM   [ Ignore ]   [ # 185 ]  
Lab Assistant
Avatar
RankRank
Total Posts:  124
Joined  07-30-2007

It actually doesn’t. I had to end up commenting out a portion of the code so it acts as Max Height and Max Width. Works great now.

 Signature 

24” Aluminum iMac 10.5
2.8Ghz Core 2 Duo 4GB SDRAM 400GB HD
256MB ATI Radeon HD 2600
XServe W/ 4TB Raid
Wacom Intuos 3 (6x8)

Profile
 
 
Posted: 29 May 2008 10:44 AM   [ Ignore ]   [ # 186 ]  
Grad Student
Avatar
Rank
Total Posts:  98
Joined  03-10-2005

well it did but in previous request in this forum for upscale i changed it because no one objected to it.
next version i will put in a switch to turn that off

 Signature 

David Rencher
lumis.com
Image Sizer
eeFlickr
Photos

Profile
 
 
Posted: 29 May 2008 10:50 AM   [ Ignore ]   [ # 187 ]  
Lab Assistant
Avatar
RankRank
Total Posts:  124
Joined  07-30-2007

Awesome smile Great job by the way. Your plug-in definitely saved me many, many, many headaches. I just finished implementing the plug-in into a site that has over 300 images. Great time saver!

 Signature 

24” Aluminum iMac 10.5
2.8Ghz Core 2 Duo 4GB SDRAM 400GB HD
256MB ATI Radeon HD 2600
XServe W/ 4TB Raid
Wacom Intuos 3 (6x8)

Profile
 
 
Posted: 03 June 2008 12:21 PM   [ Ignore ]   [ # 188 ]  
Summer Student
Total Posts:  20
Joined  06-17-2006

Hi,

I tried to use this plugin to crop my images but I keep getting this error.

Warning: imagejpeg() [function.imagejpeg]: SAFE MODE Restriction in effect. The script whose uid is 1043 is not allowed to access /home/stev2762/stevenselles.nl/www/project/cu/uploads/afbeeldingen/cache owned by uid 33 in..

There are also no cache images rendered (no files in filedir ‘cache’).

Anyone know what to do?

Profile
 
 
Posted: 05 June 2008 11:34 AM   [ Ignore ]   [ # 189 ]  
Research Assistant
Avatar
RankRankRank
Total Posts:  347
Joined  04-23-2008

I haven’t been able to give the new update a try, but thanks for looking into my request regarding the non-square cropping (specifiable width and height).. But I have a question in regards to that feature. Does it basically just crop the dimensions beginning from the center, or is there any scaling involved in the process before it is cropped? If I had an image about 2000 x 2000 in diameter, a crop of 200 x 100 would not be optimal, unless the image was first scaled smaller (based on the larger of two, height or width) and than cropped.

Just some thoughts.. Hopefully you can let me know. I’ve been out of EE for the past bit and just getting back into it as I just relocated.

 Signature 

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

Profile
 
 
Posted: 06 June 2008 11:55 PM   [ Ignore ]   [ # 190 ]  
Grad Student
Avatar
Rank
Total Posts:  98
Joined  03-10-2005

mr_dimsum
it scales the image proportionally then trims the longer of the sides to stay within the supply params depending on your width and height

 Signature 

David Rencher
lumis.com
Image Sizer
eeFlickr
Photos

Profile
 
 
Posted: 07 June 2008 05:00 PM   [ Ignore ]   [ # 191 ]  
Summer Student
Total Posts:  1
Joined  02-16-2007

I have trouble making this plugin work on my server.
I do have GD2 enabled, but I think the problems comes from the version am using:

Phpinfo says:
GD Support   enabled
GD Version   bundled (2.0.28 compatible)

But I managed to get it working on my second Server which has these settings:
GD Support   enabled
GD Version   2.0 or higher

I dont know what a bundled version mean but, looks like it’s preventing imgsizer to work on my server. I even tried olders versions of the plugin but at no avail.

Did any one encounter that problem?

Richard

Profile
 
 
Posted: 11 June 2008 07:36 AM   [ Ignore ]   [ # 192 ]  
Lab Assistant
Avatar
RankRank
Total Posts:  157
Joined  02-08-2008

I’m having trouble getting anything to show up. There isn’t even anything being rendered in the source code.

Here’s my code, I hard coded the img src and it still doesn’t work. I wasn’t sure if there was something I might be missing. I have GD2 set and it’s a higher version than what is listed on the plugin code.

{exp:imgsizer:size src="http://backyardplayground.net/images/uploads/gallery_images/ThomasonhillOct07.jpg" width="100" alt="TEST"}

        {exp
:imgsizer:size src="/images/uploads/gallery_images/Cappola_3x3.JPG" width="100"}
           
<img src="{sized}" width="{width}" height="{height}" alt="test" />
           <
div style="background-image:url({sized}); width:{width}px; height:{height}px;"></div>
      
{/exp:imgsizer:size}

I have both the single tag and tag pairs going as well as a relative and absolute link to cover all the bases.

Please let me know if you guys need anymore info for this.
Thanks.

 Signature 

Imp Designs

Profile
 
 
Posted: 12 June 2008 12:37 PM   [ Ignore ]   [ # 193 ]  
Lab Assistant
Avatar
RankRank
Total Posts:  181
Joined  12-13-2007

Is there was a way to perform a crop to a specified dimension, without any resizing?

Maybe not a typical request, but for example, I could use it right now for high-res fabric swatches I’m using right now.  I’d like the thumb to essentially crop to the dimensions, in the center or top-left w/o resize

 Signature 

Fusionary | Geniuscar

Profile
 
 
Posted: 12 June 2008 04:48 PM   [ Ignore ]   [ # 194 ]  
Grad Student
Avatar
Rank
Total Posts:  98
Joined  03-10-2005

ImpGabe
if the plug-in shows nothing at all that means it could not find the image or could not write the sized image to cache…
more than likely a permissions problem try creating a cache folder in the same folder the image is in, and chmod 777

 Signature 

David Rencher
lumis.com
Image Sizer
eeFlickr
Photos

Profile
 
 
Posted: 12 June 2008 08:22 PM   [ Ignore ]   [ # 195 ]  
Grad Student
Avatar
Rank
Total Posts:  36
Joined  11-09-2004

Lumis, you’re AWESOME!! I can’t tell you how happy I am you wrote this plugin! Works like a charm!

I HATE to ask this—and I’m only asking after recently discovering that my client ended up uploading over 200 BMP image files to their site (rather than JPGs or PNGs as I had advised and explained to them… groan… It’s all fixed now, but it took a whole day that could have been better spent!)—is there any chance (or point?) in also supporting the BMP format too?

If not, I totally understand and don’t really care. It’s still a brilliant plugin! *HIGH-FIVE!*

Profile
 
 
Posted: 15 June 2008 06:48 AM   [ Ignore ]   [ # 196 ]  
Lab Assistant
Avatar
RankRank
Total Posts:  247
Joined  04-12-2008

Hi Lumis

Just wanted to use your plugin instead of phpThumb, but I’m running into a problem. Seems that there’s an odd behaviour with the realpath function here

// checks the path and removes // if the src path was entered as relitive
$img_rootpath = realpath($img_rootstep);

$img_rootpath is false here, thus the plugin is not returning anything.

I’m doing this on a dev server without a domain yet, http://www.example.com/~customer

Might the ~ be a problem?

 Signature 

Designchuchi | Twitter

URL Field Extension
Required Category Extension
DC FreeForm GeoIP Extension

Profile
 
 
Posted: 15 June 2008 09:42 AM   [ Ignore ]   [ # 197 ]  
Summer Student
Total Posts:  15
Joined  01-05-2006

perfect ! work like a charm ... thank you ....

should we wait to add “Watermark” feature in next versions ?

Profile
 
 
Posted: 15 June 2008 02:08 PM   [ Ignore ]   [ # 198 ]  
Lab Assistant
Avatar
RankRank
Total Posts:  157
Joined  02-08-2008

Lumis, thanks for the reply. I had created the cache folder and set the permissions to 777.

As far as the image path goes, if I just code a plain old <img src> with the same absolute path coded in as I did with the plugin the image shows up in the rendered page. Is this an indication that the path should work with the plugin?

 Signature 

Imp Designs

Profile
 
 
   
11 of 17
11
 
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: 41
Total Topics: 82115 Total Anonymous Users: 19
Total Replies: 441304 Total Guests: 198
Total Posts: 523419    
Members ( View Memberlist )
Newest Members:  meenoiYang.JianuoioitsukiNathan HammondalexcigadamstaneckiLucas Mayscybermilltstitt