<p>I had an image transform set on an entry that was working as expected. I updated the code, and it didn't work, so I reverted back to the old transform. It was literally going from </p>

<pre><code>src="{{ image.getUrl('featuredImage') }}"
</code></pre>

<p>to</p>

<pre><code>src="{{ image.getUrl('cardImage') }}"
</code></pre>

<p>The image didn't load, so I reverted back to featuredImage, and it still isn't working. I checked my server logs and there wasn't anything noticeable. In my dev console the request URL is <code>Request URL:https://example.com/index.php?p=actions/assets/generate-transform&amp;transformId=1</code> and <code>Status Code: 500 Internal Server Error</code></p>

<p>Any thoughts?</p>

<p>Thanks in advance!</p>

CC BY-SA 4.0
2020-02-25T01:09:35.160Z
Check Craft's logs at `storage/logs`
Brad Bell
CC BY-SA 4.0
2020-02-25T08:23:04.987Z
Is devMode on? If it is, you should see more than just the server error code.
Paul
CC BY-SA 4.0
2020-02-25T19:00:52.113Z
Is your transform setup in the admin area or a template transform? If it's in the template code, is it inside of a cache tag?
jpea
CC BY-SA 4.0
2020-02-25T23:32:23.657Z
@BradBell Thanks for the reminder. I think I know the root of the problem, but not sure how to solve it:

Some weeks ago, my user (User1) became "corrupted" somehow. My hosting provider's solution was create a new user (User2) and move everything over there. Mostly everything seems to be sorted, but I'm seeing errors in web.log as follows:League\Flysystem\Exception] League\Flysystem\Exception: Impossible to create the root directory "/home/User1/example.com/img/travels". mkdir(): Permission denied in /home/User2/craft/vendor/league/flysystem/src/Adapter/Local.php. Any idea?
Shad
CC BY-SA 4.0
2020-02-26T00:16:34.640Z
Huh... yeah some sort of permissions issue. I think I'd push back on the host to investigate since they seem to be the cause of it. :)
Brad Bell
<image-transforms>
Image Transform change causes 500 Internal Server Error
# Image Transform change causes 500 Internal Server Error

(Asked by: username_0 on 2020-02-25)

I had an image transform set on an entry that was working as expected. I updated the code, and it didn't work, so I reverted back to the old transform. It was literally going from 
src="{{ image.getUrl('featuredImage') }}"

to
src="{{ image.getUrl('cardImage') }}"

The image didn't load, so I reverted back to featuredImage, and it still isn't working. I checked my server logs and there wasn't anything noticeable. In my dev console the request URL is Request URL:https://example.com/index.php?p=actions/assets/generate-transform&transformId=1 and Status Code: 500 Internal Server Error
Any thoughts?
Thanks in advance!

**Tags:** image-transforms

> **Comments:**
> **username_1**: Check Craft's logs at `storage/logs`  
> **username_2**: Is devMode on? If it is, you should see more than just the server error code.  
> **username_3**: Is your transform setup in the admin area or a template transform? If it's in the template code, is it inside of a cache tag?  
> **username_0**: @BradBell Thanks for the reminder. I think I know the root of the problem, but not sure how to solve it:  Some weeks ago, my user (User1) became "corrupted" somehow. My hosting provider's solution was create a new user (User2) and move everything over there. Mostly everything seems to be sorted, but I'm seeing errors in web.log as follows:League\Flysystem\Exception] League\Flysystem\Exception: Impossible to create the root directory "/home/User1/example.com/img/travels". mkdir(): Permission denied in /home/User2/craft/vendor/league/flysystem/src/Adapter/Local.php. Any idea?  
> **username_1**: Huh... yeah some sort of permissions issue. I think I'd push back on the host to investigate since they seem to be the cause of it. :)  

---

## 0 answers

