Just look at the difference in the colour of these two images.
Yet it’s the same photo shown.
Conclusion: it’s not a case of having to create photos for print and online but rather having to create specific versions of photos for specific online sites!