No, it is the act of pooling images into a database that is the issue. According to the court including the copyleft licensed photos in the database creates value that the creators then have a claim on.
It is however from the ruling not clear exactly how the photos and metadata create value; for instance it seems clear like just hosting all the offending images on a separate service and naming them with guid:s will be perfectly fine so long as the user has to navigate and find the image themselves.
Ruling: http://www.hogstadomstolen.se/Domstolar/hogstadomstolen/Avgo...