Gossamer Forum
Home : Products : Links 2.0 : Customization :

Re: Image (photo) database MOD in the works. Anyone interested in helping?

Quote Reply
Re: Image (photo) database MOD in the works. Anyone interested in helping? In reply to
Including the photos was easy. It's just a database field. I used the Logo Links mod as a guide, and works fine.

I have 2 urls -- one to my link (the full image) and one to the thumbnail. I really don't need that, since I place the thumbnails in the same place relative to the main photo for ease.

What I have been trying to do, from the admin screen, is upload a photo, have a thumbnail generated, and the height/width inserted into the database. The thing that has held me up is selecting the Unix file location for the file, since I don't want them all in one directory -- or if they all get uploaded to one directory, I'd like them automatically moved to the appropriate subdirectory on validation (for housekeeping reasons).

Now GD can grab the ht/width and I have a great little script program that uses ImageMagik to make thumbnails, but I've not been able to integrate them all. I really should.

The upload script is basically using CGI.pm and that is now included in the basic perl install. You can grab 2 or 3 different examples of ucing cgi.pm from cgi-resources in the image upload area.

If anyone is seriously interested in doing the mod, I'll give the specs, and and will be able to try it out on a fully working site.

There are some great things out there, but I don't like 'hacks' and would like to see this as a full blown mod that could be easily ported to the SQL version.

I have to prioritize my mods, since I don't have a local unix box, I do everything via telnet, and it's a lot slower for debugging.

I would start with adding this feature to the admin.cgi routines, since they will have to be added there eventually, at they will be out of site until debugged.

The URL field and Thumbnail field should be upload [browse] boxes. You should be allowed to pick the file from your disk, and the upload location (from a pick-box for security).

On my site, I'd like to upload the main image, and generate the thumbnail in a 'thumbnail' directory off the subdir that the main image is stored in. This allows images to be called by:

servername/filepath/image

and the thumbnails by:

servername/filepath/thumbnails/image

And works great for templates and portability.

I've carefully thought this out, and gotten all the puzzle part, but haven't put them together.

I realize mods take time, but I'm somewhat discouraged by the recent announcement to charge for mods, when the ideas and help to generate them is often freely offered.

Anyway.... this is a start, let me know Smile
Subject Author Views Date
Thread Image (photo) database MOD in the works. Anyone interested in helping? kjp 6270 Jun 17, 1999, 6:24 AM
Post Re: Image (photo) database MOD in the works. Anyone interested in helping?
kjp 6099 Jun 17, 1999, 6:30 AM
Post Re: Image (photo) database MOD in the works. Anyone interested in helping?
socrates 6134 Jun 17, 1999, 2:30 PM
Post Re: Image (photo) database MOD in the works. Anyone interested in helping?
kjp 6195 Jun 17, 1999, 2:44 PM
Post Re: Image (photo) database MOD in the works. Anyone interested in helping?
socrates 6131 Jun 17, 1999, 3:07 PM
Post Re: Image (photo) database MOD in the works. Anyone interested in helping?
phoenix 6154 Jun 17, 1999, 3:32 PM
Post Re: Image (photo) database MOD in the works. Anyone interested in helping?
Brad Richardson 6131 Jun 17, 1999, 5:13 PM
Post Re: Image (photo) database MOD in the works. Anyone interested in helping?
kjp 6108 Jun 17, 1999, 6:34 PM
Post Re: Image (photo) database MOD in the works. Anyone interested in helping?
socrates 6106 Jun 17, 1999, 7:29 PM
Post Re: Image (photo) database MOD in the works. Anyone interested in helping?
pugdog 6127 Jun 18, 1999, 3:10 PM
Post Re: Image (photo) database MOD in the works. Anyone interested in helping?
Jose 6083 Aug 3, 1999, 6:19 AM
Post Re: Image (photo) database MOD in the works. Anyone interested in helping?
kjp 6184 Aug 3, 1999, 8:15 AM
Post Re: Image (photo) database MOD in the works. Anyone interested in helping?
kjp 6105 Aug 3, 1999, 8:22 AM
Post Re: Image (photo) database MOD in the works. Anyone interested in helping?
pugdog 6038 Aug 3, 1999, 10:37 AM
Post Re: Image (photo) database MOD in the works. Anyone interested in helping?
kjp 6036 Aug 3, 1999, 11:49 AM
Post Re: Image (photo) database MOD in the works. Anyone interested in helping?
kjp 6063 Aug 3, 1999, 12:11 PM
Post Re: Image (photo) database MOD in the works. Anyone interested in helping?
pugdog 6091 Aug 3, 1999, 2:45 PM
Post Re: Image (photo) database MOD in the works. Anyone interested in helping?
kjp 6101 Aug 3, 1999, 6:07 PM
Post Re: Image (photo) database MOD in the works. Anyone interested in helping?
pugdog 6132 Aug 4, 1999, 4:57 AM
Post Re: Image (photo) database MOD in the works. Anyone interested in helping?
pugdog 6105 Aug 4, 1999, 4:59 AM
Post Re: Image (photo) database MOD in the works. Anyone interested in helping?
pugdog 6160 Aug 4, 1999, 5:15 AM
Post Re: Image (photo) database MOD in the works. Anyone interested in helping?
Brad Richardson 6029 Aug 4, 1999, 8:25 AM
Post Re: Image (photo) database MOD in the works. Anyone interested in helping?
pugdog 6092 Aug 4, 1999, 5:54 PM
Post Re: Image (photo) database MOD in the works. Anyone interested in helping?
kjp 6171 Aug 5, 1999, 1:18 PM
Post Re: Image (photo) database MOD in the works. Anyone interested in helping?
pugdog 6121 Aug 5, 1999, 4:48 PM
Post Re: Image (photo) database MOD in the works. Anyone interested in helping?
kjp 2253 Aug 5, 1999, 5:41 PM
Post Re: Image (photo) database MOD in the works. Anyone interested in helping?
pugdog 2337 Aug 6, 1999, 9:46 AM
Post Re: Image (photo) database MOD in the works. Anyone interested in helping?
kjp 2257 Aug 6, 1999, 6:02 PM
Post Re: Image (photo) database MOD in the works. Anyone interested in helping?
pugdog 2248 Aug 6, 1999, 7:12 PM
Post Re: Image (photo) database MOD in the works. Anyone interested in helping?
Gregorio 2267 Aug 8, 1999, 1:46 PM
Post Re: Image (photo) database MOD in the works. Anyone interested in helping?
phoenix 2262 Aug 27, 1999, 10:43 PM
Post Re: Image (photo) database MOD in the works. Anyone interested in helping?
pugdog 2244 Aug 28, 1999, 10:49 AM