[support] img_assist: troubles since last upgrade

Xavier Bestel xavier.bestel at free.fr
Tue Jul 10 14:12:57 UTC 2007


Hi,

I just upgraded a bunch of modules (notably image-5.x-1.3.tar.gz &
img_assist-5.x-1.4.tar.gz) and now all pictures previously inserted with
img_assist don't work anymore.

Here is something strange I saw while tweaking:

writing this:
[img_assist|nid=326|title=Paragliding French Open 2007|desc=Logo du French Open 2007|link=node|align=none|width=640|height=640]
outputs this:
<p><span class="inline none"><a href="/photo/paragliding-french-open-2007"></a><span class="caption" style="width: -2px;"><strong>Paragliding French Open 2007: </strong>Logo du French Open 2007</span></span></p>

while writing this:
[img_assist|nid=326|title=Paragliding French Open 2007|desc=Logo du French Open 2007|link=none|align=none|width=640|height=0]
outputs this:
<p><span class="inline none"><img src="http://parateam.com/system/files/images/froglogo_1000.thumbnail.gif" alt="Paragliding French Open 2007: Logo du French Open 2007" title="Paragliding French Open 2007: Logo du French Open 2007"  class="image thumbnail" width="100" height="100" /><span class="caption" style="width: -2px;"><strong>Paragliding French Open 2007: </strong>Logo du French Open 2007</span></span></p>

i.e. if I put "height=0" at least something is displayed.
Apparently there's something fishy with width/height computation.

I'm running drupal5.1 on php4.

If someone has a very very quick fix (I'm going for 3 weeks holidays far
away tonight, and would like to have my site back up and running before
that) I would be grateful.

Thanks in advance,

	Xav




PS: yes, I know the timing was very bad for an upgrade, but I hoped it
would fix other problems




More information about the support mailing list