Closed (works as designed)
Project:
Image Resize Filter
Version:
6.x-1.9
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
7 Oct 2011 at 03:20 UTC
Updated:
9 Oct 2011 at 06:10 UTC
Hi,
There is any way to make Image Resize compatible with Get Image? http://drupal.org/project/get_image
If not, there is any way to force Image Resize to save all external images locally even if they are not resized?
Thanks
Comments
Comment #1
quicksketchCan't you just put get_image before image_resize_filter in your input format configuration? Seems like they should work fine together as long as image_resize_filter comes after.
Comment #2
superfedya commentedBut there is no get_image filter in format configuration :(
Comment #3
quicksketchOh, hmm, you're right it's not a filter at all. Looks like it only works on the Node body field, but I can't see why the two wouldn't work together just fine.
Image Resize Filter already downloads all images even if they aren't resized if enable the Resize external URL option.
Comment #4
superfedya commentedHmmm, you're right. But can Image Resize Filter use http://drupal.org/project/imageapi_optimize to all images stored locally? To have better image optimization and page loading.
Thanks!
Comment #5
superfedya commentedBut why Image Resize change the path and name of already uploaded by get image images?
It was:
http://cdn1.madfanboy.com/site/sites/default/files/images_save/158c3892d...
After installing Image Resize and disable Get Image it become:
http://cdn1.madfanboy.com/site/sites/default/files/resize/images_save/15...
Any fix?
Comment #6
quicksketchPerhaps you should ask this question in the ImageAPI Optimize issue queue. I'm not familiar with that module.
Image Resize Filter doesn't know anything about Get Image module or the way it works. Image Resize Filter is simply trying to help organize your files by putting them all in the "resize" directory. It shouldn't cause a negative side-effect on your site though, just empty the "cache_filter" table and all the image locations will be updated as needed.
Comment #7
superfedya commentedI empty all caches, but Image Resize really change the url for already uploaded files via Get Image :(
Comment #8
quicksketchAs I said above, Image Resize Filter doesn't know anything about Get Image. Yes the paths will be different because it's Image Resize Filter saving the images instead of Get Image. Image Resize Filter didn't change the path of Get Image images, it saved entirely different images. From what I can tell, you don't need Get Image module at all if you're already using Image Resize Filter.
Comment #9
superfedya commentedWhen I enable Image Resize, it change path to all images previously uploaded by Get Image and add the dimension like -400x226 to the image name. Maybe this 2 modules uses some variable in DB that is the same?
When I enable Image Res, this path http://cdn1.madfanboy.com/site/sites/default/files/images_save/158c3892d...
Became:
http://cdn1.madfanboy.com/site/sites/default/files/resize/images_save/15...
When I disable it, everything back to normal.
Thanks!
Comment #10
quicksketchIt doesn't matter if you had Get Image enabled or not, Image Resize Filter would always create the paths under the "resize/" directory and add the dimensions. The path and save location of Image Resize Filter is not configurable.
I don't see why you're having trouble with the path being different, why don't you just disable Get Image and be done with it?
Comment #11
superfedya commented>I don't see why you're having trouble with the path being different, why don't you just disable Get Image and be done with it?
When I did that the path (and the name) of all my images (uploaded via get image before) is changed. There is no problem with the new uploads, but it change the path for all my nodes even if I add it 1 year ago :(
Comment #12
quicksketchOkay, alternatively why don't you disable Image Resize Filter's ability to resize external images then? It's silly to have two modules that do the same thing on your site.
I feel I've explained this issue enough.