4images Forum & Community

4images Modifications / Modifikationen => Mods & Plugins (Requests & Discussions) => Topic started by: b0red on November 23, 2005, 04:14:02 AM

Title: showing URL of image under it..so users can copy it to the forum
Post by: b0red on November 23, 2005, 04:14:02 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 ?

 :)
Title: Re: showing URL of image under it..so users can copy it to the forum
Post by: V@no 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.
Title: Re: showing URL of image under it..so users can copy it to the forum
Post by: b0red 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
Title: Re: showing URL of image under it..so users can copy it to the forum
Post by: V@no 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}
Title: Re: showing URL of image under it..so users can copy it to the forum
Post by: Acidgod 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...
Title: Re: showing URL of image under it..so users can copy it to the forum
Post by: b0red 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.

Title: Re: showing URL of image under it..so users can copy it to the forum
Post by: scoles15 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
Title: Re: showing URL of image under it..so users can copy it to the forum
Post by: V@no 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...
Title: Re: showing URL of image under it..so users can copy it to the forum
Post by: scoles15 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?
Title: Re: showing URL of image under it..so users can copy it to the forum
Post by: V@no 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.
/me is going to work, cant answer right now.