Apologies, but what you wrote doesn't make much sense, however, let me see if I can understand. Could it be that the device is not staying turned on very long and you want to get your images out of the gallery? If that is the case, it may well either need a new battery, or a new charger. I would look at that first. As, if you can't get it to stay turned on, and the photos, etc., are in the phones "Internal" storage, you can't get them off of it then. So first you must get it to stay turned on.
NOTE: If the device is still under warranty, then contact the manufacturer about a repair.