Author Topic: need the variable of image_name for a external site  (Read 2770 times)

0 Members and 1 Guest are viewing this topic.

Offline glitzer

  • Full Member
  • ***
  • Posts: 204
    • View Profile
    • over 7000 E-Cards
need the variable of image_name for a external site
« on: October 20, 2007, 11:54:18 AM »
Hello

my problem is following:

I use 4 images for uploading pictures and displaying them, but a different system for sending e-cards.

I have now a link for the ecards ...for example: www.blablabli.com/cgi-bin/card.php?user=theusername&action=create&card= ...... (what is the variable for my full size image?)

when i fill in {image_name} it doesn´t work.

what is the right variable for this?

Sorry for my bad english! Thanks a lot for help!

Glitzer

Offline thunderstrike

  • 4images Guru
  • *******
  • Posts: 2.327
    • View Profile
Re: need the variable of image_name for a external site
« Reply #1 on: October 20, 2007, 12:03:48 PM »
Hum ... a bug  8O

In postcards.php file,

find:

Quote
"image_name" => format_text($image_row['image_name']),

replace:

Code: [Select]
"image_name" => format_text(trim($image_row['image_name']), 2),

Is work now ?
8 steps need when ask question -

- PHP version (ACP - > phpinfo())
- mySQL version (ACP - > phpinfo())
- 4images version
- Post screenshot / URL
- Post code in BB Code (no need full file for code) or post attach file
- It doesn't work. What is say - what is do for no work
- Install MOD ? If so - please say (troubleshooting)
- Read FAQ ? Install Bug fixes ?