Advanced search  

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Pages: [1]   Go Down

Author Topic: [Solved]: need help implementing a small script  (Read 3595 times)

0 Members and 1 Guest are viewing this topic.

m0nty

  • Coppermine novice
  • *
  • Offline Offline
  • Gender: Male
  • Posts: 26
[Solved]: need help implementing a small script
« 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
« Last Edit: July 01, 2004, 08:47:29 am by GauGau »
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: need help implementing a small script
« Reply #1 on: June 30, 2004, 05:57:55 pm »

Logged

m0nty

  • Coppermine novice
  • *
  • Offline Offline
  • Gender: Male
  • Posts: 26
Re: need help implementing a small script
« Reply #2 on: July 01, 2004, 03:41:37 am »

super thanks :)
Logged
Pages: [1]   Go Up
 

Page created in 0.018 seconds with 19 queries.