My two cents is she shouldn't have been rude to you as you obviously meant to spend money at her store. Sorry this was the case. Someone had mentioned keeping your phone in your pocket but honestly I've never taken a picture of fabric to later buy online. My phone doesn't have the little app you can scan the barcode either. But I do use my phone's calculator in fabric shops to figure how much something might cost in the amount I need. Or how much something is going to be if it has a discount. I use it in any store for that type of thing.
As far the LQS owners that have people rude enough to come in, take a picture and leave. Perhaps a sign at the front of the store stating that this is not allowed would help or even some humor. "There will be a one dollar for each photo you would like to take in our store." Or actually charge these people