With ImageAPI 6.x-1.10 , ImageCache 6.x-2.0-beta12, and php 5.3.2 , and using GD2 I can not get to image to resize.

I have tried on the php and the full Html input filter, I have enabled the image_resize_filter, and rearranged so it is firing first.

This is how I am inputing the image
Only local images are allowed.

This is what is outputted
Only local images are allowed.

I have made sure the /files/ is chown by web user, and 755 permission ...

I've tried variations of using
Only local images are allowed. Only local images are allowed. Only local images are allowed.

Nothing seems to make it fire. On a separate install, I saw the same thing, but had ckeditor enabled, if I used the ckeditor , and resized the image, it would resize. But not if I just manually tried to hand code the html.

Any thoughts?

Comments

shaneforsythe’s picture

Well that didn't work ...
Here is how I was inputing the images

<img src='/sites/default/files/image.jpg'  width="300" height="200"  />
<img src='/sites/default/files/image.jpg'  width="300px" height="200px"  />
<img src='/sites/default/files/image.jpg'  style="width:300px; height: 200px;"  />
... and a few other variations, the resulting output was never changed.
quicksketch’s picture

Maybe try double quotes around the src property? It should work with either single or double quotes though.

This should work:
<img src="/sites/default/files/image.jpg"  width="300" height="200"  />

This probably wouldn't work, not valid HTML:
<img src="/sites/default/files/image.jpg"  width="300px" height="200px"  />

This should work too:
<img src="/sites/default/files/image.jpg"  style="width:300px; height: 200px;"  />

And the image needs to actually exist on the server for image resize filter to work of course.

shaneforsythe’s picture

Yup, that fixed it ... double quotes for src and width.

frob’s picture

Category: Bug report » Support request
Issue summary: View changes
Status: Active » Fixed

this issue looks fixed to me.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.