Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8050939
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 5, 20262026-06-05T07:11:40+00:00 2026-06-05T07:11:40+00:00

I am using uploadify to upload img to server at the time of upload

  • 0

I am using uploadify to upload img to server at the time of upload i saved absolute path to the data base its like:

/var/www/html/workbench/photogallery/uploads/logo2.jpg

now I want to display the same in browser the following method does not work

<div id="photos">
    <h3>Photo title</h3>
    <P class="like"><a href="#">Like</a> </P>
    <p class="date">date </p>
    <p class="pclear" />
    <div id="image">
      <img src="<?php echo $result_set['path']; ?>" />
    </div>
    <p class="about">about image goes here</p>
</div>

above code doesn’t work. when I edit the path manually to uploads/logo2.jpg it works perfectly

how can I resolve this problem?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-05T07:11:42+00:00Added an answer on June 5, 2026 at 7:11 am

    You need to use an url, not a path.

    This:

    /var/www/html/workbench/photogallery/uploads/logo2.jpg
    

    is a physical path, the address on that server where the image is found. You need to use an url available for your visitors. I guess that you have a name mapped to that server (something like localhost or http://www.example.com).

    From the structure I guess that your url would be something like

    http://www.example.com/photogallery/uploads/logo2.jpg
    

    where http://www.example.com is the base url you are using to get to that application

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am uploading file using jQuery uploadify plugin. Each time I upload a file,
I am uploading image to server using base64 its working fine if image is
I need Windows Phone application to upload files to a web server using the
I use Uploadify to upload multiple pictures to server. I want to display pictures
I am trying to upload file to FTP server using php but it is
I have a problem while I need to send data using uploadify script. For
I am using Uploadify and class.upload.php for uploading and manipulating images. here are my
I'm using a java based uploading construct http://www.javaatwork.com/java-upload-applet/details.html that I tried running over night.
I have an application that upload file to server using NSUrlConnection. It was placed
This was a question about testing file upload functionality using a local java server

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.