commented out the alert messages

emoved most of the alerts
Category pending alert added when selected category is pending
Added the logic to display the images inside the div with height and width attributes

The hieght and width wil not be sent to the server
added the same logic from pendingpa.js to editpa.js and changed the title of the page in publishpa2.html