From jbonnet at ptinovacao.pt Mon Sep 12 12:35:42 2011
From: jbonnet at ptinovacao.pt (=?iso-8859-1?Q?Jos=E9_Bonnet?=)
Date: Mon, 12 Sep 2011 17:35:42 +0100
Subject: [Instiki] trouble with !imageURL! in 0.19.3?
Message-ID: <18A0702A-D98E-47A5-8588-6417A3678CFF@ptinovacao.pt>
Hi!
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....
Any help?
Thanks
________________________________________________________________
Jos? Bonnet
PT Inova??o, S.A.
Sistemas de Suporte ao Neg?cio: Processos de Cliente e Automatiza??o de Testes
From distler at golem.ph.utexas.edu Mon Sep 12 12:56:21 2011
From: distler at golem.ph.utexas.edu (Jacques Distler)
Date: Mon, 12 Sep 2011 11:56:21 -0500
Subject: [Instiki] trouble with !imageURL! in 0.19.3?
In-Reply-To: <18A0702A-D98E-47A5-8588-6417A3678CFF@ptinovacao.pt>
References: <18A0702A-D98E-47A5-8588-6417A3678CFF@ptinovacao.pt>
Message-ID:
On Sep 12, 2011, at 11:35 AM, Jos? Bonnet wrote:
> 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....
You didn't mention which text filter you were using, but based on your question, I assume it's the Textile filter. Correct?
Did you follow the upgrade instructions and run
ruby bundle update
? Among the things which were updated (in 0.19.2, I believe), was the Textile filter (to RedCloth 4.x).
JD
-------------- next part --------------
A non-text attachment was scrubbed...
Name: PGP.sig
Type: application/pgp-signature
Size: 254 bytes
Desc: This is a digitally signed message part
URL:
From jbonnet at ptinovacao.pt Mon Sep 12 13:30:08 2011
From: jbonnet at ptinovacao.pt (=?iso-8859-1?Q?Jos=E9_Bonnet?=)
Date: Mon, 12 Sep 2011 18:30:08 +0100
Subject: [Instiki] trouble with !imageURL! in 0.19.3?
In-Reply-To:
References: <18A0702A-D98E-47A5-8588-6417A3678CFF@ptinovacao.pt>
Message-ID: <18A66094-3CFD-49DC-B770-F17B10F84383@ptinovacao.pt>
Hi again!
On Sep 12, 2011, at 5:56 PM, Jacques Distler wrote:
>
> On Sep 12, 2011, at 11:35 AM, Jos? Bonnet wrote:
>
>> 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....
>
> You didn't mention which text filter you were using, but based on your question, I assume it's the Textile filter. Correct?
Correct!
>
> Did you follow the upgrade instructions and run
>
> ruby bundle update
>
>
> ? 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?
>
> JD_______________________________________________
> Instiki-users mailing list
> Instiki-users at rubyforge.org
> http://rubyforge.org/mailman/listinfo/instiki-users
________________________________________________________________
Jos? Bonnet
PT Inova??o, S.A.
Sistemas de Suporte ao Neg?cio: Processos de Cliente e Automatiza??o de Testes
From distler at golem.ph.utexas.edu Mon Sep 12 13:52:16 2011
From: distler at golem.ph.utexas.edu (Jacques Distler)
Date: Mon, 12 Sep 2011 12:52:16 -0500
Subject: [Instiki] trouble with !imageURL! in 0.19.3?
In-Reply-To: <18A66094-3CFD-49DC-B770-F17B10F84383@ptinovacao.pt>
References: <18A0702A-D98E-47A5-8588-6417A3678CFF@ptinovacao.pt>
<18A66094-3CFD-49DC-B770-F17B10F84383@ptinovacao.pt>
Message-ID: <2055BE1E-B099-4E2C-B2D0-1A876207094C@golem.ph.utexas.edu>
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
The other is to use Textile (or, depending on the text-filter, Markdown) image links, of the form
!http://someplace.com/my_image.jpg!
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: PGP.sig
Type: application/pgp-signature
Size: 254 bytes
Desc: This is a digitally signed message part
URL:
From jbonnet at ptinovacao.pt Mon Sep 12 14:14:11 2011
From: jbonnet at ptinovacao.pt (=?iso-8859-1?Q?Jos=E9_Bonnet?=)
Date: Mon, 12 Sep 2011 19:14:11 +0100
Subject: [Instiki] trouble with !imageURL! in 0.19.3?
In-Reply-To: <2055BE1E-B099-4E2C-B2D0-1A876207094C@golem.ph.utexas.edu>
References: <18A0702A-D98E-47A5-8588-6417A3678CFF@ptinovacao.pt>
<18A66094-3CFD-49DC-B770-F17B10F84383@ptinovacao.pt>
<2055BE1E-B099-4E2C-B2D0-1A876207094C@golem.ph.utexas.edu>
Message-ID: <045B952D-132A-4B50-A57F-1ED6C09CCFBF@ptinovacao.pt>
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
>
>
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
>
> 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
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_______________________________________________
> Instiki-users mailing list
> Instiki-users at rubyforge.org
> 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
From distler at golem.ph.utexas.edu Mon Sep 12 14:28:37 2011
From: distler at golem.ph.utexas.edu (Jacques Distler)
Date: Mon, 12 Sep 2011 13:28:37 -0500
Subject: [Instiki] trouble with !imageURL! in 0.19.3?
In-Reply-To: <045B952D-132A-4B50-A57F-1ED6C09CCFBF@ptinovacao.pt>
References: <18A0702A-D98E-47A5-8588-6417A3678CFF@ptinovacao.pt>
<18A66094-3CFD-49DC-B770-F17B10F84383@ptinovacao.pt>
<2055BE1E-B099-4E2C-B2D0-1A876207094C@golem.ph.utexas.edu>
<045B952D-132A-4B50-A57F-1ED6C09CCFBF@ptinovacao.pt>
Message-ID: <197D5FDB-3A66-4820-9743-8621E02C3D85@golem.ph.utexas.edu>
On Sep 12, 2011, at 1:14 PM, Jos? Bonnet wrote:
> After reading your e-mail, tested with
>
> !/images/XYZ.jpg!
>
> i.e., no dot before the slash, and... worked!!!!
Correct.
> So: was there a change 'round the !imageURL! command when local files are involved?
No.
I'm surprised that the URL, with the "." prepended, ever worked.
JD
-------------- next part --------------
A non-text attachment was scrubbed...
Name: PGP.sig
Type: application/pgp-signature
Size: 254 bytes
Desc: This is a digitally signed message part
URL:
From jbonnet at ptinovacao.pt Mon Sep 12 14:35:13 2011
From: jbonnet at ptinovacao.pt (=?iso-8859-1?Q?Jos=E9_Bonnet?=)
Date: Mon, 12 Sep 2011 19:35:13 +0100
Subject: [Instiki] trouble with !imageURL! in 0.19.3?
In-Reply-To: <197D5FDB-3A66-4820-9743-8621E02C3D85@golem.ph.utexas.edu>
References: <18A0702A-D98E-47A5-8588-6417A3678CFF@ptinovacao.pt>
<18A66094-3CFD-49DC-B770-F17B10F84383@ptinovacao.pt>
<2055BE1E-B099-4E2C-B2D0-1A876207094C@golem.ph.utexas.edu>
<045B952D-132A-4B50-A57F-1ED6C09CCFBF@ptinovacao.pt>
<197D5FDB-3A66-4820-9743-8621E02C3D85@golem.ph.utexas.edu>
Message-ID:
Yeah... But I've just brought up again my 0.19.1 installation and checked (files attached)...
I'll have to write some scripts to go over my old pages, then....
Cheers
________________________________________________________________
Jos? Bonnet
PT Inova??o, S.A.
Sistemas de Suporte ao Neg?cio: Processos de Cliente e Automatiza??o de Testes
[cid:34653CE6-F026-45FE-B2A3-21D789790DD5 at ptin.CorpPT.com]
[cid:EC9EC427-1C77-4FD1-B7FD-2A033142DA05 at ptin.CorpPT.com]
On Sep 12, 2011, at 7:28 PM, Jacques Distler wrote:
On Sep 12, 2011, at 1:14 PM, Jos? Bonnet wrote:
After reading your e-mail, tested with
!/images/XYZ.jpg!
i.e., no dot before the slash, and... worked!!!!
Correct.
So: was there a change 'round the !imageURL! command when local files are involved?
No.
I'm surprised that the URL, with the "." prepended, ever worked.
JD_______________________________________________
Instiki-users mailing list
Instiki-users at rubyforge.org
http://rubyforge.org/mailman/listinfo/instiki-users
-------------- next part --------------
A non-text attachment was scrubbed...
Name: PastedGraphic-1.tiff
Type: image/tiff
Size: 28110 bytes
Desc: PastedGraphic-1.tiff
URL:
-------------- next part --------------
A non-text attachment was scrubbed...
Name: PastedGraphic-2.tiff
Type: image/tiff
Size: 119100 bytes
Desc: PastedGraphic-2.tiff
URL: