Add Galleries to the site
Reported by Matias Korhonen | 2009-02-15 02:35:57 UTC | in 0.5
Add gallery capability to the site. Something beautiful with AJAX.
Some examples of what we want
Comments and changes to this ticket
-

-

Matias Korhonen 2009-03-09 00:00:20 UTC
- Milestone changed from 0.5 to 0.2 (Alpha 2)
-

Matias Korhonen 2009-03-09 22:12:10 UTC
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 2009-03-09 22:24:11 UTC
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 2009-03-09 22:47:08 UTC
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 2009-03-13 17:30:54 UTC
- Milestone changed from 0.2 (Alpha 2) to 0.5
-

Joao Carlos 2009-04-04 18:15:38 UTC
- Assigned user set to Joao Carlos
-

Joao Carlos 2009-05-03 23:59:18 UTC
- State changed from new to open
(from [00f4a4f77f41d4cffcdd1ebeef183713dcb9a194]) Created the Gallery model. [#42 state:open] http://github.com/jcxplorer/hhlc...
-

Joao Carlos 2009-05-04 00:12:50 UTC
(from [1604e37cde8862692a82bd7ab6d495c0cb564af5]) Created Admin::GalleriesController. [#42] http://github.com/jcxplorer/hhlc...
-

Joao Carlos 2009-05-04 00:12:50 UTC
(from [b8ed5c3c48d7214e088fd7aee9388d9eee27d1ce]) Skip google analytics and use the admin layout. [#42] http://github.com/jcxplorer/hhlc...
-

Joao Carlos 2009-05-04 00:23:58 UTC
(from [611ac044b869d4e7926593e0086cefb500ae0c78]) Added galleries link in the administration. [#42] http://github.com/jcxplorer/hhlc...
-

Joao Carlos 2009-05-04 11:00:20 UTC
(from [d8ffb1b473db0734d48b3f3351dd57fbd55d3b3f]) Removed unnecessary files. [#42] http://github.com/jcxplorer/hhlc...
-

Joao Carlos 2009-05-04 23:46:00 UTC
(from [10780d98e33a75b3958ec3f13cd69e808706170d]) Added validations to Gallery. [#42] http://github.com/jcxplorer/hhlc...
-

Joao Carlos 2009-05-04 23:46:01 UTC
(from [b1bc731324a9f4970c0bd3a19bc5374c271ace31]) Implemented #index, #show, #new, #edit, #create and #update for Admin::GalleriesController. [#42] http://github.com/jcxplorer/hhlc...
-

Joao Carlos 2009-05-04 23:46:01 UTC
(from [5519cade341b89233e7fb2780bf8a1d456d55b0e]) Forgot the form partial. [#42] http://github.com/jcxplorer/hhlc...
-

Joao Carlos 2009-05-04 23:46:01 UTC
(from [cb638968adac8ca9a4ad19ebbb805779fd13f29c]) Fixed name. [#42] http://github.com/jcxplorer/hhlc...
-

Joao Carlos 2009-05-04 23:46:01 UTC
(from [6cff50395fde7dc6cbf7bc3056f9358ed6d0c599]) Implemented bulk actions. [#42] http://github.com/jcxplorer/hhlc...
-

Joao Carlos 2009-05-28 04:16:31 UTC
(from [cdb5b130d82e69bd027de29856d3fde5d3b0f910]) Added an Image class for gallery images [#42] http://github.com/jcxplorer/hhlc/commit/cdb5b130d82e69bd027de29856d...
-

Joao Carlos 2009-05-28 04:16:32 UTC
(from [1f28d552d9ec4a5cd9ff569f04ce9bc7e61c5ac3]) Changed the association to use Image instead of Asset [#42] http://github.com/jcxplorer/hhlc/commit/1f28d552d9ec4a5cd9ff569f04c...
-

Joao Carlos 2009-05-28 04:16:32 UTC
(from [01f5132fe325f67256a06cfa4f73751d258e390f]) Require descriptions for all assets but not for gallery images [#42] http://github.com/jcxplorer/hhlc/commit/01f5132fe325f67256a06cfa4f7...
-

Joao Carlos 2009-05-28 04:16:32 UTC
(from [5e2af9e003a1f97a67a2326265f2d736f993a9cf]) Added some style to gallery images in the administration [#42] http://github.com/jcxplorer/hhlc/commit/5e2af9e003a1f97a67a2326265f...
-

Joao Carlos 2009-05-28 04:16:32 UTC
(from [72c30a5bea4f300bbadb91551419b60cec6ea838]) Handle image uploads and deletions in galleries [#42] http://github.com/jcxplorer/hhlc/commit/72c30a5bea4f300bbadb9155141...
-

Joao Carlos 2009-05-28 04:16:32 UTC
(from [5fb9c5c619039ee2e15c0f200739bf0761a0f9ed]) Added a very basic interface to handle gallery images in the administration [#42]
http://github.com/jcxplorer/hhlc/commit/5fb9c5c619039ee2e15c0f20073... -

Joao Carlos 2009-05-28 04:16:33 UTC
(from [c8d6cba569651b129dc38c47eebc28c38d44e32f]) Uncommented the galleries link in the administration [#42] http://github.com/jcxplorer/hhlc/commit/c8d6cba569651b129dc38c47eeb...
-

-

Joao Carlos 2009-05-28 17:40:03 UTC
And they will, but that's not the priority right now. Ticket #129 is for that purpose.
-

Joao Carlos 2009-05-28 18:26:44 UTC
(from [2f938461086a0f0588d9bc7ad0a51e4b98fad4e7]) Generated a galleries controller with index and show actions for the frontend [#42]
http://github.com/jcxplorer/hhlc/commit/2f938461086a0f0588d9bc7ad0a... -

Joao Carlos 2009-05-28 18:42:42 UTC
(from [f7033174f3ba68ed6a77795415f38f59728213df]) Galleries can now have a default image [#42] http://github.com/jcxplorer/hhlc/commit/f7033174f3ba68ed6a77795415f...
-

Matias Korhonen 2009-05-28 23:00:38 UTC
(from [9bea496fc162cd98a50960aededa4880616bda1a]) Remove jQuery Lightbox and replaced it with Fancybox [#42] http://github.com/k33l0r/hhlc/commit/9bea496fc162cd98a50960aededa48...
-

Matias Korhonen 2009-05-29 00:13:21 UTC
(from [b040bfcf7c2b9765b2c29276e3f19917a206ad69]) Added Fancybox and Easing files [#42] http://github.com/k33l0r/hhlc/commit/b040bfcf7c2b9765b2c29276e3f199...
-

Joao Carlos 2009-05-29 02:53:03 UTC
(from [7359d0daf46762762ae1651e05cc2ec258fd0be5]) Default images for galleries can now be changed [#42] http://github.com/jcxplorer/hhlc/commit/7359d0daf46762762ae1651e05c...
-

Joao Carlos 2009-06-24 02:25:26 UTC
(from [2d549ebbdade22727afd40ba5a289c019895a755]) Added a basic galleries listing to the frontend [#42] http://github.com/jcxplorer/hhlc/commit/2d549ebbdade22727afd40ba5a2...
-

Joao Carlos 2009-06-24 04:15:47 UTC
(from [f9e336fcfb47a507d0afbc9d2fbfb6b27ec446b9]) Added a fixed width to all gallery thumbnails [#42] http://github.com/jcxplorer/hhlc/commit/f9e336fcfb47a507d0afbc9d2fb...
-

Joao Carlos 2009-06-24 04:15:47 UTC
- State changed from open to testing
(from [bb27555e2f8de143f674b7014b434cbb605dcb8b]) Added a page to show a certain gallery [#42 state:testing] http://github.com/jcxplorer/hhlc/commit/bb27555e2f8de143f674b7014b4...
-

-

-

Joao Carlos 2009-06-30 02:50:38 UTC
(from [9f10b6791890ff6dee3d325f905b76fd906f9afa]) Added title attribute to gallery images [#42] http://github.com/jcxplorer/hhlc/commit/9f10b6791890ff6dee3d325f905...
-

Matias Korhonen 2009-06-30 14:15:14 UTC
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 2009-07-02 02:30:51 UTC
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 2009-07-02 09:27:08 UTC
100px looks too small; it leaves too muxh space between the thumbnails.
I tried 150px in firebug, it looked pretty good,
-

Joao Carlos 2009-07-08 18:38:35 UTC
- State changed from testing to resolved
Closing, basic functionality is in place.
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.
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป
Ruby on Rails web application for the HAAGA-HELIA Linux Club.
People watching this ticket
Referenced by
-
42
Add Galleries to the site
(from [00f4a4f77f41d4cffcdd1ebeef183713dcb9a194]) Created...
-
42
Add Galleries to the site
(from [1604e37cde8862692a82bd7ab6d495c0cb564af5]) Created...
-
42
Add Galleries to the site
(from [b8ed5c3c48d7214e088fd7aee9388d9eee27d1ce]) Skip go...
-
42
Add Galleries to the site
(from [611ac044b869d4e7926593e0086cefb500ae0c78]) Added
g...
-
42
Add Galleries to the site
(from [d8ffb1b473db0734d48b3f3351dd57fbd55d3b3f]) Removed...
-
42
Add Galleries to the site
(from [10780d98e33a75b3958ec3f13cd69e808706170d]) Added
v...
-
42
Add Galleries to the site
(from [b1bc731324a9f4970c0bd3a19bc5374c271ace31]) Impleme...
-
42
Add Galleries to the site
(from [5519cade341b89233e7fb2780bf8a1d456d55b0e]) Forgot ...
-
42
Add Galleries to the site
(from [cb638968adac8ca9a4ad19ebbb805779fd13f29c]) Fixed n...
-
42
Add Galleries to the site
(from [6cff50395fde7dc6cbf7bc3056f9358ed6d0c599]) Impleme...
-
42
Add Galleries to the site
(from [cdb5b130d82e69bd027de29856d3fde5d3b0f910])
Added a...
-
42
Add Galleries to the site
(from [1f28d552d9ec4a5cd9ff569f04ce9bc7e61c5ac3])
Changed...
-
42
Add Galleries to the site
(from [01f5132fe325f67256a06cfa4f73751d258e390f])
Require...
-
42
Add Galleries to the site
(from [5e2af9e003a1f97a67a2326265f2d736f993a9cf])
Added s...
-
42
Add Galleries to the site
(from [72c30a5bea4f300bbadb91551419b60cec6ea838])
Handle ...
-
42
Add Galleries to the site
(from [5fb9c5c619039ee2e15c0f200739bf0761a0f9ed])
Added a...
-
42
Add Galleries to the site
(from [c8d6cba569651b129dc38c47eebc28c38d44e32f])
Uncomme...
-
42
Add Galleries to the site
(from [2f938461086a0f0588d9bc7ad0a51e4b98fad4e7])
Generat...
-
42
Add Galleries to the site
(from [f7033174f3ba68ed6a77795415f38f59728213df])
Galleri...
-
42
Add Galleries to the site
(from [9bea496fc162cd98a50960aededa4880616bda1a])
Remove ...
-
42
Add Galleries to the site
(from [b040bfcf7c2b9765b2c29276e3f19917a206ad69])
Added F...
-
42
Add Galleries to the site
(from [7359d0daf46762762ae1651e05cc2ec258fd0be5])
Default...
-
42
Add Galleries to the site
(from [2d549ebbdade22727afd40ba5a289c019895a755])
Added a...
-
42
Add Galleries to the site
(from [f9e336fcfb47a507d0afbc9d2fbfb6b27ec446b9])
Added a...
-
42
Add Galleries to the site
(from [bb27555e2f8de143f674b7014b434cbb605dcb8b])
Added a...
-
42
Add Galleries to the site
(from [9f10b6791890ff6dee3d325f905b76fd906f9afa])
Added t...