Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

url to some images/icons not correct path #3800

Closed
aboogerd opened this issue Mar 11, 2017 · 2 comments
Closed

url to some images/icons not correct path #3800

aboogerd opened this issue Mar 11, 2017 · 2 comments

Comments

@aboogerd
Copy link

aboogerd commented Mar 11, 2017

Hi there, I have a problem with some icons in the activity app and photo album app. The url's of the image are not rewrite to the correct url. I can't figure out if it's htaccess or other problem. Other images are showing correct.

Image 1: <img alt="" src="http://my.domain/nextcloud/core/img/actions/share.svg"> and it should be <img alt="" src="http://my.domain/core/img/actions/share.svg">
Image 2: <img src="http://my.domain/nextcloud/apps/files/img/delete-color.svg">that should be <img src="http://my.domain/apps/files/img/delete-color.svg">
Image 3: <img class="svg" src="/nextcloud/core/img/actions/toggle-filelist.svg" alt="Bestandenlijst"> and this should be <img class="svg" src="/core/img/actions/toggle-filelist.svg" alt="Bestandenlijst">

Cheers, Alexander

@tflidd
Copy link
Contributor

tflidd commented Mar 11, 2017

Did you set this parameter in your config.php:

/**
 * Nextcloud attempts to detect the webroot for generating URLs automatically.
 * For example, if ``www.example.com/nextcloud`` is the URL pointing to the
 * Nextcloud instance, the webroot is ``/nextcloud``. When proxies are in use,
 * it may be difficult for Nextcloud to detect this parameter, resulting in
 * invalid URLs.
 */
'overwritewebroot' => '',

If you are using caching modules, make sure that you empty the cache (restart the service).

@aboogerd
Copy link
Author

Thank you!! It just was the cache.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants