Hi
Thanks for the info, I've just captured what we are sending to cause this routine to crash and the variables and their values are:
src = ...vhubl-a54be1def8bed4834ed3212e2683a959.jpg
Photo Width = 2048
Photo Height = 1366
height = 197
width = 295
textWrap = 0
imageAlign = left
spacingTop = 0
spacingLeft = 0
spacingRight = 0
spacingBottom = 8
This 'src' file is there (I've done a file_exists() prior to the call and will only work if it does! I've removed some of the url for security reasons!
Also, the variables above "Photo Width/Photo Height" are from the actual photo.
Any ideas if the addImage routine extracts any info from the image?
Cheers
Carl.