×
Please submit new Bug Reports on GitHub: github.com/Jensen-Technologies/component-creator-issues/issues
Proper location for images
Troy Hall
Nouveau membre
Posts: 5
il y a 8 ans 6 mois #1322
par Troy Hall
Proper location for images a été créé par Troy Hall
I'm using my component as the heart of a "package" of joomla extensions.
I'm wondering if I'm putting the imagery in the wrong place?
CC asked me for the image and I gave it and it renamed it ( fine ) and put it as a folder in /administrator as shown.
I've heard that all images & js should go in /media so I made a folder for that matching the layout I see in the CMS core files.
but you can't use "/media/xxxx" in .css cause if the joomla site is installed in a subfolder it will fail.
because / won't be the installs / .
So whats the proper way to do this?
I'm wondering if I'm putting the imagery in the wrong place?
CC asked me for the image and I gave it and it renamed it ( fine ) and put it as a folder in /administrator as shown.
I've heard that all images & js should go in /media so I made a folder for that matching the layout I see in the CMS core files.
but you can't use "/media/xxxx" in .css cause if the joomla site is installed in a subfolder it will fail.
because / won't be the installs / .
So whats the proper way to do this?
Connexion ou Créer un compte pour participer à la conversation.
Walt Sorensen
Nouveau membre
Posts: 5
il y a 8 ans 6 mois #1331
par Walt Sorensen
Réponse de Walt Sorensen sur le sujet Proper location for images
Images and Icons for the Administrator portion should go to folders in the administrator (backend) part of Joomla.
all images/ js/css should go in the media folder when it's for public frontend use.
all images/ js/css should go in the media folder when it's for public frontend use.
Les utilisateur(s) suivant ont remercié: Andres Maeso
Connexion ou Créer un compte pour participer à la conversation.
Troy Hall
Nouveau membre
Posts: 5
il y a 8 ans 6 mois #1336
par Troy Hall
Réponse de Troy Hall sur le sujet Proper location for images
AH! ty walt.. that clears it up entirely
Connexion ou Créer un compte pour participer à la conversation.
Temps de génération de la page : 0.049 secondes