10388 Posts in 2199 Topics by 1713 members
| Go to End | Next > | |
| Author | Topic: | 67081 Views |
-
Re: Image Gallery Extension: Testers Needed

9 April 2009 at 3:46am
Check your assets folder and determine:
1) That there is an "image-gallery" folder as an immediate descendant of "assets."
2) That there is a folder named after your ImageGalleryPage Title as an immediate descendant of "image-gallery"
3) That there is a "Default-Album" folder that immediately descends the folder named after your ImageGalleryPage. -
Re: Image Gallery Extension: Testers Needed

9 April 2009 at 4:20am
> That's correct. All the resampled images go in the child folder _resampled. That's a Silverstripe convention.
But on import the content of the original folder is MOVED! The child folder "_resampled" is created twice: in the original folder and in "image-gallery/<album name>". I can't believe that this is correct.
-
Re: Image Gallery Extension: Testers Needed

9 April 2009 at 4:31am
The old folder structure is left in tact because not everyone wants to import all of their files from an old folder. If you just pick one or two files to import, the old _resampled folder is still of value to the original images that were not imported.
-
Re: Image Gallery Extension: Testers Needed

9 April 2009 at 4:48am
Why not linking the original images directly, instead of moving them into a new folder?
-
Re: Image Gallery Extension: Testers Needed

9 April 2009 at 4:55am
Because an album has a physical representation in the file system. Files in the My-Album folder are representative of how the gallery will display. If some files in an album are in one place while others are actually in the album folder, the whole concept is broken.
-
Re: Image Gallery Extension: Testers Needed

9 April 2009 at 5:10am
Ah, ok. I thought you store all necessary information in the database. Nevertheless, on import I would expect that the images are copied, not moved.
-
Re: Image Gallery Extension: Testers Needed

9 April 2009 at 5:16am
Yeah, unfortunately, a file can't live in two places in SS. It only takes one ParentID.
-
Re: Image Gallery Extension: Testers Needed

9 April 2009 at 5:18am
Create a new file from the original one. With new a new id...
| 67081 Views | ||
| Go to Top | Next > |

