43 of 43
43
plugin: Image Sizer
Posted: 28 May 2010 12:00 PM   [ Ignore ]   [ # 757 ]  
Grad Student
Rank
Total Posts:  63
Joined  11-21-2009

I have hit a bit of a brick wall…

I am unable to get Image Sizer to play ball.

I am building the site on a subdomain and have tried refrencing the paths every which way. With template debugging switched on I can see that Image Sizer is picking up the images - and then it gets a little weird:

(1.072410Tag{exp:imgsizer:size src="/images/uploads/88621497.jpg" width="229" alt="This is a test" base_path="build.polishedconcretedesigns.co.uk/" base_cache="build.polishedconcretedesigns.co.uk/images/sized/"}
(1.072550No Closing Tag
(1.072613Tag{exp:imgsizer:size src="/images/uploads/Superfloor-warehouse.jpg" width="229" alt="" base_path="build.polishedconcretedesigns.co.uk/" base_cache="build.polishedconcretedesigns.co.uk/images/sized/"}
(1.072750No Closing Tag
(1.072811Tag{exp:imgsizer:size src="/images/uploads/New-Image-1.jpg" width="229" alt="" base_path="build.polishedconcretedesigns.co.uk/" base_cache="build.polishedconcretedesigns.co.uk/images/sized/"}
(1.072950No Closing Tag
(1.073005Processing Tags
(1.073030Module TagStructure/nav_sub
(1.073050Plugin TagImgsizer/size
(1.073071Plugin TagImgsizer/size
(1.073089Plugin TagImgsizer/size
(1.073104Including Files for Tag and Modules
(1.088874Beginning Final Tag Data Processing
(1.088897Calling Class/MethodStructure/nav_sub
(1.088994) -> Class CalledStructure
(1.089036) -> Method Callednav_sub
(1.133071) -> Data Returned
(1.133148Calling Class/MethodImgsizer/size
(1.133246) -> Class CalledImgsizer
(1.133267) -> Method Calledsize
(1.133322imgsizer.user.src: /images/uploads/88621497.jpg
(1.133376imgsizer.img[src]: /images/uploads/88621497.jpg
(1.133385imgsizer.img[base_path]build.polishedconcretedesigns.co.uk/
(
1.133405imgsizer.img_full_pathbuild.polishedconcretedesigns.co.uk/images/uploads/88621497.jpg
(1.133420imgsizer.Errorbuild.polishedconcretedesigns.co.uk/images/uploads/88621497.jpg image is not readable or does not exist 

The template tag that printed out the code above is:

{exp:imgsizer:size src="{image_file}" width="229" alt="{image_alt}" base_path="build.polishedconcretedesigns.co.uk/" base_cache="build.polishedconcretedesigns.co.uk/images/sized/"

I can see on the FTP that it isn’t generating the cached images (inside the folder ‘sized’ which has chmod 777 and is located in images/sized

I am using EE 1.6.9 and the version of the plugin is: 2.5.6

Many many many thanks for your help in advance - it is much appreciated…

James

Profile
 
 
Posted: 30 May 2010 04:18 PM   [ Ignore ]   [ # 758 ]  
Lab Assistant
RankRank
Total Posts:  133
Joined  09-17-2007

Problems with using several instances on the same page:

<!-- define Magic Zoom Plus -->

        <
a href="{product_image}" class="MagicZoomPlus" id="Zoomer" title="{title}" rel="zoom-position:inner;">
        
{exp:imgsizer:size src='{product_image}' width='480' alt='{title}'}
        
</a> <br/>


        <!-- 
define alternate views -->
        <
a href="{product_image}" rel="zoom-id:Zoomer" rev="{exp:imgsizer:size src='{product_image}' width='480'}{sized}{/exp:imgsizer:size}">
        
{exp:imgsizer:size src="{product_image}" width='120' alt="{title}"}</a>

        <
a href="{product_image2}" rel="zoom-id:Zoomer" rev="{exp:imgsizer:size src='{product_image2}' width='480'}{sized}{/exp:imgsizer:size}">
        
{exp:imgsizer:size src="{product_image2}" width="120" alt="{title}"}</a>


        <
a href="{product_image3}" rel="zoom-id:Zoomer" rev="{exp:imgsizer:size src='{product_image3}' width='480'}{sized}{/exp:imgsizer:size}">
        
{exp:imgsizer:size src="{product_image3}" width="120" alt="{title}"}</a

Any of the lines work fine on their own, but not together

The code I’m trying to create should look like the followong where version c is the full size image, b is a medium sized, and a is a thumbnail

<!-- define Magic Zoom Plus -->

        <
a href="images/harley1c.jpg" class="MagicZoomPlus" id="Zoomer" title="Harley-Davidson Dyna Wide Glide"><img src="images/harley1b.jpg"/></a> <br/>

 

        <!-- 
define alternate views -->

        <
a href="images/harley1c.jpg" rel="zoom-id:Zoomer" rev="images/harley1b.jpg"><img src="images/harley1a.jpg"/></a>

        <
a href="images/harley2c.jpg" rel="zoom-id:Zoomer" rev="images/harley2b.jpg"><img src="images/harley2a.jpg"/></a
 Signature 

Shine Marketing
Content & eCommerce for upmarket brands
shinemarketing.com

Profile
 
 
Posted: 30 May 2010 05:09 PM   [ Ignore ]   [ # 759 ]  
Lab Assistant
RankRank
Total Posts:  133
Joined  09-17-2007

OK, fixed it. Seems mixing single tags and pairs on the same page causes issues.

 Signature 

Shine Marketing
Content & eCommerce for upmarket brands
shinemarketing.com

Profile
 
 
Posted: 02 June 2010 11:24 AM   [ Ignore ]   [ # 760 ]  
Grad Student
Avatar
Rank
Total Posts:  90
Joined  05-31-2007

Hi,

There seems to be allot of folks having issues with installing ImageSizer 2.5.6 on EE 1.6.8-9 into the Plugins folder and getting a blank screen in the CP Plugins section. One of the threads here. I am having the same problem.

One resolution appears to get ahold of version 2.5.5 (where?)

Or, if that version isn’t available, are there any other fixes to this (I tried uploading in ASCII format also to no avail)??

My project is basically on hold and I am in a bad spot now as I can’t implement this great little plugin.

Pete

Profile
 
 
Posted: 13 June 2010 05:09 PM   [ Ignore ]   [ # 761 ]  
Summer Student
Avatar
Total Posts:  14
Joined  04-28-2009

I was having an issue with an undefined index on line 130. If anyone else is experiencing this throw a isset() around the img[ul_src’] should resolve it.

Great plugin whomever wrote it!

Original:

line 130: if($remote && $img['url_src'])

Fix:

if($remote && isset($img['url_src']))
Profile
 
 
Posted: 15 June 2010 10:17 PM   [ Ignore ]   [ # 762 ]  
Grad Student
Rank
Total Posts:  50
Joined  03-18-2009

I’m getting nothing but blanks when I try using this plugin for EE 1.6.9. I’ve tried setting base_path, base_cache, and server_domain but no img tags are being displayed.

When I turn on template debug the paths are being displayed like this

http:&#47;&#47;example.com&#47;expressionengine&#47; 

Could the missing /‘s have something to do with it? Anyone else experience something like this?

Profile
 
 
Posted: 17 June 2010 06:15 AM   [ Ignore ]   [ # 763 ]  
Grad Student
Rank
Total Posts:  50
Joined  03-31-2009

OK, this one’s a real bummer!

Background: two EE2 sites under Multiple Site Manager developed on local machine and working without issue. Then the site was transferred to EngineHosting and suddenly the ImgSizer code, which is exactly the same as on the local dev server, is causing blank pages. Not the normal EE blank pages, but something different.

Safari returns this error message:
“Safari can’t open the page “http://www.silkwormbooks.net/index.php/catalog/info/thailand-short-history” because the server unexpectedly dropped the connection. This sometimes occurs when the server is busy. Wait for a few minutes, and then try again.”

Chrome returns a slightly different message:
“The webpage at -URL- might be temporarily down or it may have moved permanently to a new web address.
Below is the original error message: Error 324 (net::ERR_EMPTY_RESPONSE): Unknown error”

Firefox displays a blank page with no message.

I’ve checked permissions on the cache folder, and everything seems to be okay. I’ve tried stripping out everything from the page and leaving only the imgsizer code, and that doesn’t helps. I have been able to get ED ImageResizer to work, but I’d prefer to stick with ImgSizer if it’s at all possible.

The EngineHosting people have been very helpful, but cannot provide any insight at all into what might be going wrong. I have also used older versions of ImgSizer under EE 1.6.x on EngineHosting without any problem. I don’t know if the problem is with ImgSizer, or the EngineHosting environment, or if something just got hosed when I moved the sites from server to server ...

Any ideas from the forum here? Thanks in advance for any advice or guidance you may be able to give.

Andrew Macpherson
Sydney, Australia

Profile
 
 
Posted: 17 June 2010 06:49 AM   [ Ignore ]   [ # 764 ]  
Grad Student
Rank
Total Posts:  50
Joined  03-31-2009

Oh, and one thing I just found out: I can get ImgSizer to work if I manually specify an image path (eg exp:imgsizer:size src=”/images/test.jpg’). The images I want it to process, though, are all from custom fields, uploading to a normal file upload directory. I’ve tried creating new upload directories, etc, but that doesn’t help.

Profile
 
 
Posted: 05 July 2010 02:58 AM   [ Ignore ]   [ # 765 ]  
Grad Student
Avatar
Rank
Total Posts:  82
Joined  12-21-2008

Yeah I’m getting the blank screen when I try to install Image Sizer. I’m on Build 20100430 and I’m NOT on Engine Hosting for this site (so Andrew it seems like it’s not the host). I also tried installing the ED ImageResizer, and had the same problem.

Profile
 
 
Posted: 05 July 2010 02:46 PM   [ Ignore ]   [ # 766 ]  
Lab Assistant
Avatar
RankRank
Total Posts:  131
Joined  02-05-2008

heart attack! i’m on EH build 20100415 and this is the first time image sizer hasn’t worked for me. @#$(*@#&(*$@

 Signature 

rebecca :: littlered media :: expressionengine pro net :: super mom :: i’m in pradipta’s rolodex

Profile
 
 
Posted: 05 July 2010 03:23 PM   [ Ignore ]   [ # 767 ]  
Lab Assistant
Avatar
RankRank
Total Posts:  131
Joined  02-05-2008

i can’t locate a copy of v. 2.5.5 to try - anyone can email it to me? smile please?

 Signature 

rebecca :: littlered media :: expressionengine pro net :: super mom :: i’m in pradipta’s rolodex

Profile
 
 
Posted: 05 July 2010 03:33 PM   [ Ignore ]   [ # 768 ]  
Lab Assistant
Avatar
RankRank
Total Posts:  131
Joined  02-05-2008
msfarrel - 16 June 2010 02:17 AM

I’m getting nothing but blanks when I try using this plugin for EE 1.6.9. I’ve tried setting base_path, base_cache, and server_domain but no img tags are being displayed.

When I turn on template debug the paths are being displayed like this

http:&#47;&#47;example.com&#47;expressionengine&#47; 
Could the missing /‘s have something to do with it? Anyone else experience something like this?

ditto for me. i’ve tried everything (i think) but no luck so far. i see the weird chars in debugging too - i’m 1.6.9 on engine hosting. hmmm

 Signature 

rebecca :: littlered media :: expressionengine pro net :: super mom :: i’m in pradipta’s rolodex

Profile
 
 
Posted: 05 July 2010 03:51 PM   [ Ignore ]   [ # 769 ]  
Lab Assistant
Avatar
RankRank
Total Posts:  131
Joined  02-05-2008

well ED imagesizer works for me, but i’d still like to figure out what’s up with the beloved image sizer! smile

http://github.com/erskinedesign/ED-Imageresizer

 Signature 

rebecca :: littlered media :: expressionengine pro net :: super mom :: i’m in pradipta’s rolodex

Profile
 
 
   
43 of 43
43