Programming :: Load And Show Image In Web Page?
Feb 27, 2010I did a perl/cgi script for uploading image. The script works, image is iploaded in upload directory, but the problem is: How can I to load and show image in web page?
View 12 RepliesI did a perl/cgi script for uploading image. The script works, image is iploaded in upload directory, but the problem is: How can I to load and show image in web page?
View 12 RepliesI have just exported 3 png files out of gimp for a html document I'm working on right now, and they are all almost the same, except I need each to load when the user does something. So the first image will display on the page, and when a user puts their cursor over it, then it will load image 2. When they press it, it loads image 3.
View 1 Replies View RelatedI can get a dynamic image to display in my webpage<td><img src="<? echo image.php" ;?>"where image.php is some ones example that outputs some characters to screen.All works fineBut the site is ssl,and It wont load the "foreign" object for security reasons.I was wondering I cURL could trick the browser into thinking that the image source is still on the same serverlike
<?php
$remote = 'https://example.com/image.php';
curl_setopt($ch, CURL_SSL_VERIFYPEER,0); // for testing
[code]....
I am trying to write a small gtk+-2 program to display whatever image it is given and I was wondering if anyone out there has done something similar. I am not too familiar with writing programs for gtk and its been a while since I've fiddled with C. I went over the tutorial for gtk and it seams pretty easy to get a window to display, but I do not see anything that refers to loading an image or displaying it in the window. I am wondering if this can be done purely with gtk or will I need to use some type of image library like imlib2?
View 3 Replies View RelatedThere are 5 copies of the same images are placed in a folder i.e. large(1024*768),medium(500*375),small(240*180),thu mnail(75*75),square(100*50) in size....
The following code upload number of Geocoded images(square size) when the page loads.I want when someone click on the any Geocoded image on the page ,it should show the large image(1024*768) of the same.And further click on the large image it must show again the square size image of the same.
Following is the actual code.It is in .js file.
I have found that APACHE or 'httpd' is installed in my machine. But the problem is I can start or stop the httpd but whenever I load the url http://localhost in Mozilla it shows a page load error.I have done this ,
$ /etc/init.d/httpd start
then this
$ /etc/init.d/httpd graceful
[code]....
wanted to know if i can execute commands on linux console through a web page and redirect it back to my web page !For example :if i send a query "ls"it should execute this command on my linux console and also redirect the list of the files to the web page from which i give the command !
View 8 Replies View RelatedI reinstalled fedora the other day, and it's been working just fine, apart from the internet. It shows that I have a full connection with the wireless network, but it's really difficult to actually load a page. 80% of the time it just fails and shows "Page Load Error". It's really frustrating because it is connected to the internet. In fact, the icon in the address bar even loads from the site I try to access, but websites just will not load.
I've tested my wireless internet with another laptop which is running vista, and it works perfectly on that. Also, I'm running Fedora 10 on an Acer Extensa laptop.
I want to put a photo slide show in a web page I am creating. What is my best option? Want open source. I know CSS and HTML but am not a programmer. Need something fairly easy to install.
View 1 Replies View RelatedI have a rather large image that I want to print onto several pages. How would you recommend doing this? I've been copying sections and printing like that using GIMP, and I have had limited success using presentation type software, but is there a faster way of doing this?
edit #1: Being able to Print this to PDF or PS would be great.
(Office computer runs slightly modified version of ubuntu 10.04-LTS 32bit)
I have apache installed and I have it all setup so that when I create a user, in their home directory i created a folder called public_html and then that user can upload web content. Users then can browse to their site by going to[URL],,.How can I get apache to show a different or default page if the user does not have a index.html file in their public_html folder. Cause if they dont, you get a 401 saying you dont have permissions to view, etc. So id like apache to default to something else if the user doesnt have a index.html.
View 1 Replies View Relatedi just tried opening facebook in firefox on windows and it works fine. On Firefox in ubuntu on the other hand the connection resets while the page is loading every time. I think my laptop/browser is blocking the connection to facebook but since I'm new to ubuntu i don't really know how to solve this
View 9 Replies View RelatedI updated ubuntu kernal to latest one, forgot the numbers already. When I restart, it hangs while loading kernal. I usually can choose which kernal to load, but now the 'choosing page' can't even load already.
View 1 Replies View RelatedHaving logged in (to Fedora 11) with a terminal session, what command do I give to spawn the Gnome GUI desktop environment? Background: I'm running two Fedora boxes: one local, and one at the other end of my building (on fast LAN). I have full control/ownership of both boxes.
On the local box, I log-in to my vanilla F11 build, and I get the Gnome GUI automatically. Then I can open a terminal window, 'ssh -X -l myself remotebox; cinelerra' to run Cinelerra nicely in local desktop windows.
But sometimes I want to see my typical user desktop for the remote box. Now, IF the remote box is ALREADY running Gnome, I can VNC to it, etc. But, once having logged-out of the remote box, VNC closes and won't show me a GUI login page. (BTW: The remote box usually has no monitor, as well as being out of reach. So schlepping over to logon to it is a real pain.) So, here's the thing: I can login (to terminal session) and can bring up programs in local windows. But WHAT program do I launch in order to bring up Gnome??
I updated Firefox today via Yast, since this time it doesn't show any page.I choosed in Configuration no proxy.The sites are empty, nothing just white.I also tried a downgrade to the previous version, didn't help.The Firewall I deactivated for test in Yast, too.A new profile didn't help, starting as administrator either not.
View 4 Replies View Related(I am new to Ubuntu though have experimented with various Linux flavors in the past.) I have been struggling with this issue with Firefox 3.6.17 on Ubuntu 10.10. When I start Firefox it always loads the previous session's tabs, though I have the option set to load home page, not restore tabs. Where would it be picking this up from ?
View 3 Replies View RelatedIs it possible to tweak 11.04 to show the old toolbar at the top of the desktop page? If I want to put apps on the desktop how do I do that from the apps page?
View 1 Replies View RelatedWhere can I find the wallpaper that is similar to the image in the Debian home page. Not the one in the smaller windows (in the image), but the part of the image which has "The universal operating system" written.
View 6 Replies View RelatedOne of my favorite features of fire fox is the page zoom ( ctrl + / ctrl - ) that zooms the entire page retaining the layout how ever when I installed 10.04 on my main desktop firefox started scaling the images very poorly ( ie no smoothing, leaving the image looking extremely pixelated ).All threads I've found on the subject seems to related to ubuntu 8, and suggest that a bug fix was underway... hopefully this means there is an easy fix - but what?info;Same computer it worked fine on ubuntu 9.xx and windows 7 - when doing desktop zoom (meta + mouse scroll ) the images also scales as expected.
View 7 Replies View RelatedI have an existing blog that I migrated to ubuntu server recently. The site was running fine until I transfered it over to ubuntu. I get a 404 error whenever I view pages that is not my index. I believe it has to do with my .htaccess file.
I have enclosed the .htaccess and my default file taken from sites-enabled.
.htaccess
Code:
#####################
#PREVENT viewing of .htaccess file
<Files .htaccess>
order allow,deny
[Code].....
I'm running into a very strange issue that affects all web apps on my server. This happened after a reboot.
Basically, I can fill out a form, submit it, and then the next page will never load, or it will load after several minutes. To reiterate, this affects every web app on this server, and many of my users are noticing it.
I've already tried restarting Apache and doing a repair of MySQL tables
I can provide server details upon request, but it's a basic LAMP stack running Ubuntu 9.x on a Linode.
i have a machine with RHEL 5.1 sendmail-8.13.8-2.el5, uw-imap2007-e-7.el5, php 5.3.1, and apache/2.2.3, but i have a problem, i installed Squirrelmail 1.4.19, but i can't access my index.php page, when i load http://localhost/squirrelmail/ i get the image (main.png), and when i click the index.php link i get this:Quote:
<?php
/**
* index.php
[code]...
Not able to install RHEL5 on my pc, I frequently get the page load error 0x30/0x40
View 3 Replies View RelatedI have two different ways to print to my HPOfficejet Pro 8500. They look like two different printers to the software.
When I attempt to print a PDF file one of these prints a mirror image; the other cuts approximately 1/2 inch from the top of the page.
OpenOffice.org files appear to print without problems.
I have openSUSE 11.2 and HPLIP 3.9.8
I have installed phpMyAdmin on Fedora 11 using YUM, along with MySQL, PHP and Apache. The web and database servers are operating fine. However, when loading the web page [URL]... a box appears asking for a username and password. I have tried many combination's including the root with no success. What value does it want, or what setting is wrong. In studying the file httpd.conf in somehow loads the file phpMyAdmin.conf
[code]...
Excuse me if such thread exists already, i carefully searched the forum so i wont create a second one concerning the following problem:So i downloaded (on my new fresh Fujitsu SIEMENS Li3710 running Vista the Ubuntu 9.04 distro.. im a complete Linux noob, but i wanted to give it a second try) so i downloaded it and burned it on the fast laptop, so there wont be any errors caused by low memory during burning I installed and then i went to the Ubuntu desktop - i had all drivers installed. Everything but Amarok sound worked, i turned off my laptop and went doing my job.. The next time i started up my laptop and went on the desktop .. a tradition is to browse the web, so i did that and i couldnt load a single page, except pages with direct IPs i had Skype working just fine and i had a friend there running SuSe and asked him for help. We identified it as a DNS problem, but because of my noobness i couldnt deal with it and i HAD TO switch back to windows, wich i regret so much.
I know that im a noob, but if i have an internet running at its best i can look at forums and resolve my other issues, so im asking for a screenshots on DNS settings so i can fix it the next time i install Ubuntu.Also! I was using cable via PPPoE (and the only terminal command i know is "sudo pppoeconf" ), now im with router, connecting my laptop directly via WI-FI, will i have the same problem and will i have to make settings so i can connect to my router? Because back then i tried to connect to wireless networks and the ones i could connect on XP/Vista/7 i simply couldnt connect on Ubuntu...I really want some real PC knowledge and to use Linux
I just upgraded my server from 9.10 to 10.04. I have ISPconfig installed on it and worked like a charm until the upgrade. Now when I point a browser to my site the page just hangs as if it is trying to load it but I never get an error nor does it load the page. I have tried to restart apache using /etc/init.d/apache2 restart in which I receive an fail error:
root@ubuntu:~# /etc/init.d/apache2 restart
* Restarting web server apache2 (9Address already in use: make_sock: could not bind to address 0.0.0.0:80
no listening sockets available, shutting down
[Code].....
After this I still get the same results when trying to load the page in the browser.
I cannot load anything in the www root or virtual host files.
I have been having a couple of problems with various programs, and though I have read some threads that addressed the issues, they haven't solved myproblems.Keeping in mind for this, I have the 10.04 lucid version of Ubuntu.Now, a few days ago, Transmission decided to stop downloading songs. Transmission says that a port is closed, and I'm not entirely sure that that is the problem. Still, I attempted to go into my modem, and it didn't work. The page wouldn't load. I tried to get into my firewall, and I couldn't figure out how. A friend of mine who also has Ubuntu gave his Transmission a try, and it worked. When he checked the port, it also said that it was closed. So, I have no idea what the problem could be.Second, I have a Creative Zen Mosaic EZ300, and have been trying to get software to use it on my computer. I can sync to it, and add songs, but I can't delete or edit anything. I tried gnome, but it didn't recognize the player.
View 5 Replies View Relatedwhen I run some video it did not show me image. I can only listen sound. When I was looking on google I found out that my problem could solve by using "X11 video", but it does not help me. Here is my error statement:
Blocked: call to unsetenv("DBUS_ACTIVATION_ADDRESS")
Blocked: call to unsetenv("DBUS_ACTIVATION_BUS_TYPE")
Warning: call to signal(13, 0x1)
[0x95a98fc] main libvlc: Running vlc with the default interface. Use 'cvlc' to use vlc without interface.
Blocked: call to setlocale(6, "")
Blocked: call to sigaction(17, 0xb700a0d4, 0xb700a048)
[Code]...
i have an image background for my web....it's a JPG file.. my problem is that image not show at designer PC but after that web page open at another PC..the image can show..i created my program at terminal...
i try using chmod 777 image.jpg but at designer PC still can't show...but in other PC can show..why it happens??what must i do?