News:

Dear forum visitors, if the support forum is not available, please try again a few minutes later. Thanks!

Main Menu
Support-Forum

Navigation photos on Layout (Downloads) as Next and Previous?

Started by ibrahim, 21.01.2022 17:41:34

Previous topic - Next topic

0 Members and 2 Guests are viewing this topic.

ibrahim

Hello, How to have navigation photos on Layout (Downloads) as Next and Previous. Same as (Download Details) layout there is navigation for photos but not on Layouts: Downloads.
See attached screenshot GIF

Example of using screenshots on Download Details Layout:
<div class="jd_download_detail_pics" style="width: 200px;">{screenshot_begin} <a href="{screenshot}" rel="lightbox"><img class="jd_download_detail_img" src="{thumbnail}" alt="" /></a>{screenshot_end}</div>
<div class="jd_download_detail_pics" style="width: 200px;">{screenshot_begin2} <a href="{screenshot2}" rel="lightbox"><img class="jd_download_detail_img" src="{thumbnail2}" alt="" align="right" /></a>{screenshot_end2}</div>
<div class="jd_download_detail_pics" style="width: 200px;">{screenshot_begin3} <a href="{screenshot3}" rel="lightbox"><img class="jd_download_detail_img" src="{thumbnail3}" alt="" align="right" /></a>{screenshot_end3}</div>
<div class="jd_download_detail_pics" style="width: 200px;">{screenshot_begin4} <a href="{screenshot4}" rel="lightbox"><img class="jd_download_detail_img" src="{thumbnail4}" alt="" align="right" /></a>{screenshot_end4}</div>
<div class="jd_download_detail_pics" style="width: 200px;">{screenshot_begin5} <a href="{screenshot5}" rel="lightbox"><img class="jd_download_detail_img" src="{thumbnail5}" alt="" align="right" /></a>{screenshot_end5}</div>


Example of using screenshots on Downloads Layout (front Page):
<div class="jd_clear jd_image_right">{screenshot_begin} <a href="{screenshot}" rel="lightbox"><img src="{thumbnail}" alt="" /></a>{screenshot_end}</div>

I don't use modules, am using content as <div>{jd_file updated==99}</div>


I really appreciate any help! Thanks
  •  

ColinM

Hi
Not sure I quite understand!  But I think what you are asking is that when you have multiple images in a Download you like to see them one at a time wth a 'next, and 'previous' arror as appropriate.

Is that correct/
Colin
Colin M
  •  

ibrahim

Hi Colin! Yes, it's correct this is missed on the Downloads layout and it's working on (Download Details).
So what do I need to change or add on downloads layout that have following code:
<div class="jd_clear jd_image_right">{screenshot_begin} <a href="{screenshot}" rel="lightbox"><img src="{thumbnail}" alt="" />[/url]{screenshot_end}</div>
  •  

ColinM

Ibrahim,
Presently I am using an XAMPP test site.    Have a Download file with three pics.
As you said in the Dowload view only one pic is shown. The Detail View, see attached, shows 3 separate pics.

But somewhere in the past I now have a faint recollction that one can have a view with 'arrows' to step through the pics.

it must be some extra utility in PHP. Have noticed that  ImageMagick PHP Module 'Imagick' is missing and might be the cause but probably not as Imagick is used to create an image and a thumbnail from a pdf file.

I will check on another site.
Colin
Colin M
  •  

ibrahim

Hello ColinM! On my server, the ImageMagick is active, and am not using a pdf it is just imaged as png, gif and jpg. See attached screenshot of ImageMagick
Thanks for your time and hope you figure this out.
  •  

ColinM

Ibrahim,
I have tried on another server which did have Imagick enabled. But got same result.  So not that.
Could you send me a pic of your Download Detail page that is showing the arrows please.  The one with the images in a gif is not the one.
Colin M
  •  

ibrahim

  •