Gossamer Forum
Quote Reply
Getting image URL...
I've just been playing with imag uploading stuff in LSQL 2.1.2. I'm trying to figure out how you get the name of the image....i.e 1-image-name.jpg

Currenty, in the images are stored like;

1-image.jpg
2-image.jpg
3-image.jpg

(image.jpg being the name of the file that was uploaded). At firt I thought the number in front of the file name was simply the ID...but it seems like it isn't. How would one go about getting this number, and therefore the images full name?

Cheers

Andy (mod)
andy@ultranerds.co.uk
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package | GLinks ULTRA Package PRO
Links SQL Plugins | Website Design and SEO | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!
Quote Reply
Re: [Andy] Getting image URL... In reply to
Nevermind...just found this thread;

http://www.gossamer-threads.com/...obal%20image;#184347

Cheers

Andy (mod)
andy@ultranerds.co.uk
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package | GLinks ULTRA Package PRO
Links SQL Plugins | Website Design and SEO | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!
Quote Reply
Re: [Andy] Getting image URL... In reply to
And one here http://www.gossamer-threads.com/...orum.cgi?post=230943

I'm a little surprised this is not built in, it seems odd a custom global is needed to take advantage of a standard feature!

--------------------------------
Privacy Software
Quote Reply
Re: [BLOOD] Getting image URL... In reply to
Yeah, something like a global called "image_name(FieldName) would be nice Smile

Alex, how about this in a future version? ;)

Cheers

Andy (mod)
andy@ultranerds.co.uk
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package | GLinks ULTRA Package PRO
Links SQL Plugins | Website Design and SEO | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!