Download and Gallery together
Posted: 02 Jun 2017, 12:59
Is there any way of integrating gallery and download so that they can see the same files.
For example I have some posters (in pdf and jpg hi-res format) which I want to be accessible through download so that I can control access and track usage. I also have preview images in lo-res sized to fit in the component area and thumbnails both for use in phoca download.
I would like to use gallery to show the preview images as well as having them available in the download listing, clicking on an image in gallery would take you to the download page for the hi-res file.
Unfortunately download can't see files (apart from thumbnails) outside the /phocadownload/ area and gallery cant see images outside the /images/phocagallery/ area. It would be really useful if both components could access files in each others area.
While we are about it I find it a pain that download thumbnails have to reside in /images/phocadownload/ - why can't they be in the /phocadownload/ area with their parent files.
In addition having to used the "_phocathmbnail" suffix makes for very cumbersome filenames. I prefer to use "th_" as a prefix. Why not make it configurable what to use and whether it is prefix or suffix and also the location for thumbnails (which could default to the same folder as the download file it refers to)
When adding a file currently I seem to have to do three separate uploads to different places - the main file, the preview, and the thumbnail - this is awkward.
The main issue though is wanting gallery to be able to access files in /phocoadownload/ and vice versa.
May be this is possible and I haven't found out how? Could I do it by creating a symlink to the download folder in the gallery folder I wonder?
RogerCO
For example I have some posters (in pdf and jpg hi-res format) which I want to be accessible through download so that I can control access and track usage. I also have preview images in lo-res sized to fit in the component area and thumbnails both for use in phoca download.
I would like to use gallery to show the preview images as well as having them available in the download listing, clicking on an image in gallery would take you to the download page for the hi-res file.
Unfortunately download can't see files (apart from thumbnails) outside the /phocadownload/ area and gallery cant see images outside the /images/phocagallery/ area. It would be really useful if both components could access files in each others area.
While we are about it I find it a pain that download thumbnails have to reside in /images/phocadownload/ - why can't they be in the /phocadownload/ area with their parent files.
In addition having to used the "_phocathmbnail" suffix makes for very cumbersome filenames. I prefer to use "th_" as a prefix. Why not make it configurable what to use and whether it is prefix or suffix and also the location for thumbnails (which could default to the same folder as the download file it refers to)
When adding a file currently I seem to have to do three separate uploads to different places - the main file, the preview, and the thumbnail - this is awkward.
The main issue though is wanting gallery to be able to access files in /phocoadownload/ and vice versa.
May be this is possible and I haven't found out how? Could I do it by creating a symlink to the download folder in the gallery folder I wonder?
RogerCO