Closed (duplicate)
Project:
Drupal core
Version:
7.x-dev
Component:
image.module
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
15 Oct 2010 at 04:55 UTC
Updated:
15 Oct 2010 at 05:48 UTC
When editing an image style the UI displays a preview of what the original will look like and what the derivative will look like after the style in question has been displayed. Currently the original sample image doesn't work. See attached screenshot.
The problem is that it attempts to append a timestamp to the image as a cache buster, but the "?" gets encoded resulting in a bad URL.
i.e.) modules/image/sample.png%3F1287118041
The attached patch fixes this problem.
| Comment | File | Size | Author |
|---|---|---|---|
| eojthebrave-image_preview_broken.patch | 1.25 KB | eojthebrave |
Comments
Comment #1
webchickThis seems to be a duplicate of #563382: when editing image style, link to sample image broken (missing file_create_url()), although that one has a slightly different fix.