Here is short tutorial to help you get the correct link to an image in the gallery.
* Click on the layout (opens large size - see below):
* On the white taskbar is a small, white, square-shaped icon - click on it. ( see below):
1. In the browser slide the scroll bar down.
2. You'll see a window with the properties of the file.
* Select and copy link to an image. This is the correct link to layout in the gallery.
* You can also click on this link.
Then in the same window you open layout. Then you can copy the link directly from the browser window.