4images Forum & Community

4images Modifications / Modifikationen => Mods & Plugins (Requests & Discussions) => Topic started by: Steviii on June 15, 2003, 04:02:44 PM

Title: Automaticaly URL insert
Post by: Steviii on June 15, 2003, 04:02:44 PM
Hi guys!

I would like to show the direkt URL to an Image in the discription.
I have an avatar-galerie where users kann choose an avatar for their profil at board.
So I would like, that the direkt URL to image is shown in discription, when the picture is uploaded to my server.
this: http://yourserver.com/4images/data/media/1/image.gif

Is this possible? Cause I don't want to add the URL every time....

thx for your help

hope you understand everything, my english is not the best....
Title: Automaticaly URL insert
Post by: V@no on June 15, 2003, 05:21:11 PM
use HTML in your descriptions
i.e.
Quote
<a href="http://yourserver.com/4images/data/media/1/image.gif">http://yourserver.com/4images/data/media/1/image.gif</a>

this is the only way without diggin in the code.
Title: Automaticaly URL insert
Post by: Steviii on June 15, 2003, 06:01:52 PM
hm....ok, well I do this anyway....

Thanks vor your time!
Title: Automaticaly URL insert
Post by: Chris on June 16, 2003, 03:35:36 PM
I haven't tested this, but I think you can use this format:
Code: [Select]
http://www.domain.com/4images/data/media/{cat_id}/{image_id} and you should probably place this in the media templates although it should also work from the details.html template
Title: Automaticaly URL insert
Post by: Steviii on June 16, 2003, 04:53:14 PM
Thanks! That's it!

But it has to be this code (if anyone is interesseted in this)

Code: [Select]
http://www.yourdomain.de/4images/{media_src}
Title: Automaticaly URL insert
Post by: Chris on June 16, 2003, 10:39:03 PM
Yeah, I forgot about that