×
Please submit new Bug Reports on GitHub: github.com/Jensen-Technologies/component-creator-issues/issues
Proper location for images
Troy Hall
New Member
Posts: 5
8 Anni 6 Mesi fa #1322
da Troy Hall
Proper location for images è stato creato da 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?
Si prega Accedi o Crea un account a partecipare alla conversazione.
Walt Sorensen
New Member
Posts: 5
8 Anni 6 Mesi fa #1331
da Walt Sorensen
Risposta da Walt Sorensen al topic 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.
Ringraziano per il messaggio: Andres Maeso
Si prega Accedi o Crea un account a partecipare alla conversazione.
Troy Hall
New Member
Posts: 5
8 Anni 6 Mesi fa #1336
da Troy Hall
Risposta da Troy Hall al topic Proper location for images
AH! ty walt.. that clears it up entirely
Si prega Accedi o Crea un account a partecipare alla conversazione.
Tempo creazione pagina: 0.061 secondi