WordPress image parsing error

Discussion in 'HTML & Website Design' started by effektz, Jul 8, 2009.

  1. #1
    Hey guys I'm setting up another little project but I ran into a problem and I can't for the life of me find a solution.

    If you go to http://buyhemp.net/ you'll see I have images next to each product, but instead of the image showing up I just get this.

    <='http://buyhemp.net/wp-content/uploads/wpsc/product_images/thumbnails/CUSTOM.jpeg' title='Orange Bead Bracelet' alt='Orange Bead Bracelet' id='product_image_1' class='product_image'/>

    I found the code that parses the images but editing this didn't yield any results.

    $output .= "<img src='".wpsc_product_image_html($image_file_name, $product['id'])."' title='".htmlentities(stripslashes($product['name']), ENT_QUOTES)."' alt='".htmlentities(stripslashes($product['name']), ENT_QUOTES)."' id='product_image_".$product['id']."' class='product_image'/>";

    Any and all help is greatly appreciated. I'm using WordPress 2.7 and WP Shopping Cart Plugin
     
    effektz, Jul 8, 2009 IP
  2. zain654321

    zain654321 Peon

    Messages:
    202
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Just go to design view and paste the image. then do not go back to preview. First save the changes and then click preview your blog. Now it will definatliy show the image.
     
    zain654321, Jul 8, 2009 IP
  3. effektz

    effektz Active Member

    Messages:
    474
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    60
    #3
    I'm using the WP Shopping Cart to those aren't actual posts. I have to add each product through the Store tab, which allows me to upload a photo but not edit it like I normally could when adding a "New Entry". Any other ideas?
     
    effektz, Jul 9, 2009 IP
  4. effektz

    effektz Active Member

    Messages:
    474
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    60
    #4
    I notice when adding a regular post if I add an image in "HTML" mode it does the same thing, there has to be a way to fix this but I just can't get it
     
    effektz, Jul 9, 2009 IP