Pages

Wednesday, December 2, 2015

Update, new gallery page is up, there you can find my pass photo albums + 2 new, Hatyai and Sydney albums. All images are hosted through Dropbox, so it should load faster now and without ad.

The new lightbox script that I use is called Magnific Popup, which created by Dmitry Semenov, it has a minimal interface, fast loading, and the lightbox is resize-able, mean it will update your content relatively on how you resize your browser window. It will also load the mobile-friendly version automatically based on the screen resolution you use, device with a smaller screen size, like a smartphone. Magnific Popup also can be use on videos, html contents and more.

I have customized the interface to further simplify it. Tested on Safari, Firefox, Internet Explorer and also Android. The table does look broken a little on my phone, but the lightbox itself was running fine..

- - - - - - - - - - - - - - - - - - - - - - - -

For people who is using Firefox on MacOS 10.7 ~ 10.10, the new fullscreen mode will leave the address bar and tab bar still on top of the screen, anyway, you can install Old Lion Fullscreen :: Extensions to revert Firefox's fullscreen mode back into how it used to work in 10.6.

- - - - - - - - - - - - - - - - - - - - - - - -

Heres how to directly link your files from Dropbox. First, we need to create a share link.

https://www.dropbox.com/s/6tiik25g8u4lq4y/sample.pdf?dl=0

The next step, remove ?dl=0 at the end, and replace www.dropbox.com with dl.dropboxusercontent.com, so it looks something like this.

https://dl.dropboxusercontent.com/s/6tiik25g8u4lq4y/sample.pdf

Done.

No comments: