That’s fixed it!!! (I used your 1st suggestion to change the
model)
Many thanks for all your assistance.
Best wishes
Huw
From: Gilles VINCENT [mailto:gilles.vincent@gmail.com]
Sent: 24 February 2009 15:03
To: Huw Collingbourne
Cc: spip-en@rezo.net
Subject: Re: [Spip-en] My images aren’t displayed (Spip 2.04)
Maybe you have uploaded them with « add a document » instead of « add an image » (there was a difference in the old versions)
You can bypass this by changing the beginning of the
model :
copy prive/modeles/img.html into squelettes/modeles.
Replace
[(#SET{
image,
#MODE|match{'image|vignette'}
|sinon{#ENV{embed}}
|?{' '}
})]
by
[(#SET{
image,
#EXTENSION|match{'jpg|jpeg|png|gif'}
|?{' '}
})]
It should work.
Another straightforward modification is to simplify the model into this :
<span class='spip_document_#ID_DOCUMENT spip_documents[ spip_documents_(#ENV{align})][ (#ENV{class})] spip_lien_ok'[ style='float:(#ENV{align}|match{left|right});[ width:(#LARGEUR)px;]']>
[<a href="(#ENV{lien})"[ class="(#ENV{lien_class})"]>]<img src='#URL_DOCUMENT'[ width="(#LARGEUR)"][ height="(#HAUTEUR)"] alt="[(#TITRE|texte_backend)]"[ title="(#TITRE|texte_backend)"] />[(#ENV{lien}|?{</a>})]</span>
.Gilles
On Tue, Feb 24, 2009 at 3:26 PM, Huw Collingbourne <huw@darkneon.com> wrote:
No, they are mostly IMG. For example, here:
<img300|center>
{Above, Jing in action. The Jing editing environment (framed) lets you annotate screen captures and save them to disk or upload them. This screengrab of Jing was, incidentally, done using Jing itself!}
But in the article itself I see a thumbnail (in Spip 1.9.2 it was a full size image):
http://www.bitwisemag.com/2/Jing-Free-Screen-Capture-Tool
I have “Do not generate thumbnails.” selected.
I’ve just noticed that someone has reported a similar problem on the online French language forum: http://forum.spip.org/fr_212360.html
Best wishes
Huw
From: Gilles VINCENT [mailto:gilles.vincent@gmail.com]
Sent: 24 February 2009 14:17
To: Huw Collingbourne
Cc: spip-en@rezo.net
Subject: Re: [Spip-en] My images aren’t displayed (Spip 2.04)
Hi,
do you use ou in your article ?
creates a thumbnail with a link to the document (image or not)
If you used in a lot of articles, you can do a generic correction by modifying the model squelettes/modeles/doc.html
(if you never use for other elements than pictures, just copy the code that is by default inside prive/modeles/img.html)
my 2 cents,
.Gilles
On Tue, Feb 24, 2009 at 2:34 PM, Huw Collingbourne <huw@darkneon.com> wrote:
OK, I’m making progress on this but I still don’t fully understand what I need to do. I have now selected Configuration/Advanced Options/How to create thumbnails and picked gd2. Now I get thumbnail pictures in my articles but not the full size images as I used to in Spip 1.9.2. I don’t really want thumbnails at all – just the full size images but I can’t find a way of enabling this.
Best wishes
Huw
From: Huw Collingbourne
Sent: 24 February 2009 13:02
To: spip-en@rezo.net
Subject: [Spip-en] My images aren’t displayed (Spip 2.04)
Hello
I just upgraded from 1.9 to 2.04. All went smoothly apart from the fact that pictures are no longer displayed (just little icons) as here: http://www.bitwisemag.com/2/Camtasia-Studio-6-Review
Any idea what I need to do?
Best wishes
Huw Collingbourne
spip-en@rezo.net - http://listes.rezo.net/mailman/listinfo/spip-en
spip-en@rezo.net - http://listes.rezo.net/mailman/listinfo/spip-en