Looking for Recommendations for a Django Photo Gallery

2022-01-24 Thread Mark Phillips
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

Re: Photo Gallery Suggestions

2009-12-15 Thread patrickk
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

Re: Photo Gallery Suggestions

2009-12-15 Thread Kevin Monceaux
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

Re: Photo gallery

2006-06-23 Thread arthur debert
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

Re: Photo gallery

2006-06-23 Thread Jay Parlar
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

Re: Photo gallery

2006-06-23 Thread William McVey
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

Re: Photo gallery

2006-06-23 Thread Jay Parlar
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

Photo gallery

2006-06-23 Thread Guillermo Fernandez Castellanos
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

Re: making photo gallery

2006-01-22 Thread atlithorn
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)

Re: making photo gallery

2006-01-05 Thread Sean Perry
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

Re: making photo gallery

2006-01-05 Thread Sean Perry
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.

Re: making photo gallery

2006-01-05 Thread Kevin
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 =

Re: making photo gallery

2006-01-05 Thread Brice Carpentier
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

Re: making photo gallery

2006-01-05 Thread Kenneth Gonsalves
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 > {%

making photo gallery

2006-01-05 Thread Kenneth Gonsalves
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?