I have been using a very old PHP based photo gallery called Gallery3 as a
photo gallery with about 10 years of photos. Gallery3 is on life support,
so I need to move to something else. I am looking for a simple photo
gallery application that uses file system based storage for the photos.
Gallery3
what we usually do with the filebrowser is this:
we create a custom gallery (gallery-model with gallery-images as
tabularinlines) with a filebrowsefield for a folder - when you add a
gallery you just select a folder on your filesystem. we overwrite the
save-method (of the gallery) in order to find
Oops, I knew I'd leave out at least one.
On Tue, Dec 15, 2009 at 10:42:10AM -0600, Kevin Monceaux wrote:
> Some of the items on my wish list include:
Customizable upload/save path, preferably including a directory named
after the photo's ID, to avoid filename collisions.
--
Kevin
Hi Guillermo.
I haven't looked at those galleries but if you are going to code some
of it, take a look at nesh's ImageWithThumbnail[1] field and related
utilities. You might reduce the ammount of biolerplate code greatly.
cheers
arthur
[1] http://djangoutils.python-hosting.com/wiki/Thumbnails
On 6/23/06, William McVey <[EMAIL PROTECTED]> wrote:
> I have mostly finished the conversion of stockphoto to the current trunk
> (it's been delayed as I was on an extended vacation where I didn't work
> on it at all). It's still not entirely completed, as loading the albums
> from uploaded zip
On Fri, 2006-06-23 at 08:16 -0400, Jay Parlar wrote:
> I've been half-heartedly looking for a photogallery as well, and I've
> run across both of those. One immediate complaint is that they both
> use the pre-magic-removal codebase (ie. 0.91), so you'd have to
> convert them over to MR to use
On 6/23/06, Guillermo Fernandez Castellanos
<[EMAIL PROTECTED]> wrote:
>
> Hi,
>
> I'm looking to integrate a photo gallery into a blog, while trying not
> to reinvent the wheel.
>
> I've identified two that look nice:
> Stockphoto:
> http://www.carcosa.net
Hi,
I'm looking to integrate a photo gallery into a blog, while trying not
to reinvent the wheel.
I've identified two that look nice:
Stockphoto:
http://www.carcosa.net/jason/software/django/stockphoto/
DjangoGallery:
http://simon.bofh.ms/cgi-bin/trac-django-projects.cgi/wiki/DjangoGallery
Thanks for the filter, just thought I'd add to the equation, in case
you need tables sorted down the column instead of across the row.
def transtabularize(value,cols):
try:
cols = int(cols)
except ValueError:
return [value]
r = len(value)/cols + (len(value)%cols>0)
Sean Perry wrote:
Kevin wrote:
return map(*([None] + [value[i::cols] for i in range(0,
cols)]))
Nice, but why use all of that magic?
return [value[i:i+cols] for i in range(0, len(value), 4)]
your version actually returns [(1,2), (3,4)], iow a list of tuples.
where that last 4
Kevin wrote:
return map(*([None] + [value[i::cols] for i in range(0,
cols)]))
Nice, but why use all of that magic?
return [value[i:i+cols] for i in range(0, len(value), 4)]
your version actually returns [(1,2), (3,4)], iow a list of tuples.
For this exact use I created the following custom filter. It converts
a list into a two-dimensional table:
def tabularize(value, cols):
"""modifies a list to become a list of lists
eg [1,2,3,4] becomes [[1,2], [3,4]] with an argument of 2"""
try:
cols =
2006/1/5, Kenneth Gonsalves <[EMAIL PROTECTED]>:
>
> hi
> i am trying to develop a photogallery application.
You might be interesting in contributing to hugo's [1]
[1] https://simon.bofh.ms/cgi-bin/trac-django-projects.cgi/wiki/DjangoGallery
--
Brice Carpentier aka Br|ce
On Thursday 05 Jan 2006 2:43 pm, Kenneth Gonsalves wrote:
> hi
> i am trying to develop a photogallery application. For this i
> need four photos per line. To calculate the line breaks, i tried
> to use forloop.counter - but apparently one cannot do maths on
> the counter. I was doing
> {%
hi
i am trying to develop a photogallery application. For this i need
four photos per line. To calculate the line breaks, i tried to use
forloop.counter - but apparently one cannot do maths on the
counter. I was doing
{% ifequal (forloop.counter % 4) 0 %}
but am getting an error. any clues?
15 matches
Mail list logo