Skocz do zawartości
"Idzie nowe..." - o zmianach i nie tylko ×
Przeniesienie zakupów z IPS Marketplace / Moving bought items from IPS Marketplace ×

Rekomendowane odpowiedzi

Opublikowano

ips-gallery-enhancements.svg ips-gallery-enhancements.svg

This plugin contains various tweaks and adjustments I have made to the IP.Gallery application to make it more suitable for my own personal use.

After losing the original code for this plugin and having to reverse engineer the last build I made of it in order to apply a minor bugfix with the latest IPS release, I have decided to go ahead and open source my modifications here to submit as a general suggestion to IPS in regards to changes I'd like to see to the IP.Gallery platform.

What this plugin does

1. Changes the scaling of images in the gallery. I find the default gallery window way too small for most use cases. This plugin, by default, modifies the gallery window to utilize up to 65% of the browser window.

Here is a before and after demonstrating this:

Before Before

After After

16x9 aspect ratios can cleanly fill the entire box with this setup, while other images still are able to be viewed at much more reasonable resolutions.

2. Allows you to disable the gallery lightbox.

The gallery lightbox is neat. It's nice to have in certain areas of the site, like when clicking on a gallery image linked in a forum post.

It is not, however, nice to have literally everywhere you go in the gallery. It does not replace traditional gallery navigation for me, and based on the vast amount of user feedback I've seen, most members I've interacted with do not like this system either.

This is anecdotal, but shares my personal experience.

This plugin will let you disable having the lighbox open when you click on images in category and album overview pages. You will instead be directed to the normal image overview page.

3. (Or more 2.1), disables the gallery lightbox when loading an image link directly.

Why is the lightbox being forced here? It's redundant and not any more user friendly than just looking at the page that's already been loaded. It's just an annoyance. So I've disabled it.

4. View full image actually opens the full image.

This I consider more of a bug. The "view full image" link does not, as its name implies, open the full image. It opens the large, scaled down image in a new tab instead.

This plugin fixes it so that it links to the original image instead.

5. Adds a download button to the lightbox

After bashing the lightbox overuse so much, I decided to wrap up by adding something to it. This includes a simple tweak that adds a "download image" button to the lightbox.

View the full article

Jeśli chcesz dodać odpowiedź, zaloguj się lub zarejestruj nowe konto

Jedynie zarejestrowani użytkownicy mogą komentować zawartość tej strony.

Zarejestruj nowe konto

Załóż nowe konto. To bardzo proste!

Zarejestruj się

Zaloguj się

Posiadasz już konto? Zaloguj się poniżej.

Zaloguj się
  • Ostatnio przeglądający   0 użytkowników

    • Brak zarejestrowanych użytkowników przeglądających tę stronę.
×
×
  • Dodaj nową pozycję...

Powiadomienie o plikach cookie

Umieściliśmy na Twoim urządzeniu pliki cookie, aby pomóc Ci usprawnić przeglądanie strony. Możesz dostosować ustawienia plików cookie, w przeciwnym wypadku zakładamy, że wyrażasz na to zgodę.