ok, I think I've got the problem. e107 code parsing. trying with the code above give an error for me too I put the all file to make it clear, but it wasn't the good idea
line 5 replace ' by &_#039; edit: without underscore $replace = array('&_#039;', $e107->base_path.$IMAGES_DIRECTORY, $e107->base_path.$FILES_DIRECTORY);
Sorry for the post. when i was typing the post you already post a new reply. Thank you so much. This is what a really needed. You should definitely put this in the .7.6 update.
Right I made the amendement above and here [-link-] if you look at the image of the red car it's resized down - right clicking and 'viewing image' gets the full size version but I think boedy wanted it so you could simply click the image and it would enlarge (yeah he wants it all!)
I know there is a bit of javascript out there [-link-] that will achieve this but it might be hard to intergrate as you have to give specific sizes which defeats the object
Thanks very much for the input so far marj
EDIT: boedy - it doesn't click and enlarge but 'right click' and 'view image' enlarges it