Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
it seems plup_field_attach_presave doesn't always do what it's supposed to
it works for admin user, but regular user gets broken images/ filepaths like:
http://www.site.com/system/temporary/styles/page-thumbnail/temporary/p16...
When you edit the content type and resave, you get a correct path:
http://www.site.com/sites/default/files/styles/page-thumbnail/public/fot...
Comments
Comment #1
Anonymous (not verified) CreditAttribution: Anonymous commentedImages are uploaded into tmp folder and during form submit they are moved to proper location.
Comment #2
rv0 CreditAttribution: rv0 commentedI know that.
Please re-read the issue.
The problem is that it doesn't work on my site for some roles
It works fine with admin
I need to edit, than resave for moving them to the proper location.
Comment #3
Anonymous (not verified) CreditAttribution: Anonymous commentedI think the key information here is the last part of the title: '(only with some users)'. Either it does work or it does not.