Feature #31
changing or adding default locations for pictures
0%
Description
users ask:
in slideshow app, the pictures come from \\hda\pictures.
how can the default location for pictures be changed?
History
#1 Updated by cpg about 12 years ago
the path to where the pictures are picked up from is currently set in stone at the top of:
/var/hda/platform/apps/slideshow/app/controllers/hda_app_slideshow_controller.rb
here:
PICTURES = "#{HDA_BASE}/files/pictures/"
so, changing that path to the linux path to where the pictures are will make it start picking up the pictures from there.
NOTE: the application will need to be uninstalled and reinstalled for this change to be picked up.
note also that the displayed path "Folders in \\hda\pictures" will not change.
these are features to be implemented in the app.
#2 Updated by cpg about 12 years ago
there is a problem with this.
the full resolution pictures cannot be seen, just the thumbnails.
the reason is that the platform httpd server is restricted by this rule:
RewriteRule ^/_PIC/(.*)$ /var/hda2/photos/$1 [last]
to limit what the server can see for security reasons (to not let it see just anything).
somehow the httpd location should be changed in tandem, or a new way to efficiently retrieve the pictures from (mayme not just any) location should be devised.
#3 Updated by cpg over 8 years ago
- Project changed from 4 to apps
Also available in: Atom