Add Galleries to the site
-
Matias Korhonen
Can we shorten the dev time by using code from Gullery?
-
Matias Korhonen
- Milestone changed from 0.5 to 0.2 (Alpha 2)
-
Matias Korhonen
We have to make sure that whatever JS library we use for the gallery that it also functions when JS is disabled.
Both piroBox and LightBox function even with JS disabled (though of course all the fancy effects are lost)
As for size, piroBox is definitely the smaller of the two; at just 85KiB total (all the JS libraries it uses) it is about two times smaller than LightBox.
Of course the ideal solution would be to find a way of using just Scriptaculous and Prototype to achieve the same effect.
-
Matias Korhonen
Here's another option: Lightview http://www.nickstakenburg.com/pr...
Lightview only requires Prototype and Scriptaculous.
Another candidate would be the JQuery based ThickBox: http://jquery.com/demo/thickbox/
I can't seem to find any specific rails solutions for this, out side of RedBox (http://www.craigambrose.com/proj..., which doesn't degrade well.
-
Matias Korhonen
It seems that I should read things with more care: Lightbox also only needs just Scriptaculous and Prototype, in addition to lightbox.js.
Maybe we should go with lightbox? Lightbox.js is only about 18kb, not a whole lot more (especially when you remember that you will also be loading pictures)
-
Joao Carlos
- Milestone changed from 0.2 (Alpha 2) to 0.5
-
Joao Carlos
- Assigned user set to Joao Carlos
-
Joao Carlos
- State changed from new to open
(from [00f4a4f77f41d4cffcdd1ebeef183713dcb9a194]) Created the Gallery model. [#42 Add Galleries to the site state:open] http://github.com/jcxplorer/hhlc...
-
Joao Carlos
(from [1604e37cde8862692a82bd7ab6d495c0cb564af5]) Created Admin::GalleriesController. [#42 Add Galleries to the site] http://github.com/jcxplorer/hhlc...
-
Joao Carlos
(from [b8ed5c3c48d7214e088fd7aee9388d9eee27d1ce]) Skip google analytics and use the admin layout. [#42 Add Galleries to the site] http://github.com/jcxplorer/hhlc...
-
Joao Carlos
(from [611ac044b869d4e7926593e0086cefb500ae0c78]) Added galleries link in the administration. [#42 Add Galleries to the site] http://github.com/jcxplorer/hhlc...
-
Joao Carlos
(from [d8ffb1b473db0734d48b3f3351dd57fbd55d3b3f]) Removed unnecessary files. [#42 Add Galleries to the site] http://github.com/jcxplorer/hhlc...
-
Joao Carlos
(from [10780d98e33a75b3958ec3f13cd69e808706170d]) Added validations to Gallery. [#42 Add Galleries to the site] http://github.com/jcxplorer/hhlc...
-
Joao Carlos
(from [b1bc731324a9f4970c0bd3a19bc5374c271ace31]) Implemented #index, #show, #new, #edit, #create and #update for Admin::GalleriesController. [#42 Add Galleries to the site] http://github.com/jcxplorer/hhlc...
-
Joao Carlos
(from [5519cade341b89233e7fb2780bf8a1d456d55b0e]) Forgot the form partial. [#42 Add Galleries to the site] http://github.com/jcxplorer/hhlc...
-
Joao Carlos
(from [cb638968adac8ca9a4ad19ebbb805779fd13f29c]) Fixed name. [#42 Add Galleries to the site] http://github.com/jcxplorer/hhlc...
-
Joao Carlos
(from [6cff50395fde7dc6cbf7bc3056f9358ed6d0c599]) Implemented bulk actions. [#42 Add Galleries to the site] http://github.com/jcxplorer/hhlc...
-
Joao Carlos
(from [cdb5b130d82e69bd027de29856d3fde5d3b0f910]) Added an Image class for gallery images [#42 Add Galleries to the site] http://github.com/jcxplorer/hhlc/commit/cdb5b130d82e69bd027de29856d...
-
Joao Carlos
(from [1f28d552d9ec4a5cd9ff569f04ce9bc7e61c5ac3]) Changed the association to use Image instead of Asset [#42 Add Galleries to the site] http://github.com/jcxplorer/hhlc/commit/1f28d552d9ec4a5cd9ff569f04c...
-
Joao Carlos
(from [01f5132fe325f67256a06cfa4f73751d258e390f]) Require descriptions for all assets but not for gallery images [#42 Add Galleries to the site] http://github.com/jcxplorer/hhlc/commit/01f5132fe325f67256a06cfa4f7...
-
Joao Carlos
(from [5e2af9e003a1f97a67a2326265f2d736f993a9cf]) Added some style to gallery images in the administration [#42 Add Galleries to the site] http://github.com/jcxplorer/hhlc/commit/5e2af9e003a1f97a67a2326265f...
-
Joao Carlos
(from [72c30a5bea4f300bbadb91551419b60cec6ea838]) Handle image uploads and deletions in galleries [#42 Add Galleries to the site] http://github.com/jcxplorer/hhlc/commit/72c30a5bea4f300bbadb9155141...
-
Joao Carlos
(from [5fb9c5c619039ee2e15c0f200739bf0761a0f9ed]) Added a very basic interface to handle gallery images in the administration [#42 Add Galleries to the site]
http://github.com/jcxplorer/hhlc/commit/5fb9c5c619039ee2e15c0f20073... -
Joao Carlos
(from [c8d6cba569651b129dc38c47eebc28c38d44e32f]) Uncommented the galleries link in the administration [#42 Add Galleries to the site] http://github.com/jcxplorer/hhlc/commit/c8d6cba569651b129dc38c47eeb...
-
Matias Korhonen
Descriptions should be editable.
-
Joao Carlos
And they will, but that's not the priority right now. Ticket #129 Editable Assets is for that purpose.
-
Joao Carlos
(from [2f938461086a0f0588d9bc7ad0a51e4b98fad4e7]) Generated a galleries controller with index and show actions for the frontend [#42 Add Galleries to the site]
http://github.com/jcxplorer/hhlc/commit/2f938461086a0f0588d9bc7ad0a... -
Joao Carlos
(from [f7033174f3ba68ed6a77795415f38f59728213df]) Galleries can now have a default image [#42 Add Galleries to the site] http://github.com/jcxplorer/hhlc/commit/f7033174f3ba68ed6a77795415f...
-
Matias Korhonen
(from [9bea496fc162cd98a50960aededa4880616bda1a]) Remove jQuery Lightbox and replaced it with Fancybox [#42 Add Galleries to the site] http://github.com/k33l0r/hhlc/commit/9bea496fc162cd98a50960aededa48...
-
Matias Korhonen
(from [b040bfcf7c2b9765b2c29276e3f19917a206ad69]) Added Fancybox and Easing files [#42 Add Galleries to the site] http://github.com/k33l0r/hhlc/commit/b040bfcf7c2b9765b2c29276e3f199...
-
Joao Carlos
(from [7359d0daf46762762ae1651e05cc2ec258fd0be5]) Default images for galleries can now be changed [#42 Add Galleries to the site] http://github.com/jcxplorer/hhlc/commit/7359d0daf46762762ae1651e05c...
-
Joao Carlos
(from [2d549ebbdade22727afd40ba5a289c019895a755]) Added a basic galleries listing to the frontend [#42 Add Galleries to the site] http://github.com/jcxplorer/hhlc/commit/2d549ebbdade22727afd40ba5a2...
-
Joao Carlos
(from [f9e336fcfb47a507d0afbc9d2fbfb6b27ec446b9]) Added a fixed width to all gallery thumbnails [#42 Add Galleries to the site] http://github.com/jcxplorer/hhlc/commit/f9e336fcfb47a507d0afbc9d2fb...
-
Joao Carlos
- State changed from open to testing
(from [bb27555e2f8de143f674b7014b434cbb605dcb8b]) Added a page to show a certain gallery [#42 Add Galleries to the site state:testing] http://github.com/jcxplorer/hhlc/commit/bb27555e2f8de143f674b7014b4...
-
Matias Korhonen
Created Non-websafe image formats can be used, #132 Non-websafe image formats can be used
-
Matias Korhonen
Created Empty uploads allowed, #133 Empty uploads allowed
-
Joao Carlos
(from [9f10b6791890ff6dee3d325f905b76fd906f9afa]) Added title attribute to gallery images [#42 Add Galleries to the site] http://github.com/jcxplorer/hhlc/commit/9f10b6791890ff6dee3d325f905...
-
Matias Korhonen
Should the gallery thumbnails be bigger? At the moment we get a lot of empty space on the page...
Maybe up the size to 150 - 200px?
-
Joao Carlos
I just tried 150px and it seems too big. Even 120px seems a bit too big. 100px seems to be a very common thumbnail size.
-
Matias Korhonen
100px looks too small; it leaves too muxh space between the thumbnails.
I tried 150px in firebug, it looked pretty good,
Please Sign in or create a free account to add a new ticket.
With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.