Singing and display .jpg

1 view
Skip to first unread message

Frédéric Marin

unread,
Jan 31, 2012, 5:06:12 AM1/31/12
to singing...@googlegroups.com
Hello I installed singing 0.9.9 on a plone 4.1, and singing works well,
except the display of .jpg inserted into the collector's

I added the clause " zope-conf-additionnal " in my "base.cfg", and I
receive indeed an email with the good links associated with the good
news.

The addresses of .jpg are not interpreted : I find < img src = ".. /
images / blank.png " > on the place of the initial address inserted well
into the initial collector's block, like <p><img
src="../imag/imag.jpg" /></p> ...

what happens, and do you have a good idea ?

thanks for your reply

Fred


Daniel Nouri

unread,
Feb 6, 2012, 9:17:23 AM2/6/12
to singing...@googlegroups.com, Frédéric Marin

I'm not entirely sure but this sounds like it might be an issue with
the URL transformer in 'collective.dancing.transform.URL'. That's the
component responsible for rewriting URLs to be absolute. Maybe using
the debugger inside the 'URL.__call__' method will tell you why this
isn't working for your images.


--
http://danielnouri.org

Daniel Nouri

unread,
Feb 17, 2012, 8:34:25 AM2/17/12
to Frédéric Marin, singing...@googlegroups.com
On Fri, Feb 17, 2012 at 2:18 PM, Frédéric Marin <frederi...@alfeo.fr> wrote:
> hello
> I also had a problem of translation of address which I wanted to resolve
> to eliminate a cause...
>
> I am not developer, just user a little administrator : how have I to use
> the debugger (inside the ' URL. __ call __ ' method) ? because the
> problem persist

I'm afraid that if you don't know Python, using the debugger isn't an
option. I'm wondering if anyone else has seen this. You might be
able to work around your problem by using absolute URLs (or Plone's
resolveUID) for your images.

> i have another problem of translation : the url are well transformed by
> the use of 'send to preview", but are not by the use of "send as
> newsletter" (in this laast case, the name of the site is not
> inserted ...)

The name of the site? A problem of translation? I don't understand.
Could you give an example?


--
http://danielnouri.org

Daniel Nouri

unread,
Feb 17, 2012, 11:42:08 AM2/17/12
to frederi...@alfeo.fr, singing...@googlegroups.com
On Fri, Feb 17, 2012 at 5:20 PM, <frederi...@alfeo.fr> wrote:
> hi,
>
> here my base.cfg
>
>      method
> /VirtualHostBase/http/79.174.194.90:80/lettres/VirtualHostRoot/@@dancing.utils/tick_and_dispatch
>
> and my vhost
>
>        ProxyPass /lettres
> http://myInternalUrl/VirtualHostBase/http/79.174.194.90:80/lettres
>        ProxyPassReverse /lettres
> http://myInternalUrl/VirtualHostBase/http/79.174.194.90:80/lettres

Maybe you're not accessing the page through your virtual host, but by
the IP, when you click 'send preview'? The 'send preview' should
generate URLs as they appear on the site you're looking at. So when
if your home link is

http://79.174.194.90/lettres/

then that's what it's gonna use in the email. Important to access the
page through the same URL which you want to use when sending out with
'send preview'.

Daniel

Reply all
Reply to author
Forward
0 new messages