SitePoint Sponsor

User Tag List

Results 1 to 16 of 16
  1. #1
    SitePoint Enthusiast
    Join Date
    Sep 2005
    Posts
    55
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Question Images dont appear

    Can anyone please tell me why doesnt this images appear?? it looks like they want to load in the status bar...
    --------------------------------------------------------------------------
    Just click the link and click ENTER THE STORE link...



    --------------------------------------------------------------------------
    Thank u....beezhood

  2. #2
    SitePoint Evangelist LemoNade's Avatar
    Join Date
    Aug 2005
    Location
    Southampton, UK
    Posts
    500
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    They arent on the server/in the right folder - I get a 404 on all images.

  3. #3
    SitePoint Enthusiast
    Join Date
    Sep 2005
    Posts
    55
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Question

    i know where the pics are but how can i see if it is in the right server/folder ?----------------------------------------------------------------------------

  4. #4
    SitePoint Evangelist Jedi007's Avatar
    Join Date
    Aug 2005
    Posts
    463
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    well only you can see that by looking in your php file.

  5. #5
    SitePoint Enthusiast
    Join Date
    Sep 2005
    Posts
    55
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    wich one?? wich file u need to see?

  6. #6
    SitePoint Enthusiast
    Join Date
    Sep 2005
    Posts
    55
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Question

    Which file can i change my image directory...can anyone help me???

  7. #7
    SitePoint Evangelist Jedi007's Avatar
    Join Date
    Aug 2005
    Posts
    463
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    congratualations, i've found your problem:

    You should have wrote:
    http://humanart.net/pedro/xcart/skin1/images/xlogo.gif

    You wrote:
    http://humanart.net/xcart/skin1/images/xlogo.gif

    same thing with all the other pics

  8. #8
    SitePoint Enthusiast
    Join Date
    Sep 2005
    Posts
    55
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    my link is www.humanart.net/pedro/xcart ...and dont appear the images...that are in

    here.....(example of one...there are many)
    http://www.humanart.net/pedro/xcart/...xcart_logo.gif

  9. #9
    SitePoint Enthusiast
    Join Date
    Sep 2005
    Posts
    55
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    but where i can change that??

  10. #10
    SitePoint Evangelist Jedi007's Avatar
    Join Date
    Aug 2005
    Posts
    463
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    thats because when you wrote the url to the images, you missed out "pedro", you went ...art.net/xcart... when it was ...art.net/pedro/xcart...

  11. #11
    SitePoint Enthusiast
    Join Date
    Sep 2005
    Posts
    55
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    OKKK i GOTT it and java script problemmm where can i change it??

  12. #12
    SitePoint Evangelist Jedi007's Avatar
    Join Date
    Aug 2005
    Posts
    463
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    i guess the script? can i see your image.php?

  13. #13
    SitePoint Enthusiast
    Join Date
    Sep 2005
    Posts
    55
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    <?php
    require "./top.inc.php";
    require "./config.php";

    if (empty($productid)) $productid = "";

    $image_out = ""; $image_type = ""; $image_path = "";

    if (!empty($tmp)) {

    x_session_register("file_upload_data");

    if (!empty($file_upload_data["file_path"]) && $file_upload_data["id"]==$productid && $file_upload_data["imtype"]=="T") {
    $image_out = func_file_get($file_upload_data["file_path"], true);
    }

    }

    if (empty($image_out)) {

    $result = db_query("select image, image_path, image_type from $sql_tbl[thumbnails] where productid='$productid'");
    if (db_num_rows($result))
    list($image, $image_path, $image_type) = db_fetch_row($result);
    else {
    header("Content-type: image/gif");
    func_readfile($default_image, true);
    exit;
    }

    db_free_result($result);

    if ($config["Images"]["thumbnails_location"] == "DB") {
    if (!empty($image))
    $image_out = $image;
    else
    $no_image_db = true;
    }

    if ($config["Images"]["thumbnails_location"] == "FS" || !empty($no_image_db)) {
    if (!empty($image_path)) {
    header("Content-type: $image_type");
    func_readfile($image_path, true);
    exit;
    }
    }

    }

    if (!empty($image_out)) {
    header("Content-type: $image_type");
    echo $image_out;
    } else {
    header("Content-type: image/gif");
    func_readfile($default_image, true);
    }
    ?>

  14. #14
    SitePoint Evangelist Jedi007's Avatar
    Join Date
    Aug 2005
    Posts
    463
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    hm... there seems too be a bug in the script... but i cant find it, someone else probobly will (im not a good debugger)

  15. #15
    Under Construction silver trophybronze trophy AussieJohn's Avatar
    Join Date
    Sep 2005
    Location
    Sydney, Australia
    Posts
    776
    Mentioned
    11 Post(s)
    Tagged
    0 Thread(s)
    I'm not a 100% on this - but I believe this is an Xcart config issue. It should be writing the correct paths to images, but due to some variables not being explicitly set in the config file, it may not know where they are.

    As I said, I'm not 100% sure, as I have only done a little bit of work with Xcart.
    (having said that, if you ask one of the guys on the Xcart forums, they will surely be able to tell you if this is correct).

    John
    var details = {
    . . web: "afterlight.com.au",
    . . photos: "jvdl.id.au",
    . . psa: "usethelatestversion.com"
    }

  16. #16
    SitePoint Zealot arun_md's Avatar
    Join Date
    Aug 2005
    Location
    chennai
    Posts
    157
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Can u tell what u've put in the

    <IMG SRC=" .... "> tag?


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •