× Please submit new Bug Reports on GitHub: github.com/Jensen-Technologies/component-creator-issues/issues

Proper location for images

8 года 4 мес. назад #1322 от Troy Hall
Troy Hall создал тему: Proper location for images
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?
Вложения:

Пожалуйста Войти или Регистрация, чтобы присоединиться к беседе.

8 года 3 мес. назад #1331 от Walt Sorensen
Walt Sorensen ответил в теме 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.
Спасибо сказали: Andres Maeso

Пожалуйста Войти или Регистрация, чтобы присоединиться к беседе.

8 года 3 мес. назад #1336 от Troy Hall
Troy Hall ответил в теме Proper location for images
AH! ty walt.. that clears it up entirely

Пожалуйста Войти или Регистрация, чтобы присоединиться к беседе.

Время создания страницы: 0.133 секунд
Работает на Kunena форум

We use cookies so that you can place orders and we can provide a better service. You can control the use of cookies at the individual browser level. If you reject cookies, you may still use our website, but your ability to use some features or areas of our website may be limited.