LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 03-21-2007, 12:42 PM   #1
ggeo
Member
 
Registered: Aug 2006
Location: Greece
Posts: 96

Rep: Reputation: 15
view .php images


Hello
I wanted to ask how can i view images with the extension "php"


Thanks
 
Old 03-21-2007, 01:50 PM   #2
osor
HCL Maintainer
 
Registered: Jan 2006
Distribution: (H)LFS, Gentoo
Posts: 2,450

Rep: Reputation: 77
Images don’t usually have that extension (that’s usually for dynamically-served webpages that use a PHP backend). To find out what type of file you have, the easiest way is to use the (gasp!) file command (e.g., say you have a file named file1.php, and you wish to know what its type is. Just type “file file1.php” at the command line). Remember that in outside of Windows, file extensions don’t mean that much.
 
Old 03-21-2007, 04:48 PM   #3
ggeo
Member
 
Registered: Aug 2006
Location: Greece
Posts: 96

Original Poster
Rep: Reputation: 15
Thanks!
I did that and i saw it was jpeg ,so i opened it with gimp and saved it as jpeg.
 
Old 03-21-2007, 06:26 PM   #4
osor
HCL Maintainer
 
Registered: Jan 2006
Distribution: (H)LFS, Gentoo
Posts: 2,450

Rep: Reputation: 77
Quote:
Originally Posted by ggeo
Thanks!
I did that and i saw it was jpeg ,so i opened it with gimp and saved it as jpeg.
You could have just renamed it as a with the jpg extension. Most apps wouldn’t care anyway (for example if you tried imagemagick with “display file1.php”, you would probably have no problem).
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Whole GUI Can't View Images laxisusous Linux - General 3 09-20-2006 07:17 AM
Is it possible to view images with mplayer? Linux_Lite Linux - Software 2 11-22-2005 04:12 AM
Can't view dowloaded images... HELP! dark_prancer Linux - Newbie 3 05-07-2005 04:23 AM
is there a way to view images without X? pyenos Linux - Software 2 03-09-2005 07:19 AM
View Images in an xterm? debuser Linux - General 2 01-12-2005 08:40 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 04:35 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration