new function for picture load
bugfix in picreset