Question: Hi guys so I am having an issue with the "generating pending image transforms" being stuck. 

I've seen the solution listed here <https://craftcms.com/support/stuck-tasks> telling me to go to the craft\_tasks table and fix the error. But I cannot for the life of me figure out how to get to this table. Where is it? No one seems to explain this.

Answer: 
I'll use myself as an example, so if something isn't right we'll know who to blame.

First thing I do is set up an environment variable in my `craft/config/general.php` file like this:

```
...
'.dev' => array(
    'devMode' => true,
    'siteUrl' => 'http://mysite.dev/',
    'environmentVariables' => array(
        'basePath' => $_SERVER['DOCUMENT_ROOT'] . '/',
        'baseUrl' => 'http://mysite.dev/',
    )
)
...

```

Then, when I am creating assets sources, I'll create a general "Images" source:

```
Name: Images
Handle: images
File System Path: {basePath}media/images/
URL: /media/images/

```

Note that I am using my environment variable in the file system path.

```
{basePath}

```

You can call that whatever you want, it just has to match.

So if you were to view the source of my site, an image that was uploaded would have the path of:

```
http://www.mysite.com/media/images/my-image.jpg

```

Hope this helps!
> 
> For example, **I want my images to be** in public\_html/media/images, but I want the url for images to be <http://mysite.com/images>.
> 
> 
> 

When you configure an asset source you tell Craft where to find the images, not where you want them to be.