← Back to team overview

launchpad-dev team mailing list archive

Re: Feature flag images

 

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 12-05-14 02:09 AM, Huw Wilkins wrote:
> I recently tried to feature flag images. My approach was that I
> would have images with the same name inside a sub-directory to the
> images folder, which would be named after the feature flag.

How were you using the feature flag?  Were you using it in a template,
or by querying it via Javascript, or checking it in Python?

> I ran into a problem where the local development server would
> expose the root image folder but none of its sub-directories. It
> looks like this is fine in production however.

This doesn't sound like a general problem, because feature flags don't
directly affect images.  If we understand your implementation better,
we can probably suggest solutions.

Aaron
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk+xCGwACgkQ0F+nu1YWqI0IygCfRMyd7Ju74HzWhxCTdLDmvpD/
X7cAnA0tG7Sk/+30auxA/UULvh67PMb2
=b9Rs
-----END PGP SIGNATURE-----


Follow ups

References