Download icon in detail view (slimbox)

Phoca Gallery - image gallery extension
TheBearded
Phoca Member
Phoca Member
Posts: 13
Joined: 07 Apr 2012, 13:11

Download icon in detail view (slimbox)

Post by TheBearded »

Hi,

instead of having a download icon in the category view under each thumbnail, I would like to have a download icon in the detail view (I am using slimbox, but in general this qould be needed for any of the lightbox / popup detail views).

Does anybody have an idea how I could solve this?

Thanks an best regards,
Ben
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49144
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Download icon in detail view (slimbox)

Post by Jan »

Hi, for this, the code needs to be customized - the same part of code which is used in category should be copied.

But if the images are displayed in popup window, it can be displayed:
- with help of iframe method - there the code can be added as iframe displays own page which you can manage per php
- with help of image method - then the code cannot be added to view but to the javascript of them popup method :idea:

Jan
If you find Phoca extensions useful, please support the project
vlada83
Phoca Member
Phoca Member
Posts: 29
Joined: 28 Jan 2016, 11:06

Re: Download icon in detail view (slimbox)

Post by vlada83 »

Hi, i use boxplus (images only ) layout - where i have to edit code for add download icon in detail view?
or is it possible to pay you for this set-up?
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49144
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Download icon in detail view (slimbox)

Post by Jan »

Hi, image only view means, the popup is made by javascript not by the html/php - so the download button needs to be customized directly in javascript of used popup window method - in this case of boxplus (I think, the best way is to load the download button in category view, this is done in Phoca Gallery and somehow take it with help of javascript and display in the popup - but this needs to make customization directly in boxplus javascript :idea: )

Jan
If you find Phoca extensions useful, please support the project
Post Reply