Wrong relative URL for images in frontend with a subdomain

More
10 years 1 month ago #50395 by esinet
Hello and thanks for your answer
Yes i did.
It's very useful to keep Menu item when you make a hypetext link to an article of the site.
But i still have my problem when i change the category...

Joomla 3.9.14 /3.6.5 FLEXIcontent v 3.3.1.6

Please Log in or Create an account to join the conversation.

More
10 years 1 month ago #50400 by esinet
new information ...
As explain in JCE and K2 forum, i don't have the problem if i don't use SEF ...
What could i do to use the Search Engine Friendly URL's ???
Thanks

Joomla 3.9.14 /3.6.5 FLEXIcontent v 3.3.1.6

Please Log in or Create an account to join the conversation.

More
10 years 1 month ago #50407 by ggppdk
Hello

1. does it work with tinymce and SEF urls ?


2. what did JCE authors say ?
- did they suggest some configuration ?
- or asked you to use Joomla default .htaccess file ?

FLEXIcontent itself is not modifying the image URLs, neither before saving , nor before loading the text in item form


-- Flexicontent is Free but involves a big effort on our part.
Like the our support? (for a bug-free FC, despite having a long list of functions) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing with a 5-star...

Please Log in or Create an account to join the conversation.

More
10 years 1 month ago #50414 by esinet
Hello Sarki, Hello ggppdk, Hello Micker
Thank you for your various replies and give me a bit of your time.

The problem is the thumbnail display of images in the blog view for example.
If I create an article Bakend with an image, I have a miniature display in the blog category.
(if I click on the title link of the article, I have the picture, hopefully)
If I change something in the article from frontend and validate, the miniature display disappears from blog display.

Why?
First observation, with a site whose URL is monsite.fr/essai ,
the URL of the image created is classic with joomla backend and JCE, like: images / stories / apple.png.
After validation in the frontend, the URL of the image changes and becomes /essai/images/stories/apple.png

Second observation, the problem appears when a subdomain is used.
I watch locally with MAMP (example url: http://localhost:8888/joomla336/
Same with my test server in joomla template 336 and the pro: besace.info/joomla336
Ditto on my server pre-production: monsite.fr/essai

Third observation:
It seems that everything works well with tinyMCE and FLEXIcontent (without disabling SEF) but it is not easy to choose an image with tinyMCE.
It seems that everything works with JCE and FLEXIcontent if I disable the SEF.

I tried to make changes in component / com_flexicontent / views / item / view.html.php (closer to the solution in the K2 forum) without success.
I did not change in htaccess file

I can give temporary access on my test site ...

Thanks for your help
and best regards

Forum JCE: www.sarki.ch/jce/forum/problemes-divers/...Icontent-in-frontend
Forulm FLEXIcontent: www.flexicontent.org/forum/index.php?f=21&t=8479&rb_v=viewtopic


IN FRENCH ...
Bonjour Sarki, Bonjour ggppdk,Bonjour Micker
Je vous remercie de vos différentes réponses et de m'accorder un peu de votre temps.

Le problème concerne l'affichage de miniatures d'images dans l'affichage blog d'une liste d'article d'une catégorie par exemple.
Si je crée un article en bakend avec une image, j'ai une miniature dans l'affichage blog de la catégorie.
(si je clique sur le lien du titre de l'article, j'ai l'image, tout va bien)
Si je modifie quelque chose, dans l'article à partir du frontend et que je valide, la miniature disparait de l'affichage blog de la catégorie.

Pourquoi ?
Premier constat, avec un site dont l'URL est monsite.fr/essai
l'URL de l'image créée en backend est classique avec joomla et JCE, du type : images/stories/apple.png.
Après validation en frontend, l'URL de l'image change et devient /essai/images/stories/apple.png

Deuxième constat, le problème apparaît quand on utilise un sous-domaine.
Je l'observe en local avec MAMP (exemple d'url : http://localhost:8888/joomla336/
Idem avec mon serveur de test sous joomla 336 et le template pro: besace.info/joomla336
Idem sur mon serveur de pre-production : monsite.fr/essai

Troisième constat,
Il semble que tout fonctionne bien avec tinyMCE et flexicontent (sans désactiver le SEF) mais il n'est pas facile de choisir une image avec tinyMCE.
Il semble que tout fonctionne avec JCE et flexicontent si je désactive le SEF.

J'ai essayé de faire des modifications dans component/com_flexicontent/views/item/view.html.php (au plus près de la solution dans le forum K2) mais sans succès.
Je n'ai pas fait de modification dans .htaccess

je peux vous donner des droits temporaires sur mon site de test ...

Merci de votre aide et Bonne continuation.

Forum JCE : www.sarki.ch/jce/forum/problemes-divers/...icontent-en-frontend
Forulm flexicontent : www.flexicontent.org/forum/index.php?f=21&t=8479&rb_v=viewtopic

Joomla 3.9.14 /3.6.5 FLEXIcontent v 3.3.1.6

Please Log in or Create an account to join the conversation.

More
10 years 1 month ago #50416 by ggppdk
Hello

yes send a PM with super admin access and an example on how to view the issue (include item id and frontend url)


-- Flexicontent is Free but involves a big effort on our part.
Like the our support? (for a bug-free FC, despite having a long list of functions) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing with a 5-star...

Please Log in or Create an account to join the conversation.

More
10 years 4 weeks ago #50538 by sarki
Hello,
I have the solution ;)
In your profile JCE, just add the name "images" of the folder in "Editor Parameters -> Filesystem -> File Directory Path"
[attachment=0:2yoms57h]<!-- ia0 -->jce_profile_filesystem_images.png<!-- ia0 -->[/attachment:2yoms57h]
Attachments:

Please Log in or Create an account to join the conversation.

Moderators: vistamediajoomlacornerggppdk
Time to create page: 0.485 seconds
Save
Cookies user preferences
We use cookies to ensure you to get the best experience on our website. If you decline the use of cookies, this website may not function as expected.
Accept all
Decline all
Essential
These cookies are needed to make the website work correctly. You can not disable them.
Display
Accept
Analytics
Tools used to analyze the data to measure the effectiveness of a website and to understand how it works.
Google Analytics
Accept
Decline