owncloud/core — pull request #6000 by schiesbn (2013-11-22 11:28:06+00:00)
Title: use relative paths to create images from a file. 

This way it also works if no user is logged in (e.g. public gallery share)

Fix for #5994