TriSTaR
TriSTaR

Reputation: 403

Change the link before the image

when I write a link to the image so /sites/all/themes/shifonur/img/category/medical_apparat I don't understand why the link before the image changes and don't show image... Drupal front of text automatically puts taxonomy link enter image description here

Upvotes: 0

Views: 41

Answers (2)

Nick
Nick

Reputation: 11

You shoud add a slash (/) before your URL of the image. So

<img src="/sites/all/themes/shinofur/img/category/medical_apparat/apparat_1.png" alt="annapat 1" class="catalog_apparat">

Instead of:

<img src="sites/all/themes/shinofur/img/category/medical_apparat/apparat_1.png" alt="annapat 1" class="catalog_apparat">

Upvotes: 1

Zlahc
Zlahc

Reputation: 53

Image paths are relative instead of absolute.

Your Browser URL 'drupal.uz/taxonomy/term' is prefixed with the Image paths. You have config path in the Editor in which you are using.

Try using pathauto and config, which would help you.

Upvotes: 0

Related Questions