Pictures that are sent via the messaging application are sent as MMS files, which requires mobile data not WiFi. I'm not sure if you were using another application for your Note 2, but there are services which allow you to send/receive text messages using non-mobile network connections. However, this usually requires you to use another messaging services.