Page 1 of 1

Sharing unsupported (e.g. EPS) files in Phoca Gallery

Posted: 12 Aug 2013, 16:16
by Dani*
Hi there,

I'd like to share a number of images in Phoca Gallery, some of which aren't supported (e.g. EPS files). I found a way around it in this forum - by adding the file as an external link in the new image menu - but the problem I have then is that I have to specify a file name to be able to save the file. So when I view the page in the front end, I see a download link to both the file I specified (in the file name box) and an external link icon to the right file.

Is there any way to hide the download icon for specific files, or to hide it if there's also an external link available? Or maybe a better way to share unsupported files in the gallery?

Thanks heaps:)
Dani

Re: Sharing unsupported (e.g. EPS) files in Phoca Gallery

Posted: 12 Aug 2013, 19:59
by Jan
Hi, Phoca Gallery supports displaying of standards formats in browser: jpg, jpeg, png, gif. EPS is a vector format which cannot be displayed in browser, so it cannot be supported by server or GD library so there is no way to support it in Phoca Gallery.

You can use e.g. Phoca Download to download EPS - to make thumbnails, you need to export your EPS to some standard browser format (jpg, jpeg, png, gif)

To make some files having external link and some not, such needs to be customized directly in the php code :-( (some if clause which displays standard download icon in case of standard image or external download icon in case of vector image)

Jan