LycheeOrg / Lychee

A great looking and easy-to-use photo-management-system you can run on your server, to manage and share photos.
https://lycheeorg.github.io/
MIT License
3.29k stars 293 forks source link

Mobile browser - cannot pan a zoomed photo #918

Open miahi opened 3 years ago

miahi commented 3 years ago

Detailed description of the problem [REQUIRED]

Browsing on mobile allows zooming on a photo page, but that zoomed photo cannot be panned and the onclick event is triggered (upper menu disappears).

Steps to reproduce the issue

Steps to reproduce the behavior:

  1. Android browser (Firefox/Chrome/Samsung Internet), access a photo
  2. Pinch to zoom (max zoom)
  3. Try to slide to pan
  4. The photo will zoom in and out a bit for each pan trial, as the upper menu is shown or hidden (off screen), but it will not pan

Output of the diagnostics [REQUIRED]

Diagnostics

Warning: Dropbox import not working. dropbox_key is empty.

System Information

Lychee Version (release): 4.2.1 DB Version: 4.2.1

composer install: --no-dev APP_ENV: production APP_DEBUG: false

System: Linux PHP Version: 7.4 Max uploaded file size: 500M Max post size: 500M MySQL Version: 10.3.27-MariaDB

Imagick: 1 Imagick Active: 1 Imagick Version: 1802 GD Version: 2.2.5

Config Information

version: 040201 check_for_updates: 0 sorting_Photos_col: takestamp sorting_Photos_order: ASC sorting_Albums_col: max_takestamp sorting_Albums_order: ASC imagick: 1 skip_duplicates: 1 small_max_width: 0 small_max_height: 360 medium_max_width: 1920 medium_max_height: 1080 lang: en layout: 1 image_overlay: 1 image_overlay_type: desc default_license: reserved compression_quality: 90 full_photo: 1 delete_imported: 0 Mod_Frame: 1 Mod_Frame_refresh: 30 thumb_2x: 1 small_2x: 1 medium_2x: 1 landing_page_enable: 0 landing_owner: miahi landing_title: miahi landing_subtitle:
landing_facebook:
landing_flickr:
landing_twitter:
landing_instagram:
landing_youtube:
landing_background:
site_title: miahi's photos v2 site_copyright_enable: 1 site_copyright_begin: 2007 site_copyright_end: 2021 additional_footer_text:
display_social_in_gallery: 0 public_search: 0 SL_enable: 0 SL_for_admin: 0 public_recent: 0 recent_age: 1 public_starred: 0 downloadable: 0 photos_wraparound: 1 map_display: 1 zip64: 1 map_display_public: 1 map_provider: Wikimedia force_32bit_ids: 0 map_include_subalbums: 1 update_check_every_days: 3 has_exiftool: 0 share_button_visible: 0 import_via_symlink: 0 has_ffmpeg: 0 location_decoding: 1 location_decoding_timeout: 30 location_show: 1 location_show_public: 1 rss_enable: 0 rss_recent_days: 7 rss_max_items: 100 prefer_available_xmp_metadata: 0 editor_enabled: 1 lossless_optimization: 0 swipe_tolerance_x: 150 swipe_tolerance_y: 250 local_takestamp_video_formats: .avi|.mov log_max_num_line: 1000 unlock_password_photos_with_url_param: 0 nsfw_visible: 1 nsfw_blur: 0 nsfw_warning: 0 nsfw_warning_admin: 0

Browser and system

Android/Firefox browser

Janhouse commented 1 year ago

Any comments on this? Most people use their mobile phones to interact with web these days. Sadly Lychee photo viewer is not optimized for mobile browsers.

ildyria commented 1 year ago

We are a very small team and developping on free time. I do agree that adding such feature would be great, unfortunately it is not a priority too. For now the best I can is put it as "Project for volunteer".