Hate to be a pain in the butt...but another issue was created after the fix.
Thank you for resolving the viewing issue I was having. After the fix I noticed on the admin side is now not allowing me to make any changes on the manage images tab. It does not allow me to change or update the name or add a description.
If you could, please look into this matter too?
I tried this with no luck:
I replaced my code back to the original