Adding images using textile

I am trying to add images to a web page using textile but the image is
not showing up. I put the image in my public folder/images

then I used the following link:

!http://(mywebsite)/photo.jpg!

Nothing happened - where did I go wrong??

Should I add the complete url??

HELP!!!

It should be:

!http://(mywebsite)/images/photo.jpg!

If its in your public/images folder.

==
Will G.

Will G. wrote:

It should be:

!http://(mywebsite)/images/photo.jpg!

If its in your public/images folder.

==
Will G.

Will Thanks for responding

yes it is in my public images folder

should I list ther entire string - ie

!http://(mywebsite)/work/public/images/photo.jpg!

or should it simply be:

!http://(mywebsite)/images/photo.jpg!

Thanks I am new at this!

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

Jim G. 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.

Maggie Patrick wrote:

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:

!>/images/pages/te_usb.jpg!

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.

The latter.

The public directory in a Rails app (which Radiant is) roughly maps to
http://(mywebsite)/ (of
course except for Rails routes, which are not actually part of the file
system, per se).

Will G.

Check out the Textile reference here: Textile Reference and
the sandbox here: http://textile.thresholdstate.com/

You can use any valid path between two exclamation points. So,
!../images/foo.jpg!
!/images/foo.jpg!
!http://www.example.com/images/foo.jpg!

will all work, as long as the path is correct.