Images in a modal window

https://www.phpbb.com/ideas/
Post Reply
Author:
bacon tacon
Posted:
Sat Jan 11, 2020 2:04 pm
Rating:
Status:
New
User avatar
bacon tacon
Registered User
Posts: 252
Joined: Sun Oct 27, 2002 8:17 pm
Contact:

Images in a modal window

Post by bacon tacon »

Although this feature has been implemented as an extension (Lightbox and Fancybox), I think there is a good argument for adding it to the core.

Nowadays when you click on an image on a page to view a larger version, you expect it to appear in a modal, not to go to the address of the larger image. That requires users to realize they have left the page they were on and must navigate back to it. Modal image display appears to be the standard and most convenient solution.

Extensions often fail to keep up with the latest phpBB versions, and are frequently abandoned (as Fancybox appears to be).

I'm more or less repeating what I added a few days ago to another member's topic titled why no modal for image attachments?. I was admonished for 'bumping' the old topic, which was then deleted, so hopefully this is the appropriate place to re-raise it.

User avatar
3Di
Former Team Member
Posts: 14695
Joined: Mon Apr 04, 2005 11:09 pm
Location: Milan (IT) Frankfurt (DE)
Name: Marco
Contact:

Re: Images in a modal window

Post by 3Di »

Something like this?
https://oberon.phpbbstudio.com/viewtopic.php?f=4&t=7
or
https://oberon.phpbbstudio.com/viewtopic.php?p=13#p13

Click on the Eye icon.


2020-01-11 15_11_33-Test attachments - phpBB Studio - Oberon 3.3.x.png
2020-01-11 15_11_33-Test attachments - phpBB Studio - Oberon 3.3.x.png (17.01 KiB) Viewed 223 times
Please PM me only to request paid works. Thx.
Want to compensate me for my interest? Donate
My development's activity º PhpStorm's proud user
Extensions, Scripts, MOD porting, Update/Upgrades
:studio_microphone: Premium extensions @ The Studio

User avatar
bacon tacon
Registered User
Posts: 252
Joined: Sun Oct 27, 2002 8:17 pm
Contact:

Re: Images in a modal window

Post by bacon tacon »

Yes, or something like Lightbox (which is currently being updated to catch up with phpBB 3.3.0), but baked in.

User avatar
3Di
Former Team Member
Posts: 14695
Joined: Mon Apr 04, 2005 11:09 pm
Location: Milan (IT) Frankfurt (DE)
Name: Marco
Contact:

Re: Images in a modal window

Post by 3Di »

The above is a modal, not so much of bloating software to put into the core then. a bunch of JQuery lines.
Please PM me only to request paid works. Thx.
Want to compensate me for my interest? Donate
My development's activity º PhpStorm's proud user
Extensions, Scripts, MOD porting, Update/Upgrades
:studio_microphone: Premium extensions @ The Studio

User avatar
bacon tacon
Registered User
Posts: 252
Joined: Sun Oct 27, 2002 8:17 pm
Contact:

Re: Images in a modal window

Post by bacon tacon »

OK. Your example requires the user to find and click the little eye icon to enlarge the image. Personally I find it quicker, easier and more intuitive to click the image itself for enlargement.

Post Reply

Return to “phpBB Ideas”