Wrong relative URL for images in frontend with a subdomain

More
10 years 1 month ago #50360 by esinet
hello
Thank you for this latest update of V2.2.0 FLEXIcontent stable.
I now understand that your last few weeks have been very very productive.
But after installing the latest version, I still have my problem, so let me post my question again that may have been misinterpreted.
I use a subdomain, joomla 336 and therefore the latest stable version of Flexicontent.
Backend with JCE editor and FLEXIcontent, so good. Relative Image URL is correct (eg: images/stories/folder/oiseau.png)
Frontend is not the same. Everything is going well without FLEXIcontent, but after installing FLEXIcontent, part of the website address is included in the URL of the image)
For example http://localhost:8888/mysite/ => the URL of the image become /monsite/images/stories/dossier/oiseau.png
(I realize that if I created my site to the root, I would not have this problem but it will not happen in production ...)

So when an item is created in the frontend, the thumbnail gets a bad URL and if I change the category of the item created in the frontend, I have no thumbnails ...
Founded in frontend, thumbnails URL looks like: ..... php?src=/mysite/images/stories/folder/oiseau.png?
Founded in backend URL thumbnails looks like: ... php?src =/images/stories/folder/oiseau.png?

If an author changes frontend category of an item created in backend (if a request for validation, for example), there will be more thumbnails after validation ...
Can you tell me where i can search to try to find a solution
Thanks a lot
Bonjour
Merci pour cette dernière mise à jour of flexicontent V2.2.0 stable.
Je comprends maintenant que vos dernières semaines ont été très très productives.
Mais après installation de la dernière version, j'ai toujours mon problème, alors je me permets de poster à nouveau ma question qui peut-être a été mal interprétée.
J'utilise un sous-domaine, joomla 336 et donc la dernière version stable de Flexicontent.
En backend, avec JCE editor et flexicontent, tout va bien. L'URL relative des images est correcte : (ex: images/stories/dossier/oiseau.png)
En frontend ce n'est pas pareil. Tout se passe bien sans flexicontent, mais après l'installation de flexicontent, une partie de l'adresse du site est reprise dans l'url de l'image)
Exemple pour un site http://localhost:8888/monsite/, l'URL de l'image deviendra /monsite/images/stories/dossier/oiseau.png
(Je vois bien que si je créais mon site à la racine, je n'aurais pas ce problème mais ce ne sera pas le cas en production ...)

Du coup, quand un article est créé en frontend, la miniature reprend une mauvaise URL et si je modifie la catégorie de l'article créé en frontend, je n'ai plus de thumbnails...
Créée en frontend, l'URL des thumbnails est du type : .....php?src=/monsite/images/stories/dossier/oiseau.png
Créée en backend, l'URL des thumbnails est du type : ... php?src=/images/stories/dossier/oiseau.png

Si un auteur change en frontend de catégorie d'un item créé en backend (le cas après une demande de validation par exemple), il n'y aura plus de thumbnails après validation ...

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 #50367 by ggppdk
Hello

hhmm, maybe the profile that you have asked JCE to use for other components is doing this
(JCE can load different profile/behavior in different views)

-- also you need to disable the usage of HTML editory to see what was really stored in the DB





we make no manipulation of the image URL, this is done by the HTML editor only


please make this test:

change your editor to be default HTML editor included by Joomla: tinymce

-- goto item (frontend) form and make sure that now tinymce is being used, then delete and insert the image,
save
go Joomla configuration and disable HTML editor because you need to disable HTML editor to see what was really stored in the DB
go to item form, and open the item ? is image relative or absolute ?


-- 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 #50370 by esinet
a big thanks to take time for me ...
I'll try to make what you tell ...

I can now say that, with only JCE editor and default profil, all is right with relative URL.
But after installation of flexicontent, i've got a difference ...
Best regards

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 #50372 by esinet
Thanks again for your expertise.
indeed, with tinyMCE, it's ok !!!
I'll re-contact Sarki with this new explantion ...
Best regards

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 #50373 by esinet
I found sommething in jce en forum :
www.joomlacontenteditor.net/sup ... eply-73615

But i don't find the file to change sommething ...
Do you think it could be the solution ?
then which file must i change ?
Thanks for your help.

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 #50386 by micker
did you install jce plugin for flexicontent at first ?

FLEXIcontent is Free but involves a very big effort on our part.
Like the our support? (for a bug-free FC, despite being huge extension) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing reviews. Thanks![/size]

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

Moderators: vistamediajoomlacornerggppdk
Time to create page: 0.478 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