This is what my views picture url which brings back error:
src='http://www.vivel.no/drupal/sites/default/files/styles/medium/public/cups...'

While this is the node picture url:
src='http://www.vivel.no/drupal/sites/default/files/cups03.jpg'

My problem is how to remove do i remove the extra "?itok=hxm70xo"4 behind the views URL automatically, instead of going in and changing each one manually?

I changed my .htaccess in order for the node url to be correct by doing this;

"
SetHandler Drupal_Security_Do_Not_Remove_See_SA_2006_006
Options None
Options +FollowSymLinks

just add "#" at starting of each line, like below

#SetHandler Drupal_Security_Do_Not_Remove_See_SA_2006_006
#Options None
#Options +FollowSymLinks
"

If you have any advice,
you also have my thanks.

Comments

ron_ron’s picture

subscribe, same problem

darrell_ulm’s picture

There appears to be a backport to D7 initiative here: https://drupal.org/node/1934498

jecs89’s picture

You can change this from jquery.

jQuery("#partners img").hover(function () {
            //mouseover
            img_src = jQuery(this).attr('src'); //grab original image
            new_src = img_src.substring(0, img_src.length - 4) + "_rollover.png"; //grab rollover image
            new_src = getNewSrc(img_src);
 
            jQuery(this).attr('src', new_src); //swap images
        },
        function () {
            //mouse out
            jQuery(this).attr('src', img_src); //swap images
        });