If you can post the content of the imgsizer plugin somewhere, like on
Pastie, then I can have a quick look at it next week some time. I
agree, that seems to be the culprit here.
The php.ini flag you have tried in a bunch of places is only going to
come into play if you are asking PHP to generate a querystring for you
using one of its native functions, like http_build_query(). If you see
that function being used anywhere, then you should be able to modify
the separator.
Most of the time, though, these sorts of things are done long-hand in
PHP, using something like this construction:
$vars = array('foo' => 'bar', 'baz' => 'blarg');
$work = array();
foreach($vars as $k => $v){
$work[] = $k . '=' . urlencode($v);
}
$qs = '?' . implode('&',$work);
Walter
On Dec 4, 2010, at 7:22 PM, atelier wrote:
Hi Walter
Thanks. The pages does load a bit slower already because of this
script, so I hesitate.
The HTML in my pages looks like this:
<a href="{path='site/medlem_bildsida'}{entry_id}"><img
src="{exp:imgsizer:size src="{image_url}" width="150"
justurl="yes"}" alt="{title}" /></a>
…!
and as I write this, a lightbulb lits…
oh no…
I use in that particulair place a plug-in called imgsizer, that one
calls the phpthumb files, and writes the unencoded ampersand in the
HTML How very stupid of me. Aargh…
I tried now first: to write
ini_set('arg_separator.output','&');
in the plugin, but that did not help.
The output is still:
<a href="http://www.kkv-b.se/images/uploads/bilder/5.jpg"
rel="lightbox" title="Spissgattern “Gullveig”"><img
src="/phpThumb_1.7.9/phpThumb.php?src=http://www.kkv-b.se/images/uploads/bilder/5.jpg&w=200&h=165.5&q=90&zc=1
" style="padding:4px" alt="" width="200" height="165.5"
title="Spissgattern “Gullveig”" align="" /></a>
which obviously does not validate.
Walter, If I send you that script (the plug-in, could you please
have a short look where the output is gathered? Maybe I can hack the
plug-in there…?
I do see a piece there that says:
/**
* Compile the image tag
*
*/
but I discover nowhere the separator tag (=the ampersand) is this
maybe standard PHP routine somewhere? Is it a server thingy? My 2
cents, not being a coder.
dynamo mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options
dynamo mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options