EllisLab text mark
Advanced Search
51 of 52
51
   
plugin: Image Sizer
Posted: 28 May 2010 01:00 PM   [ Ignore ]   [ # 757 ]   [ Rating: 0 ]
Joined: 2009-11-21
63 posts

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

 
Posted: 30 May 2010 05:18 PM   [ Ignore ]   [ # 758 ]   [ Rating: 0 ]
Joined: 2007-09-17
126 posts

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

 
Posted: 30 May 2010 06:09 PM   [ Ignore ]   [ # 759 ]   [ Rating: 0 ]
Joined: 2007-09-17
126 posts

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

 
Posted: 02 June 2010 12:24 PM   [ Ignore ]   [ # 760 ]   [ Rating: 0 ]
Avatar
Joined: 2007-06-01
88 posts

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

 
Posted: 13 June 2010 06:09 PM   [ Ignore ]   [ # 761 ]   [ Rating: 0 ]
Avatar
Joined: 2009-04-28
14 posts

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']))
 
Posted: 15 June 2010 11:17 PM   [ Ignore ]   [ # 762 ]   [ Rating: 0 ]
Joined: 2009-03-18
45 posts

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?

 
Posted: 17 June 2010 07:15 AM   [ Ignore ]   [ # 763 ]   [ Rating: 0 ]
Joined: 2009-03-31
48 posts

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

 
Posted: 17 June 2010 07:49 AM   [ Ignore ]   [ # 764 ]   [ Rating: 0 ]
Joined: 2009-03-31
48 posts

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.

 
Posted: 05 July 2010 03:58 AM   [ Ignore ]   [ # 765 ]   [ Rating: 0 ]
Avatar
Joined: 2008-12-21
76 posts

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.

 
Posted: 05 July 2010 03:46 PM   [ Ignore ]   [ # 766 ]   [ Rating: 0 ]
Avatar
Joined: 2008-02-05
118 posts

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

 
Posted: 05 July 2010 04:23 PM   [ Ignore ]   [ # 767 ]   [ Rating: 0 ]
Avatar
Joined: 2008-02-05
118 posts

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

 
Posted: 05 July 2010 04:33 PM   [ Ignore ]   [ # 768 ]   [ Rating: 0 ]
Avatar
Joined: 2008-02-05
118 posts
msfarrel - 16 June 2010 03: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

 
Posted: 05 July 2010 04:51 PM   [ Ignore ]   [ # 769 ]   [ Rating: 0 ]
Avatar
Joined: 2008-02-05
118 posts

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

 
51 of 52
51