I have update my test env to drupal 7.20. Some images are break and some are not. Images putted in wyswigy editor by media module explorer are working, but images inserted by e.g. insert module are not working. How to add image token to existing links? Should I post it in wyswigy module or pathologic module issue queue? Or there are oder migrate paths?
Thanks for help...
Updated: 8/15 by andymartha
Drupal 7.20 introduced the itok to images for site security. The example is http://example.com/sites/default/files/styles/thumbnail/public/field/ima... (https://drupal.org/drupal-7.20-release-notes) If you have a Drupal 7.0x or 7.1x site with custom image styles, and you inserted the images into the node inline with the Insert module or similar (https://drupal.org/project/insert) they appear like http://example.com/sites/default/files/styles/thumbnail/public/field/ima... . If you upgrade your Drupal site to 7.2x and then update and save those image styles and revisit your nodes containing those images, the images will be missing as Drupal 7.2x expects the itok to be present in the URL. http://localhost:8888/drupal7x/sites/default/files/300x100_0.jpg (no image styles applied) will show up, but http://localhost:8888/drupal7x/sites/default/files/styles/newstyle/publi... will be a broken image, because it is missing the itok. Drupal 7.2x -> 7.2x upgrades tested OK with no broken images.
Drupal 8.x uses the itok (example: http://localhost:8888/drupal/sites/default/files/styles/newstyle/public/...) for images that have styles applied, although adding images via the Drupal 8 core WYSIWYG do not contain the itok. Patch #itok-1934498-68.patch was committed to core and patch #image-suppress_itok_output-86.patch applies cleanly from https://drupal.org/node/1934498 to allow the user to use non-itok images by altering the yml file, which I have tested. Hard-coding modules such as Insert do not exist for Drupal 8 yet.
Agree on using the query string of itok or not, which I believe the answer so far is yes. I believe David_Rothstein knows a lot about this issue. I thought these settings would be in the UI but I couldn't find them and could be mistaken. Backport patch from attiks to 7.x after finalizing https://drupal.org/node/1934498#comment-7481526 settings.
Since this issue deals with upgrading Drupal 7.1x sites to 8, I'm not sure of the best route people will take to upgrade from 7 to 8, so please inform me. Thanks!
User interface changes
none that I know of
none that I know of