I just spent the better part of a couple hours combing through the issues queue and experimenting. I just couldn't get Image Resize Filter to work.

First step was confirming that the image was actually being generated. FTP into the site... yes. image being generated.

Then, I started playing with the input formats. Filtered HTML... nothing. Full HTML... nothing. Filter order... nada. It just wouldn't generate the link back to the resized image.

I noticed that ckeditor (which I'm only using on filtered HTML), was generating full urls. I hadn't checked "Store Remote Images", so I did that assuming maybe it was picking up on the 'http://' bit.

On a whim, I installed Imageapi. I had full intention of using imagecache, but hadn't installed imageapi (mainly due to laziness... I didn't need it yet). Activated imageapi (but not imagecache... yet), and took a look.

Now it works. Maybe it's my host config or maybe there's something in the original image.inc that isn't playing nice. Or maybe I fixed it just before installing imageapi and didn't realize. But if you're struggling with getting this working, give it a try.

Comments

quicksketch’s picture

Category: bug » task
Status: Needs review » Active

Or maybe I fixed it just before installing imageapi and didn't realize.

A sure way to have things not work is to enable ImageAPI but not ImageAPI GD/ImageMagick. If ImageAPI is installed but a toolkit is not, nothing will work.

CloudSociety’s picture

You're absolutely right. I wasn't clear on that part. I did install the gd2 toolkit at the same time as imageapi itself, so that wasn't a factor in my issues.

The more I try to find out why it works now, the more I settle on the idea that it's something in the host config. Maybe, the gd2 toolkit and imageapi have slightly different code that's accepted by the server.

The important thing is that it works now. I'm sure the issue wasn't with Image Resize Filter itself and posted this in the hopes of helping others.

Thanks for developing this module, Nate.

technobrarygeek’s picture

Just adding my 2¢ worth here.

I manage something short of 40 Drupal sites some that were created as much as 2 years ago. When I first set these up I used ImageAPI as part of my node editing tools. Another was Image Assist. I also use Artisteer to create custom themes as I am too lazy to learn how to make them from scratch. lol Anyway, a while ago an update to Artisteer themes broke Image Assist. This caused me to rethink my editor approach. I have come on board to using WYSIWYG + TinyMCE (library form) + Image assist + Image Resize Filter. I tweaked out out all the settings in a brand new test site and all work like dreams. Just today I went to "remodel" one of my production sites. I disabled all the previous modules relating to editing and recreated the modules & settings from my test site. All worked like expected except Image Resize Filter. I could see it resizing the image as I dragged a corner, but in a preview or saved look the un-resized image was displayed... until... I re-enabled ImageAPI. Now it works as the test site does. Here's the rub. The test site NEVER had ImageAPI installed. So, my S.W.A.G is that if once you use ImageAPI you must continue. A sort of Hotel California deal,

you can check out any time you like but you may never leave

lol

Again just my 2¢ worth.

Bill

quicksketch’s picture

Status: Active » Closed (fixed)