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.

All other Modules /

Discuss all other Modules here.

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

Secure Images in Image_Gallery


Reply


784 Views

Avatar
x75

Community Member, 42 Posts

24 September 2009 at 10:41pm

Hi,

I'm looking for a way to have an image gallery, which images are only accessable for authenticated users.
I have tried the combination of the [url=http://www.silverstripe.org/ImageGallery-module/]image_gallery modul[/url] and the [url=http://www.silverstripe.org/secure-files/]secure files modul[/url].

After fixing some [url=http://www.silverstripe.org/general-questions/show/260357?start=8]problems[/url] in the secure files modul and hacking the saphire core. I can now secure folders in the asset folder. But that breaks the image_gallery modul. I won't resize the thumbnails anymore. For some reason the resampled file just has the original size.
So my solution is not really working. I have a security modul, that only securs on a per user base. And only after making modifications to the core of the cms. And I have a image gallery that can't show thumbnails.

There has to be another way. What am I missing? How do you secure your files in silverstripe, if you don't won't them publicly avalible?

Thanks
Johannes