How to change logo dynamically? How can i change the logo on a site, dynamically, with a URL field which doesn't point to an actual image but to a rendering of an image.
Is this possible?
I've tried this:

$thisimage = $logo_img_url. "&amp;file=" . $_SESSION[ 'logo_img' ] . "&amp;width=300&amp;height=80";
variable_set( 'logo', $thisimage );


but it's not working.

Any help would be appreciated.
Thanks
This should echo the path to the theme logo, which you could wrap in an  tag:

&lt;?php echo theme_get_setting('logo_path'); ?&gt;


If you want to re-size, crop, or modify the image you should do that in an image style. Once you have made an image style in Configuration > Media > Image Styles, you can echo the logo with that style like so:

&lt;?php echo image_style_url('my_style_name', theme_get_setting('logo_path')); ?&gt;