I am developing my site on my local machine. When it's ready, I will upload to server.

Locally, the taxonomy image and taxonomy list work. But on remote webserver, no taxonomy images displayed.

The link is still

<img width="130" height="90" title="Body" alt="Body" src="http://localhost/files/category_pictures/body.jpg"/>

I have emptied cache and image assist's cache. Still no result.

Any idea?

thank you for your time.

Comments

lonehorseend’s picture

Have you checked your settings.php file to make sure that the site URL is set to the remote domain?

Also, you might have to edit the SQL dump of your site to find any references to localhost and replace that with your domain name.

jessicakoh’s picture

Status: Active » Closed (fixed)

Thank you for your input, Lonehorseend.

I cleared the cache one more time. Restarted my browser. And it works. :)

I guess it could be the cache.

It's not my settings.php.

jessicakoh’s picture

Status: Closed (fixed) » Active

oh silly, me.

I did not clear the browser's cache.

I'm still having the same problem.

The remote server is still linking to local files.

Any idea?

jessicakoh’s picture

I have solved the problem. Here's what I did.

1. chown -R nobody:nobody files
2. Go to Categories, Images
3. Click on "Edit Item"
4. Submit

Redo for all terms. Now, all taxonomy images are properly linked.

That's how I did. Is there a simpler way?

Thanks.

nancydru’s picture

That's probably the best way. I am planning, some day, to change Taxonomy Image to use relative paths, but I have no idea when that may be.

nancydru’s picture

Status: Active » Fixed
Anonymous’s picture

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.