joshp23 / tt-rss-yourls

A plugin for Tiny Tiny RSS, to shorten urls via Yourls
GNU General Public License v3.0
23 stars 6 forks source link

Wrong path for images #4

Closed Gabbalo closed 5 years ago

Gabbalo commented 8 years ago

Hi,

I just installed the YOURLS plugin and it works just fine ... exept the images of tweetshare and fbshare aren't displayed properly. image They are stored in the plugin-directory, but the call in the code ist not goint there.

https://short.domain.tld/plugins/yourls/tweetshare.png <-- in the code (/plugins/yourls/tweetshare.png, to be exactly :) ) https://short.domain.tld/tt-rss/plugins/yourls/tweetshare.png <- actual path

Somehow, the path to the directory of the plugin is not read properly.

Greets, Gabba

acaranta commented 8 years ago

Can you check if #8 (merged a few seconds ago) corrects this problem ? :p

matecode commented 8 years ago

This does not correct the problem because the path to the image is hardcoded in js file. The slash in the beginning cuts of the directory.