Awesome q2a theme

How to create a link to an image in OwnCloud?

0 like 0 dislike
33 views
Recently I downloaded and installed it on the hosting cloud OwnCloud 6 in order to fill in for him pictures and then using them on another website. However, when I do public access for the image and copying on it the link, they are not the picture itself, and the page with her. Downstairs offers a direct link to download the .../owncloud/public.php?service=files&t=xxxxxxxxxxxxxxxxxxxxxxxxxxxxx&download, but the update file is downloaded immediately, while I need to have the image open in the browser (as is the case with the logo of Google).

Thanks in advance.
by | 33 views

2 Answers

0 like 0 dislike
Fortunately, I was able to find the answer. If the page with the image to investigate picture element, it is possible to see a link like:
.../owncloud/index.php/apps/files_sharing/ajax/publicpreview.php?x=123&y=123&a=true&file=undefinedmiramarmap.jpg&t=0c0d876ff5edcc9dab0af86efdf50170&scalingup=0

So, this is the link where you can open the image in the browser. The main thing, right ask get the x and y parameters (they can be changed depending on what resolution you need). Option scalingup can be completely removed
by
0 like 0 dislike
Try to remove from the link &download and go through it.
UPD: If you just want to insert pictures that are on the idea to move is not necessary, you can use the link &downloadthat will work.
by

Related questions

0 like 0 dislike
3 answers
0 like 0 dislike
2 answers
0 like 0 dislike
1 answer
asked Apr 1, 2019 by krylovlf
0 like 0 dislike
2 answers
110,608 questions
257,187 answers
0 comments
40,796 users