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 > 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?
Another fantastic plugin Lumis, using both eeFlickr and Image Resizer! I’ve run into a possible issue however, when an uppercase .JPG (not lowercase .jpg) extension is uploaded, the page fails to load. It loads correctly after removing the Image Resizer tags, so it must be an issue with the plugin, is there a workaround?
Many thanks,
Jordan
maybe I am dumb or missing something, but I’m struggling using this with MSM. The plugin works great on my core site which is the same domain that the system folder is in. But the plugin doesn’t work in the sister site. It just returns nothing. The upload works and I can directly access the img.
The cache folder exists and is writable, but the plugin does not create the cached image or does it load it.
Thoughts?
I’m getting a really strange error.. Can’t seem to fix it. I am using the tag pair to dynamically resize images, and have specified a width of “550”. For some odd reason though, it’s only resizing up to 500 pixels in width unless I specify a height as well.
This works (notice the height parameter) and scales properly:
<
pre>{if content_image != ""}{exp:imgsizer:size src="{content_image}" width="550" height="340" quality="95"}
<a href="http://{title_permalink=">_ {sized}_ </a>
{/exp:imgsizer:size}{/if}
This does not scale properly and produces an image short of 50 pixels in width (notice the “missing” height parameter):
{if content_image != ""}{exp:imgsizer:size src="{content_image}" width="550" quality="95"}
<a href="http://{title_permalink=">_ {sized}_ </a>
{/exp:imgsizer:size}{/if}
I’ve tried to remove the “height=”{height}” variable out, but it doesn’t seem to be doing anything different.
UPDATE: It seems that if I do not specify a height parameter, and I want to resize to anything above 500 pixels in width that it does not work. Just a reminder, this does resize to a width above 500 pixels if I specify a height parameter..
Has anybody else experienced a similar issue?
Hi there,
I’m trying to load 8 entries on a page and have thumbnail images (85x85) next to them, but I keep getting the error below with this Image Sizer plugin:
Fatal error: Allowed memory size of 67108864 bytes exhausted (tried to allocate 10096 bytes) in /var/www/vhosts/mywebsite.com/httpdocs/system/core/core.image_lib.php on line 500
One of the jpg images it was stalling on was around 1mb in size (which doesn’t seem that high), though it did have dimensions of around 3600px x 2500px.
Any ideas on how I can get by this? Or do I need to get the php memory limit increased? (though I thought it was already quite high).
Thanks,
Ste
EDIT: I reposted this query on this thread.
Hello,
ImpGabe and I have been trying in vain to get the Image Sizer plugin to work. We’re unable to get any output from the thing… we’ve tried relative paths, absolute paths, yes the cache folder is set to 777…
Are there any dependencies other than GD? Any php modules required? We’ve turned on template debugging and it looks like it’s processing:
(0.005377) - Beginning Tag Processing - (0.005398) Parsing Tags in Template (0.005460) Tag: {exp:imgsizer:size src="http://www.bluetigergifts.com/images/uploads/IMG_0331.JPG" width="200" alt="My Title"} (0.005707) Closing Tag Found (0.005807) Tag: {exp:imgsizer:size src="/images/uploads/ist2_6110537-vetenian-mask-of-the-venice-carnival.jpg" width="200"} (0.005914) Closing Tag Found (0.005961) Processing Tags (0.005990) Plugin Tag: Imgsizer/size (0.006012) Plugin Tag: Imgsizer/size (0.006030) Including Files for Tag and Modules (0.008541) Beginning Final Tag Data Processing (0.008565) Calling Class/Method: Imgsizer/size (0.008692) -> Class Called: Imgsizer (0.008715) -> Method Called: size (0.008940) -> Data Returned (0.008970) Calling Class/Method: Imgsizer/size (0.009032) -> Class Called: Imgsizer (0.009051) -> Method Called: size (0.009193) -> Data Returned (0.009222) - End Tag Processing -
We’re at a loss as to why it’s not working…
Hello all, I’m having an issue with image resizer not liking {variables}. I’m trying to resize the following image from a photo gallery:
{exp:imgsizer:size src="{site_url}/images/galleries/{cat_folder}/{filename}_medium.jpg" width="283" height="200"}
I tried using the Extract URL but that didn’t seem to work. Any ideas?
Heres the result:
PATH : "http://rootdownmedia.com/cutchemist//images/galleries/hardsell/l_607f97f412ad0752cf24323867655403_medium.jpg"
I think a problem may be that the Image Sizer code is wrapped in an EE SQL query?
{exp:query sql="SELECT cat_folder, parent_id, cat_name, filename, entry_id FROM exp_gallery_categories c, exp_gallery_entries e WHERE e.cat_id= c.cat_id AND e.cat_id = '{category_id}' AND custom_field_one = 'Yes'"} IMAGE SIZER {/exp:query}
It may be some cache problem ? Do your directory has the correct right ?
You may try
{exp:imgsizer:size src="/images/galleries/{cat_folder}/{filename}_medium.jpg" width="283" height="200" cache="no"}
To see if it works without caching. You may also look at your directory to see if the ‘cache’ folder has been created.
Also try without specifiying both width and height. According to the help, only one parameter is needed.
Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.