Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2015-09-22 17:50:17

Pyanepsion
New Member
From: Clermont-Ferrand
Registered: 2015-09-22
Posts: 7
Website

Nom de l'image en clair

Bonjour à tous.

Je souhaiterais que le nom du fichier image apparaisse en clair dans le code HTML.

Plutôt que :

<img width="77" height="45" title="Chambon" alt="Chambon" src="http://exemple.fr/images/3.jpg">

Je voudrais qu’il y ait écrit :

<img width="77" height="45" title="Chambon" alt="Chambon" src="http://exemple.fr/chambon.jpg">

ou mieux, en relatif :

<img width="77" height="45" title="Chambon" alt="Chambon" src="chambon.jpg">

Comment faire ?

Merci pour vos explications.

Last edited by Pyanepsion (2015-09-22 18:01:14)


Mais je vous le demande : peut-on encore parler de police sans sérifs ?

Offline

#2 2015-09-22 18:41:37

uli
Moderator
From: Cologne
Registered: 2006-08-15
Posts: 4,304

Re: Nom de l'image en clair

Salut, Pyanepsion, et bienvenue dans le forum de Textpattern.

From here on in English, please use translate.google.com for translating.

There’s a plugin for that task, kuo_image_clean_url and a method with more code involved (just saying cause I couldn’t get the plugin working). Good luck for the plugin method cause there’s much stuff to read in the forum thread for a non-English person: the improvements were added and discussed one by one in that topic, until down to the bottom.

Edit:
OK, the sentence “From here on in English, please use translate.google.com for translating” seems to have backfired. I’m sorry for phrasing it in a way that could be misinterpreted. I clarified what I really meant in my reply to Pyanepsion that was once in this topic and is now to be found over here.

Last edited by uli (2015-09-25 17:30:45)


In bad weather I never leave home without wet_plugout, smd_where_used and adi_form_links

Offline

#3 2015-09-23 05:41:08

Pyanepsion
New Member
From: Clermont-Ferrand
Registered: 2015-09-22
Posts: 7
Website

Re: Nom de l'image en clair

uli wrote #295079:

From here on in English, please use translate.google.com for translating.

Thank you, Uli, for your answer. I have not found the place to ask the question in French. Suggestion: Maybe it should be, as for many other forums of CMS, propose some parts of the forum to each language used. Discuss English only does not encourage to use and to discover Textpattern. I continue the discussion on one of the topics proposed.

Last edited by Pyanepsion (2015-09-23 05:41:27)


Mais je vous le demande : peut-on encore parler de police sans sérifs ?

Offline

#4 2015-09-23 06:15:34

colak
Admin
From: Cyprus
Registered: 2004-11-20
Posts: 9,011
Website GitHub Mastodon Twitter

Re: Nom de l'image en clair

Pyanepsion wrote #295085:

Thank you, Uli, for your answer. I have not found the place to ask the question in French. Suggestion: Maybe it should be, as for many other forums of CMS, propose some parts of the forum to each language used. Discuss English only does not encourage to use and to discover Textpattern. I continue the discussion on one of the topics proposed.

HI Pyanepsion,

We used to have forums for other languages but they were very hard to maintain but more importantly they were not getting the responses to the questions. We understand fully that this is a limitation but we are yet to find a long term viable solution for it.


Yiannis
——————————
NeMe | hblack.art | EMAP | A Sea change | Toolkit of Care
I do my best editing after I click on the submit button.

Offline

Board footer

Powered by FluxBB