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.<http://www.ptinovacao.pt/> Sistemas de Suporte ao Neg?cio: Processos de Cliente e Automatiza??o de Testes
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: <http://rubyforge.org/pipermail/instiki-users/attachments/20110912/c592758d/attachment.bin>
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<PGP.sig>_______________________________________________ > 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
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'' /> 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: <http://rubyforge.org/pipermail/instiki-users/attachments/20110912/09d068dc/attachment.bin>
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 > Instiki-users at rubyforge.org > http://rubyforge.org/mailman/listinfo/instiki-usersThanks a lot! ________________________________________________________________ Jos? Bonnet PT Inova??o, S.A. Sistemas de Suporte ao Neg?cio: Processos de Cliente e Automatiza??o de Testes
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: <http://rubyforge.org/pipermail/instiki-users/attachments/20110912/6e42a644/attachment.bin>
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<PGP.sig>_______________________________________________ Instiki-users mailing list Instiki-users at rubyforge.org<mailto: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: <http://rubyforge.org/pipermail/instiki-users/attachments/20110912/4884b247/attachment-0002.tiff> -------------- next part -------------- A non-text attachment was scrubbed... Name: PastedGraphic-2.tiff Type: image/tiff Size: 119100 bytes Desc: PastedGraphic-2.tiff URL: <http://rubyforge.org/pipermail/instiki-users/attachments/20110912/4884b247/attachment-0003.tiff>