Author Topic: showing URL of image under it..so users can copy it to the forum  (Read 8942 times)

0 Members and 1 Guest are viewing this topic.

Offline b0red

  • Pre-Newbie
  • Posts: 3
    • View Profile
can i have the URL of the pic shows under it ?
so people can copy that url and use it in the forum to publish the images in there subjects ?

 :)

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: showing URL of image under it..so users can copy it to the forum
« Reply #1 on: November 23, 2005, 06:24:41 AM »
can i have the URL of the pic shows under it ?
so people can copy that url and use it in the forum to publish the images in there subjects ?

 :)

Yes

http://www.4homepages.de/forum/index.php?action=search;advanced

P.S. to avoid any more unpleasant replys like this, please do the "must do" steps from my signature.
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 b0red

  • Pre-Newbie
  • Posts: 3
    • View Profile
Re: showing URL of image under it..so users can copy it to the forum
« Reply #2 on: November 24, 2005, 08:00:01 AM »
Thanks V@no ,
i found somthing helped me, but i still cant make the full path of the image shows above the pic i just uploaded

i tried fidelling inside member.html .. but it didnt work correctly

i wish i can get it working like this:
i upload a pic, i find the full path of this pic right above the pic whn it shows at first time
so i can easly copy that url to use it in my forum..

thanks  :D

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: showing URL of image under it..so users can copy it to the forum
« Reply #3 on: November 24, 2005, 09:24:35 AM »
in the media templates (jpeg.html, gif.html, etc) add:
http://yoursite.com/path/to/your/4images/{media_src}
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 Acidgod

  • 4images Moderator
  • 4images Guru
  • *****
  • Posts: 2.421
  • It's me?
    • View Profile
    • Flash-Webdesign
Re: showing URL of image under it..so users can copy it to the forum
« Reply #4 on: November 24, 2005, 10:31:53 AM »
in the media templates (jpeg.html, gif.html, etc) add:
http://yoursite.com/path/to/your/4images/{media_src}
Most easier you can add it also only in to the detail.html...

Offline b0red

  • Pre-Newbie
  • Posts: 3
    • View Profile
Re: showing URL of image under it..so users can copy it to the forum
« Reply #5 on: November 26, 2005, 04:55:39 AM »
Thanks :)
i have tried adding this line

Code: [Select]
[img]http://www.MyDomain.com/4images/data/media/{cat_id}/{image_file_name}[/img]
under the line inside jpg.html

and it showed me the full path of some other pic !

then.. i used this line you told me about:
Code: [Select]
[img]http://www.MyDomain.com/4images/{media_src}[/img]
and it worked just fine :)

thanks so much for the help.


Offline scoles15

  • Pre-Newbie
  • Posts: 2
    • View Profile
Re: showing URL of image under it..so users can copy it to the forum
« Reply #6 on: November 30, 2005, 02:33:10 AM »
I put this in details.php

http://woodworking-galleries.org/gallery/{media_src}
 and it displays as

http://woodworking-galleries.org/gallery/./correct path

While this URL will worlk the extra ./ will drive my members crazy

Any ideas?

Thanks,

Steve Coles

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: showing URL of image under it..so users can copy it to the forum
« Reply #7 on: November 30, 2005, 03:51:49 AM »
While this URL will worlk the extra ./ will drive my members crazy
why would it?
I see no problem with that...
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 scoles15

  • Pre-Newbie
  • Posts: 2
    • View Profile
Re: showing URL of image under it..so users can copy it to the forum
« Reply #8 on: November 30, 2005, 02:36:04 PM »
While this URL will worlk the extra ./ will drive my members crazy
why would it?
I see no problem with that...

Ok, becuase they are not used to seeing URsL to photos like that. When I first saw it, I thought it was wrong for a few minutes.  I will be answering  questions all day long.

But none of that matters. I am asking a simple question, does anyone know of a way to get the URL in a "normalized" form?

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: showing URL of image under it..so users can copy it to the forum
« Reply #9 on: November 30, 2005, 03:01:50 PM »
Well, this has been answered before under another topic with the same topic :? Perhaps it would be faster for you to search for it, other then wait for someone's answer...

P.S.
* V@no is going to work, cant answer right now.
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)