Code For Image Properties

Started on the old forum in July 2006 · view the original in the archive · old links redirect here

7 replies · 782 views · started 20 years ago · 1 min read

3 participants
stretch Developer · 130 posts #1

echo "<img src="$file_name" height="250" width="250" alt="$file_name"/>

<a href="$file_name">$file_name</a> (". round(filesize($file_name)/1024,1) . "kb) ";

Can someone help me say what the code is to display the image properties next to the description and preview in the above line? External image (may be gone)

eg: FIL1889 preview (220kb)(800x600x24b)

= = = = = The more you laugh...the longer you live. Read more jokes at http://fun-files.co.cc

subzero Super moderator Fellow · 3,954 posts #2

i got it to show first part but still working on two part lol

Visit: Chat4u.mobi - The New Lay Of being a site of your dreams! Visit: WapMasterz Coming Back Soon!


SCRIPTS FOR SALE BY SUBZERO Chat4u Script : coding-talk.com/f28/chat4u-mobi-script-only-150-a-17677/ - > Best Script for your site no other can be hacked by sql or uploaders. FileShare Script : coding-talk.com/f28/file-wap-share-6596/ -> Uploader you will never regret buying yeah it mite be old now but it still seems to own others... _______…

stretch Developer · 130 posts #5

it says on second part External image (may be gone)

the second part only says the file size and not the pixel properties

the code i gave u....didnt it work? External image (may be gone) Y use that dum script? try some other .... download from http://hotscripts.com. External image (may be gone)

naveen i am using the one you did at the moment and it works fine. External image (may be gone)k: check it out http://www.4wapfreaks.t34.biz/wapbuddy/pictures/index.php

i just used that script just for a start and will with time check what other scripts are better External image (may be gone)

= = = = = The more you laugh...the longer you live. Read more jokes at http://fun-files.co.cc

stretch Developer · 130 posts #6

External image (may be gone) no one knows the code ???

echo "<a href=\"$file_name\"><img src=\"$file_name\" height=\"250\" width=\"250\"/></a> (". round(filesize($file_name)/1024,1) . "kb)
";

here is the code i am using, sorry i posted the wrong code in the first post

= = = = = The more you laugh...the longer you live. Read more jokes at http://fun-files.co.cc

abhisar #7

why do you round the filesize.

stretch Developer · 130 posts #8

why do you round the filesize.

Why shouldnt i ?

= = = = = The more you laugh...the longer you live. Read more jokes at http://fun-files.co.cc

Sign in to reply.

Similar topics

Keyboard shortcuts

g f
Go to forums
g h
Go to your feed
g m
Go to messages
r
Reply (in a topic)
/
Search
j
Next post
k
Previous post
?
This list
Ctrl/⌘ + Enter
Send what you are writing
Ctrl/⌘ + B / I
Bold / italic while writing
Esc
Close