Zend certified PHP/Magento developer

Image Intrinsic Size Is Different Comparing With Local And Production

i have two product pages whose images are different in sizes when they are rendered , even though i have used the media backup from production in local and and all code base are same without any changes , and i have also ran the command – bin/magento catalog:image:resize , still no difference , the size in production is 500 x 300 for all images in PDP in gallery (intrinsic size) , whereas in local it is 2000 x 2000 for all (same as in prod), the only difference is in local i’m in developer mode , will that affect anything ? And yes i even tried switching to production and even stores->configruation are same as prod.