Get support from Xavier Media
It is currently Sun Dec 08, 2013 7:30 pm

All times are UTC




Post new topic Reply to topic  [ 5 posts ] 
Author Message
 Post subject: problem displaying image
PostPosted: Tue Jul 01, 2008 11:01 pm 
Offline
Rookie (I'm probably spamming)
Rookie (I'm probably spamming)

Joined: Sun Jun 29, 2008 8:15 pm
Posts: 5
Points: 0
the image is not showing up


<?php print $sel_product['image_source'];?> /*printing it to make sure it is correct value i get = C:\wamp\www\website\images01-28-06_0014.jpg*/

<?php $ImgValue = $sel_product['image_source']; ?>


<img src="<?php print $ImgValue;?> ">

when i click on the broken image and click view selection source i get
<img src="C:%5Cwamp%5Cwww%5Cwebsite%5Cimages%5C01-28-06_0014.jpg">

any ideas why it works to display but not to call like that?


Report this post
Top
 Profile Send private message E-mail  
Reply with quote  
 Post subject: Re: problem displaying image
PostPosted: Thu Jul 03, 2008 4:08 am 
Offline
Rookie (I'm probably spamming)
Rookie (I'm probably spamming)

Joined: Thu Jul 03, 2008 4:06 am
Posts: 1
Points: 0
<img source="images01-28-06_0014.jpg">


Report this post
Top
 Profile Send private message E-mail  
Reply with quote  
 Post subject: Re: problem displaying image[solved]
PostPosted: Sun Jul 13, 2008 10:51 pm 
Offline
Rookie (I'm probably spamming)
Rookie (I'm probably spamming)

Joined: Sun Jun 29, 2008 8:15 pm
Posts: 5
Points: 0
i needed to encode this, so that mysql didnt interpret the slashes


Report this post
Top
 Profile Send private message E-mail  
Reply with quote  
 Post subject: Re: problem displaying image
PostPosted: Mon Jul 14, 2008 2:15 pm 
Offline
XavierForum.com Admin
XavierForum.com Admin
Super VIP Member
Super VIP Member
User avatar

Joined: Tue Mar 15, 2005 4:37 pm
Posts: 1082
Location: Sweden
Points: 1500
urldecode() should solve the problem:
PHP Code:
<?php $ImgValue = urldecode($sel_product['image_source']); ?>

_________________
Xavier Media®
Join me at LinkedIn | Get your latest blog post in your signature you too


Report this post
Top
 Profile Send private message  
Reply with quote  
 Post subject: Re: problem displaying image
PostPosted: Wed Sep 17, 2008 6:51 am 
Offline
Rookie (I'm probably spamming)
Rookie (I'm probably spamming)

Joined: Mon Sep 08, 2008 7:42 am
Posts: 3
Points: 0
Thank for advice, through this tips, my image of site is now showing.

_________________
shoulder pain


Report this post
Top
 Profile Send private message E-mail  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 5 posts ] 

All times are UTC


Who is online

Registered users: No registered users


You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron

Portal » Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
[
SEO MOD © 2007 StarTrekGuide ]