[Radiant] Adding images using textile
Mohit Sindhwani
tech at onghu.com
Wed Oct 24 22:55:18 CDT 2007
Maggie Patrick wrote:
> Jim Gay wrote:
>
>> Give either one a shot and find out, but it should be the full path
>> to the image starting with the public directory.
>>
>> So you can assume that (mywebsite) is the same as public
>>
>> (mywebsite)/path/to/image
>> is the same as:
>> public/path/to/image
>>
>
> thanks it worked - part of the problem was the photo file size after I
> took it into photoshop and reduced the size it appeared.
>
> Thanks for all your help.
>
I think you've already found your answer but I just want to add that you
can use relative paths (paths relative to public/ in the case of Radiant).
For example, I often use something like this for my images:
<div class="photo">
!>/images/pages/te_usb.jpg!
</div>
The div is what styles it, the '>' floats the div to the right and the
URL is, of course, right there! I upload my pictures to
[Radiant_Site]/public/images/pages
The result for this is at:
http://tec.onghu.com/articles/booting-the-t-engine-from-usb/
Cheers,
Mohit.
10/25/2007 | 11:54 AM.
More information about the Radiant
mailing list