Fix error with media functions.
Fix page thumb