22 February 2009 at 10:56pm
Been playing with this over the weekend and have seen two issues.
1. After uploading photos to a second album of a gallery page and you are adding captions you need to select the album from the Album dropbox each time. If you do not then that image will be added to the selected album. It appears to always be the 1st album added.
2. When adding a Cover Image to an album and you are selecting one from the file store, the folder for the gallery page has the name of the page as it was first saved. Also the name of the first album folder retains the Default Album name. When I check the Files & Images section of the CMS I can see that all folder names are the same as the page names and album names.
1) make sure you have the correct album selected in the "choose an album" dropdown. The newest version writes the name of the album you're uploading to on the upload button for clarity.
2) I'm somewhat aware of this. I think there's some sort of flush I need to run after creating those folders. The import dropdown in the upload window often saves old data, too... For a while, then it catches up. Weird.
24 February 2009 at 3:04am
I use Silver Stripe 2.3 rev and 37th.
It works so far as well.
Is it in a future version the possibility, the nature of the change in size to choose?
Because : At the moment, the thumbnails just a part of the picture and not a fully scaled version of the image.
Sorry for my bad english, i used google to translate...
And for future future Versions :-) it is possible to move Albums between Pages ?
There's a good reason for this, actually. The thumbnails need to be of equal width and height because they are displayed in an unordered list with floating LI tags. If the thumbnail were a true scaled down version of the image, there would be no guarantee that all the images would be the same height, and the layout would possibly break.
This is the kind of thing that would work in a table layout, but with CSS, unfortunately, we have to use fixed heights to give the illusion of "rows."
24 February 2009 at 4:19am
Firstly, fantastic work UncleCheese - you are cracking through all the work everyone really wants and needs!
Just a note about the layout, i'd have thought that it would be perfectly possible to have the images keeping their aspect ratio and not cropped whilst keeping on a grid structure without tables.
If the LI's are floated left, and each LI has the height and width set, then that is all that is needed for the grid structure. So long as the images inside the LIs are max dimension of the LI, then they could be aligned and valigned to suit.
Sort of, but if the images vary in their aspect ratio, the heights will be different. I suppose the resampling could be SetHeight, but just the thought of all those varying shapes and sizes makes me nauseous. Just seems like really bad design and I'm not sure I want to encourage that. Thumbnails don't necessarily need to contain all the image content. They're supposed to be previews, right?
Well, either way, something to put on the wishlist.