Find all files with the extension ".jpg" in the current directory and up to three levels of subdirectories, and change the permissions to 755 for all of them.
find ~ -maxdepth 3 -iname '*.jpg' -exec chmod 755 {} +