1 of 2
1
ED Image Resizer
Posted: 16 May 2010 12:45 PM   [ Ignore ]  
Lab Assistant
Avatar
RankRank
Total Posts:  127
Joined  07-08-2009

I’ve just installed the ED Image Resizer (it seemed to get better reviews than the other) however i am having some issues and was hoping someone could assist.

I am using the V0.9.0 release version for ExpressionEngine 2.x.x.

I have had a few issues with some of the parameters (i have not tested all parameters as i have no use for some of them).

The following parameters seem to work fine:

Image
maxWidth
cropratio
alt
title


The following parameters seem to be broken or not being processed at all:

forceWidth
default
debug


Please help if you can with any known issues or suggestions. Many thanks!

 Signature 

Google+ http://plus.google.com/117141428682185567148/

Profile
 
 
Posted: 16 May 2010 12:59 PM   [ Ignore ]   [ # 1 ]  
Lab Assistant
Avatar
RankRank
Total Posts:  127
Joined  07-08-2009

I’ve solved the problems, the documentation was not as clear to me as i guess i would have liked it to be and i had set the parameters incorrectly. My apologies.

 Signature 

Google+ http://plus.google.com/117141428682185567148/

Profile
 
 
Posted: 16 May 2010 07:13 PM   [ Ignore ]   [ # 2 ]  
Lab Assistant
Avatar
RankRank
Total Posts:  272
Joined  08-07-2007

how did you managed to get this working I was using v0.9.0 and upgraded to the latest version and still cannot get it to work ?

 Signature 

Portfolio: Portfolio
Twitter: @gunkdesign

Profile
 
 
Posted: 17 May 2010 12:54 AM   [ Ignore ]   [ # 3 ]  
Lab Assistant
Avatar
RankRank
Total Posts:  127
Joined  07-08-2009

What’s the problem you seem to be having? For me i was just setting the parameters wrong.

 Signature 

Google+ http://plus.google.com/117141428682185567148/

Profile
 
 
Posted: 17 May 2010 03:06 AM   [ Ignore ]   [ # 4 ]  
Lab Assistant
Avatar
RankRank
Total Posts:  272
Joined  08-07-2007

Basically the page just comes up blank whenever I put the tags onto my page.

I’ve checked my paths and cache folder permissions are ok and tried various combinations of paramaters

 Signature 

Portfolio: Portfolio
Twitter: @gunkdesign

Profile
 
 
Posted: 17 May 2010 03:35 AM   [ Ignore ]   [ # 5 ]  
Lab Assistant
Avatar
RankRank
Total Posts:  127
Joined  07-08-2009

Mind posting the chunk of code surrounding the tags and possibly a url to the page you’re having issue with? Also are you using EE2.0 or a 1.6.x build?

 Signature 

Google+ http://plus.google.com/117141428682185567148/

Profile
 
 
Posted: 17 May 2010 04:30 AM   [ Ignore ]   [ # 6 ]  
Lab Assistant
Avatar
RankRank
Total Posts:  272
Joined  08-07-2007

Thanks I will do later today. I am going to update to the latest version of EE2. I noticed that the v2.1 of the ED Imagerezier plugin breaks my plugin page in the admin panel.

I will post sample code later today.

 Signature 

Portfolio: Portfolio
Twitter: @gunkdesign

Profile
 
 
Posted: 17 May 2010 05:17 AM   [ Ignore ]   [ # 7 ]  
Lab Assistant
Avatar
RankRank
Total Posts:  127
Joined  07-08-2009

I thought the v2.1 of the ED Imageresizer plugin was for EE 1.6.x not for 2.x. I’m using the v0.90 on my ee2.0 install

 Signature 

Google+ http://plus.google.com/117141428682185567148/

Profile
 
 
Posted: 17 May 2010 09:19 AM   [ Ignore ]   [ # 8 ]  
Lab Assistant
Avatar
RankRank
Total Posts:  272
Joined  08-07-2007

Ok, I have updated to the latest version of EE 2. And I am running 0.9.0 of ED Image resizer.

The page error you can see here : http://www.gunkdesign.co.uk/blog

On the plugin code I have only edited these two (lines 61, 62)

private $server_path        '/var/www/vhosts/domain/httpdocs'// no trailing slash
    
private $cache_path         '/var/www/vhosts/domain/httpdocs/cache/'// with trailing slash 

And in my template I have this :

{exp:ed_imageresizer image="{blog_thumbnail}" maxWidth="200" class="left" alt="Image description"

Since updating to latest EE I get the error screen, before it was just going blank.

Any help would be appreciated.

 Signature 

Portfolio: Portfolio
Twitter: @gunkdesign

Profile
 
 
Posted: 17 May 2010 09:58 AM   [ Ignore ]   [ # 9 ]  
Lab Assistant
Avatar
RankRank
Total Posts:  127
Joined  07-08-2009

Can you show the chunk of code surrounding that snippet in your template? From that alone i haven’t a clue. :(

 Signature 

Google+ http://plus.google.com/117141428682185567148/

Profile
 
 
Posted: 17 May 2010 10:02 AM   [ Ignore ]   [ # 10 ]  
Lab Assistant
Avatar
RankRank
Total Posts:  272
Joined  08-07-2007

sorry here is the chunk of channel code :

<p>Latest blog articles</p>
    
{exp:channel:entries channel="blog" orderby="date" sort="desc" limit="10" paginate="bottom" status="open|Top Story|Featured Top Story"}
        
<!-- Articles -->
        <
h2>{title}</h2>
        
        
        
ed image sizer here
        
        {exp
:ed_imageresizer image="{blog_thumbnail}" maxWidth="200" class="left" alt="Image description"}
        
            
<p>Posted in {categories} {category_name}{/categories}</p>
                <
p>{blog_excerpt}</p>
                
                 <
p>Posted on {entry_date format="%j%S %F %Y"}</p>
                <
p><a href="{title_permalink=" class="read_story">Read Story</a></p>
                <
br class="clear" />
        <!-- 
Articles -->
        
        <!-- 
Pagination -->
        
{paginate}
            {if {total_pages} 
1}
                
<p>Page {current_page} of {total_pages} pages {pagination_links}</p>
            
{/if}
        {
/paginate}
        
<!-- Pagination -->
    
{/exp:channel:entries} 
 Signature 

Portfolio: Portfolio
Twitter: @gunkdesign

Profile
 
 
Posted: 17 May 2010 10:27 AM   [ Ignore ]   [ # 11 ]  
Lab Assistant
Avatar
RankRank
Total Posts:  127
Joined  07-08-2009

Try to set debug to true, the code looks fine and for it to go blank like that is strange.

 Signature 

Google+ http://plus.google.com/117141428682185567148/

Profile
 
 
Posted: 17 May 2010 10:31 AM   [ Ignore ]   [ # 12 ]  
Lab Assistant
Avatar
RankRank
Total Posts:  272
Joined  08-07-2007

there seems to be an issue with the typography library. Here is the error message:

A PHP Error was encountered

Severity
Notice

Message
Undefined propertyEd_imageresizer::$EE

Filename
ed_imageresizer/pi.ed_imageresizer.php

Line Number
72
A PHP Error was encountered

Severity
Notice

Message
Trying to get property of non-object

Filename
ed_imageresizer/pi.ed_imageresizer.php

Line Number
72

Fatal error
Call to a member function library() on a non-object in /var/www/vhosts/gunkdesign.co.uk/httpdocs/system/expressionengine/third_party/ed_imageresizer/pi.ed_imageresizer.php on line 72 
 Signature 

Portfolio: Portfolio
Twitter: @gunkdesign

Profile
 
 
Posted: 17 May 2010 10:44 AM   [ Ignore ]   [ # 13 ]  
Lab Assistant
Avatar
RankRank
Total Posts:  127
Joined  07-08-2009

I dunno man. If you only edited the 2 lines in the file like you were suppose to, i don’t see why you’d have that problem but I wouldn’t using the same EE build and the same version of Ed Imageresizer.

You may want to just use the other Image Resizer by Lumis in the meantime. Sorry I couldn’t be of more help.

 Signature 

Google+ http://plus.google.com/117141428682185567148/

Profile
 
 
Posted: 17 May 2010 10:49 AM   [ Ignore ]   [ # 14 ]  
Lab Assistant
Avatar
RankRank
Total Posts:  272
Joined  08-07-2007

No problem, thanks for your time.

The Lumis one works fine it is just this one for some reason :(

 Signature 

Portfolio: Portfolio
Twitter: @gunkdesign

Profile
 
 
Posted: 18 May 2010 04:19 AM   [ Ignore ]   [ # 15 ]  
Lab Assistant
Avatar
RankRank
Total Posts:  272
Joined  08-07-2007

I finally got it working…don’t know how

 Signature 

Portfolio: Portfolio
Twitter: @gunkdesign

Profile
 
 
Posted: 18 May 2010 05:29 AM   [ Ignore ]   [ # 16 ]  
Lab Assistant
Avatar
RankRank
Total Posts:  127
Joined  07-08-2009

What did you tweak? I’d be interested to know why it was broken in the first place.

 Signature 

Google+ http://plus.google.com/117141428682185567148/

Profile
 
 
Posted: 18 May 2010 11:43 AM   [ Ignore ]   [ # 17 ]  
Lab Assistant
Avatar
RankRank
Total Posts:  272
Joined  08-07-2007

I don’t know. I deleted the original plugin, re-downloaded from git hub set it up and it worked ok?

Really don’t know what happened at all?

 Signature 

Portfolio: Portfolio
Twitter: @gunkdesign

Profile
 
 
Posted: 24 May 2010 01:56 AM   [ Ignore ]   [ # 18 ]  
Summer Student
Total Posts:  2
Joined  04-09-2010

I’m having this same problem:

A PHP Error was encountered

Severity
Notice

Message
Undefined propertyEd_imageresizer::$EE

Filename
ed_imageresizer/pi.ed_imageresizer.php

Line Number
72

A PHP Error was encountered

Severity
Notice

Message
Trying to get property of non-object

Filename
ed_imageresizer/pi.ed_imageresizer.php

Line Number
72


Fatal error
Call to a member function library() on a non-object in /www/redacted/public_html/redacted/expressionengine/third_party/ed_imageresizer/pi.ed_imageresizer.php on line 72 

Using these settings:

// ADD PATHS TO YOUR WEB ROOT AND CACHE FOLDER HERE
    
private $server_path        '/www/redacted'// no trailing slash
    
private $cache_path         '/www/redacted/public_html/cache/'// with trailing slash 

And this markup to show the images:

<div class="tourPhoto">
    
{exp:ed_imageresizer image="{tour_photo}" maxWidth="300" alt="{tour_photo_caption}"}
    
<p>{tour_photo_caption}</p>
</
div

What do you think is wrong?

I’m clueless. I’ve tried downloading/reinstalling, doesn’t seem to help.

I’ve done this before and not had a problem… anyone have any suggestions?

Thanks!

Jason R.

Profile
 
 
   
1 of 2
1
 
‹‹ Pages Nested Menu      Smarty Pants for EE2 ››