• Signature image v2.3 5 0 5 1
Currently:  

Author Topic: Signature image v2.3  (Read 621346 times)

0 Members and 3 Guests are viewing this topic.

Offline V@no

  • If you don't tell me what to do, I won't tell you where you should go :)
  • Global Moderator
  • 4images Guru
  • *****
  • Posts: 17.849
  • mmm PHP...
    • View Profile
    • 4images MODs Demo
Re: Signature image v2.21
« Reply #150 on: October 05, 2005, 12:08:11 AM »
now i have a other problem

when i go
http://ez.pri.ee/signature.png

i get error

" The image “http://ez.pri.ee/signature.png” cannot be displayed, because it contains errors. "
That is perfectly normal error message, because its not a .png image you show, its your .php file, but because you changed extension from .php to .png, PHP on your server does not know that its supposed to execute that file and your server simply returns it as a text file.
Rename it back to .php then try access it.
Your first three "must do" before you ask a question:
Please do not PM me asking for help unless you've been specifically asked to do so. Such PMs will be deleted without answer. (forum rule #6)
Extension for Firefox/Thunderbird: Master Password+    Back/Forward History Tweaks (restartless)    Cookies Manager+    Fit Images (restartless for Thunderbird)

Offline izone

  • Newbie
  • *
  • Posts: 38
    • View Profile
Re: Signature image v2.21
« Reply #151 on: October 06, 2005, 05:27:13 PM »
V@no  thanks for all great job u have done on this.

How is it possible to show the country flag on this image, as yours.

Please Please help me with it. Thanks.

Best regards

Offline eZz

  • Newbie
  • *
  • Posts: 17
    • View Profile
    • WALLPAPERS
Re: Signature image v2.21
« Reply #152 on: October 15, 2005, 12:16:07 PM »
hey,

is this possebel to convert the signature to 128x32 pixels and it show a very little thumbnail and some info ?

i made a sample

Offline eZz

  • Newbie
  • *
  • Posts: 17
    • View Profile
    • WALLPAPERS
Re: Signature image v2.21
« Reply #153 on: October 21, 2005, 04:12:02 PM »
hey,

is this possebel to convert the signature to 128x32 pixels and it show a very little thumbnail and some info ?

i made a sample


anyone ???

Offline Matthias70

  • Full Member
  • ***
  • Posts: 199
    • View Profile
    • Bildergalerie
Re: Signature image v2.21
« Reply #154 on: October 28, 2005, 05:16:51 PM »
Hab ich das was verpasst oder bin ich blind?
Wie schaffe ich es, dass das signature image auf die Detailseite des gerade angezeigten Bildes weiterleitet?

viele Grüße
Matthias

Offline Acidgod

  • 4images Moderator
  • 4images Guru
  • *****
  • Posts: 2.421
  • It's me?
    • View Profile
    • Flash-Webdesign
Re: Signature image v2.21
« Reply #155 on: October 28, 2005, 05:18:52 PM »
To redirect to the last random image showed in the signature use: http://<youraddress>/signature.png?go=1

Bitte...

Offline Matthias70

  • Full Member
  • ***
  • Posts: 199
    • View Profile
    • Bildergalerie
Re: Signature image v2.21
« Reply #156 on: October 28, 2005, 05:23:24 PM »
To redirect to the last random image showed in the signature use: http://<youraddress>/signature.png?go=1

Bitte...

Danke, ich muss wohl doch blind gewesen sein  :wink:

Offline Matthias70

  • Full Member
  • ***
  • Posts: 199
    • View Profile
    • Bildergalerie
Re: Signature image v2.21
« Reply #157 on: October 28, 2005, 05:33:59 PM »
To redirect to the last random image showed in the signature use: http://<youraddress>/signature.png?go=1

Hm, irgendwie bekomme ich das nicht zum Laufen.
Muss die Zeile im Forum in die Signatur oder muss ich das irgendwo in die signature.php einbauen.

Momentan schaut meine signatur so aus:
Code: [Select]
[url=http://www.url.de/bildergalerie/][img]http://www.url.de/bildergalerie/signature/signature.php[/img][/url]
Dein Vorschlag läuft leider nicht
Code: [Select]
[url=http://www.url.de/bildergalerie/][img]http://www.url.de/bildergalerie/signature/signature.png?go=1[/img][/url]
Matthias

Quote

Offline Acidgod

  • 4images Moderator
  • 4images Guru
  • *****
  • Posts: 2.421
  • It's me?
    • View Profile
    • Flash-Webdesign
Re: Signature image v2.21
« Reply #158 on: October 28, 2005, 05:47:03 PM »
klappt es jetzt?

Offline Matthias70

  • Full Member
  • ***
  • Posts: 199
    • View Profile
    • Bildergalerie
Re: Signature image v2.21
« Reply #159 on: October 28, 2005, 05:53:54 PM »
klappt es jetzt?

Mit folgendem Code wird zwar die Signatur angezeigt, aber der Link führt auf meine Fehlerseite, d.h. das Zufallsbild wird nicht gefunden.
Code: [Select]
[url=http://www.url.de/bildergalerie/signature.php?go=1][img]http://www.gpaed.de/bildergalerie/signature/signature.php[/img][/url]
Findest du einen Fehler im Code?

Offline Acidgod

  • 4images Moderator
  • 4images Guru
  • *****
  • Posts: 2.421
  • It's me?
    • View Profile
    • Flash-Webdesign
Re: Signature image v2.21
« Reply #160 on: October 28, 2005, 07:26:02 PM »
du scheinst was in der htaccess flash gemacht zu haben...

Offline Acidgod

  • 4images Moderator
  • 4images Guru
  • *****
  • Posts: 2.421
  • It's me?
    • View Profile
    • Flash-Webdesign
Re: Signature image v2.21
« Reply #161 on: October 28, 2005, 11:24:27 PM »
If everything is done correctly, by executing the script (type in your browser: http://yoursiteurl/path_to_the_script/signature.php) u should see the image.


In case a forum where u are trying show your signature image does not support images with .php extension or u simply would like have signature.png instead of signature.php then chose one of the following methods:

1) this method require Apache webserver with mod_rewrite enabled
create .htaccess file with this code:
Code: [Select]
RewriteEngine On
#RewriteBase /
RewriteRule ^signature\.png$ signature.php?%{QUERY_STRING}
RewriteRule ^go$ signature.php?go=1&%{QUERY_STRING}
upload it to the same directory where your signature.php file is.

to test it type in your browser: http://<youraddress>/signature.png
it should show u your signature. Then type: http://<youraddress>/go
it should redirect u to the image/category of the last random image showed in the signature (asuming its enabled)

2) this method require Apache webserver

create .htaccess file with this code:
Code: [Select]
<Files signature.png>
AddType application/x-httpd-php .png
</Files>
upload it to the same directory where your signature.php file is.
Rename your signature.php to signature.png
to test it type in your browser: http://<youraddress>/signature.png
To redirect to the last random image showed in the signature use: http://<youraddress>/signature.png?go=1

3) I'm not quet sure what kind of server/confguration this method required, so try it and see if it works for u

user url like this: http://<youraddress>/signature.php/sig.png

sig.png could be any name u want.

To redirect to the last random image showed in the signature use: http://<youraddress>/signature.png?go=1

Der Part fehlt dir dafür...

Offline Matthias70

  • Full Member
  • ***
  • Posts: 199
    • View Profile
    • Bildergalerie
Re: Signature image v2.21
« Reply #162 on: October 28, 2005, 11:49:09 PM »
Hallo Acidgod,
das Umschreiben mit der htaccess Datei funktioniert zwar, aber mir wird nach wie vor eine Fehlerseite angezeigt.
Habe gerade beschlossen, aufzugeben, so wichtig ist die Weiterleitung auf die Detailseite auch wieder nicht  :roll:

Danke für deine Hilfe
viele Grüße
Matthias

Offline V@no

  • If you don't tell me what to do, I won't tell you where you should go :)
  • Global Moderator
  • 4images Guru
  • *****
  • Posts: 17.849
  • mmm PHP...
    • View Profile
    • 4images MODs Demo
Re: Signature image v2.21
« Reply #163 on: October 29, 2005, 12:01:19 AM »
This is wrong:
Quote
define('ROOT_PATH', '/www/htdocs/v030672/bildergalerie/'); //path to your 4images root dir
The path must be relative ( ./ or ../ or cobination of these ) and not full local path!
Your first three "must do" before you ask a question:
Please do not PM me asking for help unless you've been specifically asked to do so. Such PMs will be deleted without answer. (forum rule #6)
Extension for Firefox/Thunderbird: Master Password+    Back/Forward History Tweaks (restartless)    Cookies Manager+    Fit Images (restartless for Thunderbird)

Offline Matthias70

  • Full Member
  • ***
  • Posts: 199
    • View Profile
    • Bildergalerie
Re: Signature image v2.21
« Reply #164 on: October 29, 2005, 12:13:43 AM »
This is wrong:
Quote
define('ROOT_PATH', '/www/htdocs/v030672/bildergalerie/'); //path to your 4images root dir
The path must be relative ( ./ or ../ or cobination of these ) and not full local path!

With this hint I solved my problem in less than 2 Minutes.
V@no somtimes I wonder, if there is a problem you cannot solve  :wink:

BTW there is one  :mrgreen: :mrgreen:
http://www.4homepages.de/forum/index.php?topic=6729.msg50064#msg50064

Matthias