I have the following Jumi code in Joomla 1.5
Now I want to refer the image location from my media files /home/content/49/6333949/html/images/posters
which is Media/images/posters
.
Are there any PHP variables to get this full path without hardcoding it?
If you want to get the root path of a joomla website, You can use the following stuff :
"JURI::base()" : is a methode for get the HTTP path of you project;
"JPATH_BASE" : is a constant to get the real path of you project;