Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

We've moved the forum!

Please use forum.silverstripe.org for any new questions (announcement).
The forum archive will stick around, but will be read only.

You can also use our Slack channel or StackOverflow to ask for help.
Check out our community overview for more options to contribute.

All other Modules /

Discuss all other Modules here.

Moderators: martimiz, Sean, Ed, biapar, Willr, Ingo, swaiba

Image Gallery Extension: Testers Needed


Go to End


417 Posts   117845 Views

Avatar
Anonymous user

Community Member, 6 Posts

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.

Avatar
UncleCheese

Forum Moderator, 4102 Posts

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.

Avatar
Anonymous user

Community Member, 6 Posts

9 April 2009 at 4:48am

Why not linking the original images directly, instead of moving them into a new folder?

Avatar
UncleCheese

Forum Moderator, 4102 Posts

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.

Avatar
Anonymous user

Community Member, 6 Posts

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.

Avatar
UncleCheese

Forum Moderator, 4102 Posts

9 April 2009 at 5:16am

Yeah, unfortunately, a file can't live in two places in SS. It only takes one ParentID.

Avatar
Anonymous user

Community Member, 6 Posts

9 April 2009 at 5:18am

Create a new file from the original one. With new a new id...

Avatar
Felicia

Community Member, 7 Posts

9 April 2009 at 10:01pm

Hoping someone can help...
I have multiple albums in my gallery. On the album page, instead of thumbnails of the albums, I would like to show little thumbnails of the photos within the albums.

Is this possible?
Thanks

Go to Top