My settings are,
allow_insecure_derivatives: true
suppress_itok_output: false
Editing the itok token for the image src works at the browser level.
Does anyone know what causes the issue and a fix for it?
Notes :
- When I hit CTRL+SHIFT+R in the browser the imagestyle images reappear. So the issues seems to be image is not present for the first time and browser is caching it.
- The actual image can be accessed even for the first time without any issues. The issue is only with the image style images.
- When I look at the actual image in the files folder, I see that there is an additional image with _0 attached to it. So looks like when the image is uploaded for the first time, it is assuming there is a duplicate and creating a new image. But still not sure why it would cause this issue.
cd /var/www/drupal/sites/default
and thensudo chown www-data -R files
files
folder, what do you have as owner/group?