How to get property out of image object

because you have two array the second array is nested within the first

you must get the image url from the sizes array not from first array directly

$overlayImage = $tempLargeImage["sizes"]["thumbnail"];

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)