Lightbox/shadowbox image resize and zoomer?

Voice your opinions, concerns and suggestions on how to make the Transport Tycoon Forums better.

Moderator: General Forums Moderators

Post Reply
jimmydanny
Engineer
Engineer
Posts: 123
Joined: 26 Mar 2006 17:39
Location: jim-tore@oshaug.com

Lightbox/shadowbox image resize and zoomer?

Post by jimmydanny »

Since you guys are running phpBB, I know for a fact they exist for this type of forum, and aren't that hard to implement.

Just a thought, saw a linked image was shown full-size in my thread. Lightboxes work awesomely!
Intel Core i7-3930K @ 4,0GHz, 16GB DDR3, AMD Radeon HD 6970, Intel 530 SSD
User avatar
PikkaBird
Graphics Moderator
Graphics Moderator
Posts: 5602
Joined: 13 Sep 2004 13:21
Location: The Moon

Re: Lightbox/shadowbox image resize and zoomer?

Post by PikkaBird »

Might be nice. :)

In the meantime, I made your linked pic a bit smaller. ;)
jimmydanny
Engineer
Engineer
Posts: 123
Joined: 26 Mar 2006 17:39
Location: jim-tore@oshaug.com

Re: Lightbox/shadowbox image resize and zoomer?

Post by jimmydanny »

you'll get to love them soon enough Kamnet!
Intel Core i7-3930K @ 4,0GHz, 16GB DDR3, AMD Radeon HD 6970, Intel 530 SSD
User avatar
kamnet
Moderator
Moderator
Posts: 8582
Joined: 28 Sep 2009 17:15
Location: Eastern KY
Contact:

Re: Lightbox/shadowbox image resize and zoomer?

Post by kamnet »

I didn't love them when I tried them and discarded them on my own phpBB boards in 2006.
jimmydanny
Engineer
Engineer
Posts: 123
Joined: 26 Mar 2006 17:39
Location: jim-tore@oshaug.com

Re: Lightbox/shadowbox image resize and zoomer?

Post by jimmydanny »

9 years! They don't break the forum design, and they let you preview the image and see if it is anything interesting! It is handy. Another solution is to have auto-resize and click for full size.
Intel Core i7-3930K @ 4,0GHz, 16GB DDR3, AMD Radeon HD 6970, Intel 530 SSD
User avatar
Pyoro
Tycoon
Tycoon
Posts: 2558
Joined: 17 Oct 2008 12:17
Location: Virgo Supercluster

Re: Lightbox/shadowbox image resize and zoomer?

Post by Pyoro »

Auto-Resize is nice. But it's been suggested before ;) I agree that it'd be nice to get rid of the 800x600 limit, but whatever ... kinda used to it by now. ^^
User avatar
Chrill
Moderator
Moderator
Posts: 15979
Joined: 18 Dec 2004 17:35
Location: Stockholm, Sweden
Contact:

Re: Lightbox/shadowbox image resize and zoomer?

Post by Chrill »

I recall we had auto-resize but it was removed because it didn't just resize the photo but rather generated a new, big file size, version of it. Maybe I remember incorrectly.
Image
My Scenarios:
Archipiélago Hermoso (Latest Release: Version 3.2)
Turnpike Falls (Latest Release: Version 0.91)
jimmydanny
Engineer
Engineer
Posts: 123
Joined: 26 Mar 2006 17:39
Location: jim-tore@oshaug.com

Re: Lightbox/shadowbox image resize and zoomer?

Post by jimmydanny »

I know the lightbox uses the original image (I am mostly thinking towards [img] linked images) and just uses w= and h=, and a small nifty javascript to make it pop up in a fancy manner to the full sized image.

I could understand the issues if it was like you say, Chrill.
Intel Core i7-3930K @ 4,0GHz, 16GB DDR3, AMD Radeon HD 6970, Intel 530 SSD
User avatar
Pyoro
Tycoon
Tycoon
Posts: 2558
Joined: 17 Oct 2008 12:17
Location: Virgo Supercluster

Re: Lightbox/shadowbox image resize and zoomer?

Post by Pyoro »

Yes, but the fact that those scripts use the original image is apparently sort of the problem:
Pyoro wrote:
orudge wrote:If you mean a JavaScript-based resizer (if even that) that basically just does <img src="x" width="800" height="600" />, then that would still result in potentially multi-megabyte images having to be downloaded (potentially a problem on mobiles) and rendered (oh look, somebody just embedded a 10,000 x 10,000 pixel image and it's crashed your browser).
I do mean these, but you can still set a limit to image size and they can resize dynamically to your used screen resolution. So for example you could allow everything up to perhaps 1920x1080 and it'd get resized for anyone with smaller screens. As far as I'm aware it's also possible to exclude attachments from this. IMO it's especially nice for smart phone and notebook users, or those who browse windowed ;)

And I'm pretty sure there's currently no size limit set either, so anyone could theoretically link to a dozen oversized 32bit PNGs or whatever in a post currently, couldn't they? I'd guess a mod would remove these cases. Should they ever happen ;) What would change, except that things would be resized to always fit browser windows? If people want to annoy someone, they'll always find a way ^^

Well, anyways. I know I suggested this but I couldn't resist throwing this in again. I'm just too used to this feature everywhere ;)
User avatar
orudge
Administrator
Administrator
Posts: 25137
Joined: 26 Jan 2001 20:18
Skype: orudge
Location: Banchory, UK
Contact:

Re: Lightbox/shadowbox image resize and zoomer?

Post by orudge »

When we move to phpBB 3.1, I can look into this again perhaps. Don't want to add any more customisations to the forum until then, at the very least.
Post Reply

Return to “Forum Suggestions and Feedback”

Who is online

Users browsing this forum: No registered users and 8 guests