I've tried tens and tens of solutions and nothings worked (including trying the resolved thread here).
Could someone please tell me how i can grab the image title or alt tag rather than the post title? I've gone through codex, tried an array and looping through it but nothings worked.
Could you please, please, please tell me how to grab the image title or alt rather than the post title. If it's like the resolved thread here just pasting your php code would be FANTASTIC.