coppermine-gallery.com/forum

Support => cpg1.3.x Support => Older/other versions => cpg1.3 Miscellaneous => Topic started by: webwobble on September 23, 2004, 10:41:12 PM

Title: Selecting images and posting image names to send mail
Post by: webwobble on September 23, 2004, 10:41:12 PM
This is a great tool.

I have built with surprising ease, the galleries and got the whole thing up and running first time.
I am now looking to take the tool a stage further and facilitate a function whereby viewers can select certain images and email a request for prints to the photographer that owns the galleries.
Can anyone please point me in the right direction as I am struggling with this aspect of the project.
I can't link to the gallery as the client has stipulated that the whole thing is locked down for now.

Many thanks

Martin (UK)
Title: Re: Selecting images and posting image names to send mail
Post by: Casper on September 23, 2004, 11:10:19 PM
Have you looked at the payal shop hack, in the mods section.  This does not use email, but paypal shopping basket, to acheive the same thing.

Have a look at the DEMO (http://www.hsocuk.com/shop/) on my site.
Title: Re: Selecting images and posting image names to send mail
Post by: Joachim Müller on September 24, 2004, 05:26:12 AM
If you don't want to use Casper's paypal hack, you could "abuse" one of the custom fields to contain the email address of the artist. Hide it in the pic info section (do a search on how to do that), or the artist will get a lot of spam. Then you add some custom code to displayimage that shows the "I want to buy this pic" link and sends the email to the artist. This will require some code modifications that are not too difficult, but you will need some PHP knowledge however.

Joachim
Title: Re: Selecting images and posting image names to send mail
Post by: webwobble on September 24, 2004, 08:36:54 PM
Quote from: Casper on September 23, 2004, 11:10:19 PM
Have you looked at the payal shop hack, in the mods section.  This does not use email, but paypal shopping basket, to acheive the same thing.

Have a look at the DEMO (http://www.hsocuk.com/shop/) on my site.

Thanks I will investigate that this evening. Also thanks to GauGau, but I am just starting out with php and mysql so I am resigned to being a 100% script kiddie for now at least.  :)
Title: Re: Selecting images and posting image names to send mail
Post by: Joachim Müller on September 24, 2004, 09:12:35 PM
ok, but mind the use of the term "script kiddy" - usually it's not meant as a compliment at all.

Joachim
Title: Re: Selecting images and posting image names to send mail
Post by: webwobble on September 27, 2004, 09:13:06 PM
Joachim
Thanks for the advice. I have ruled out Casper's Paypal option as the client was not prepared to go down the Paypal route.
I have managed to customise the whole tool but I have found that on large batch runs, I am ending up with thumbnails without filenames.
I am guessing that ordinarily this would be undesirable, but for my purposes, i.e identifying images for subsequent ordering, the file names are essential if I am to make this work.
I am planning on a Photoshop action to watermark the images, so that is not a problem but I am struggling to get some final mods out of the way before presenting this.
This is my first paid website so I am keen to make a good impression. Can anyone please advise me if I will be able to completely remove the file information button (and thus not display more than I want) and how to display the file name on it's own below each thumb ?
The gallery is located on http://www.grahamdale.co.uk/weddings/wedding_viewer

Any advice much appreciated and thanks to all involved this is a brilliant tool.