if you like girls than Ibiza is great!
There is a bit of a gay population there but they don't go to the same clubs/bars as everyone else.
Mallorca is a bit quieter....but very nice as well.
August is the peak season in Ibiza - you can easily wait in line for an hour at 2am to catch a taxi to a club...i'd recommend going in July or Sept.