Mmh... right....
On Sep 12, 2011, at 6:52 PM, Jacques Distler wrote:
>
> On Sep 12, 2011, at 12:30 PM, José Bonnet wrote:
>
>>> ? Among the things which were updated (in 0.19.2, I believe), was the
>>> Textile filter (to RedCloth 4.x).
>> I did. But I've followed the path 0.19.1 -> 0.19.3.
>> Did I have to go through 0.19.2?
>
> No.
>
>>>> I've just upgraded from 0.19.1 (MBP with Lion, SQLite3) to o.19.3 and can
>>>> not see pictures that I used to with
>>>>
>>>> !imageURL!
>>>>
>>>> HTML seems to be generated correctly, I'v checked folders' permissions....
>
> Well, maybe we need to back up a step.
>
> There are two ways to include images in Instiki. One is to use the
> file-upload feature, with
>
> [[my_image.jpg:pic]]
>
> This (after the file has been successfully uploaded) will produce something
> like
>
> <img src='/my_web_name/files/my_image.jpg' />
Right. I've only recently started to use this new form, but have 'round 4 years
of pages with the other syntax. This works fine, and the generated HTML is like
<img alt='XYZ' src='/wiki/files/XYZ.jpg'/>
>
> The other is to use Textile (or, depending on the text-filter, Markdown)
> image links, of the form
>
> !http://someplace.com/my_image.jpg!
Right. I've always used this format, mostly with local files located in
/public/images. This stopped working, and the generated HTML is like
<img alt='' src='./images/XYZ.jpg'/>
for the XYZ.jpg file located in the /public/images folder and from a textile
like
!./images/XYZ.jpg!
After reading your e-mail, tested with
!/images/XYZ.jpg!
i.e., no dot before the slash, and... worked!!!!
So: was there a change 'round the !imageURL! command when local files are
involved?
>
> This MUST be a web-accessible URL (ie, when you open that URL in the browser,
> the image should load).
>
> Nothing, in that regard, has changed between 0.19.1 and 0.19.3.
>
> In upgrading, of course, one of the things you need to preserve is the
> contents of the /webs/ directory, which is where the files, uploaded using
> the file-upload feature, are actually stored.
>
> JD<PGP.sig>_______________________________________________
> Instiki-users mailing list
> [email protected]
> http://rubyforge.org/mailman/listinfo/instiki-users
Thanks a lot!
________________________________________________________________
José Bonnet
PT Inovação, S.A.
Sistemas de Suporte ao Negócio: Processos de Cliente e Automatização de Testes
_______________________________________________
Instiki-users mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/instiki-users