Like https://drupal.org/node/1162446 we've found a need to treat CDN images as local images allowing them to be resized for example when editors have included CSS resized images directly in the WYISWYG editor without resizing the files.

Attached is a patch compatible with the CDN module https://drupal.org/project/cdn 7.x-2.5+9-dev

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

andrewhine’s picture

Issue summary: View changes
andrewhine’s picture

leuiz’s picture

I have the same problem, i want my cdn-images to be treated and resized locally, but this patch doesnt seem to work for me using CDN 7.x-2.6 (im assuming it should work with this version as well as 7.x-2.5+9-dev) and ckeditor to upload/resize images.

My image resize filter settings are:

Resize images stored:

  • [Checked] Locally
  • [Checked] On remote servers

[Checked] If resized, add a link to the original image. Optionally, give it the class:
colorbox-load (for colorbox integration)

The image src is still the CDN image and not the local one and i get the error message "Image resize threshold of 10 remote images has been reached. Please use fewer remote images".

Any suggestions?