Take the 2-minute tour ×

In elgg 1.7.10, I have to use a absolute full path for all the images, how can i use the relative path for plugins in the mod folder?


share|improve this question
what kind of images are it that you need to show? Avatars, user uploaded, or images used in the CSS of your site? –  ddtpoison777 Feb 2 '12 at 10:06
add comment

2 Answers

Try elgg_get_plugins_path() . 'folderName/pages/add.php';

share|improve this answer
add comment

Just Use the "/mod/[pluginname]/[graphic_folder]/image.jpg"

Let me know if you were asking some thing else.


share|improve this answer
add comment

Your Answer


