theme_image_srcset() still uses file_create_url() instead of the standard image_style_url()

Created on 15 September 2015, about 9 years ago
Updated 19 September 2023, about 1 year ago

The theme function theme_image_srcset() uses file_create_url() for the image URLs that it creates which causes a 403 Access Denied error when trying to view those images. This is because image derivatives require a token since Drupal 7.20: https://www.drupal.org/drupal-7.20-release-notes β†’

πŸ› Bug report
Status

Closed: outdated

Version

2.12

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States daniel korte Brooklyn, NY

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • πŸ‡¬πŸ‡§United Kingdom lesleyfernandes

    I am closing all very old tickets that have not received comments for a long time. If someone still faces these issues or thinks they are relevant, please reopen it. Feel free to contribute with more info or a patch.

Production build 0.71.5 2024