forum.coppermine-gallery.net

Support => cpg1.3.x Support => Older/other versions => cpg1.3 Miscellaneous => Topic started by: m0nty on June 29, 2004, 12:09:06 pm

Title: [Solved]: need help implementing a small script
Post by: m0nty on June 29, 2004, 12:09:06 pm
hi,

i have an account with an SMSC and media messaging company, that allows me to link images from my site, basically this means users can click a link and the image will be sent to their cell phone (providing they have picture capability on their phone).

what i want to do is where the URL link is displayed on the image view screen, i want to change this, so that when they click a link (ie.  click here to send this photo to your mobile phone) it will send it..

the script is below:

<a href="#"
 onClick="javascript:
 window.open(
 'http://*****.******.cc/req.php
 ?account=******d
 &image=http://yourdomain/pic.jpg
 &caption=your+caption
 &code=UniqueImageRequestCode','_MPUSH',
 'width=640,
 height=420,
 titlebar=1,
 resizable=1, scrollbars=1');">
 Send to my mobile
</a>


basically i want the photo url (normal_image) to be automatically placed into the  &image part of the script (highlighted red)
also the image title to be placed into the caption part (highlighted in red)

this will then send the image to the service centre who then send it to the cell phone.

edited out certain parts with **** for security reasons..

thanks in advance
Title: Re: need help implementing a small script
Post by: Joachim Müller on June 30, 2004, 05:57:55 pm
Take a look at http://forum.coppermine-gallery.net/index.php?topic=6217.0

GauGau
Title: Re: need help implementing a small script
Post by: m0nty on July 01, 2004, 03:41:37 am
super thanks :)