I suppose you mean in the project description?
To add an image to the project overview, you need to use the Textile markup in the description field.
That is:
!URL_OF_THE_IMAGE!
If you want to use an image that is one of the files of the project, you need to get its download URL. To do that, open the file details page of said image and right-click on "Download", and select "Copy Link Location" (Firefox) or "Copy Shortcut" (Internet Explorer) or something like that and paste it between two exclamation marks.
On the other hand, if you want to change the background or something like that, you will have to do so through CSS.
I'm very new to php and Textile markup.
Where should I insert the url of the image?
I've tried to insert !http://www.example....jpg! in the project description, but it shows no image only the text: !http://www.example....jpg!.
Hi iCharlie,
I suppose you mean in the project description?
To add an image to the project overview, you need to use the Textile markup in the description field.
That is:
!URL_OF_THE_IMAGE!
If you want to use an image that is one of the files of the project, you need to get its download URL. To do that, open the file details page of said image and right-click on "Download", and select "Copy Link Location" (Firefox) or "Copy Shortcut" (Internet Explorer) or something like that and paste it between two exclamation marks.
On the other hand, if you want to change the background or something like that, you will have to do so through CSS.
Tim
Hi Tim,
I'm very new to php and Textile markup.
Where should I insert the url of the image?
I've tried to insert !http://www.example....jpg! in the project description, but it shows no image only the text: !http://www.example....jpg!.
Thanks.
Hi iCharlie,
yes, you're right. It worked on my laptop because I'm running the version from SVN, in which the project description supports textile markup.
If you don't feel like getting the SVN version but are ok with editing files, you can do the following:
in /application/helpers/textile.php, line 12, you should have:
<?phpreturn $textile->TextileThis($text, $lite, $encode, $noimage, $strict, $rel);
?>
On my installation, I have that instead:
<?phpreturn $textile->TextileRestricted($text, false, false);
?>
So you might want to try that. Make a backup of the file before editing it, just in case. Give it a try and don't worry, it won't break anything ;-)
Tim