Author |
Message |
srhcpa
Newbie - One Blade
Joined: 28 Jun 2005
Posts: 13
|
 images not showing in index.html
I have just recently installed Agora Cart. I am using my own version of index.HTML with my own template.
The file index.html is in the html folder and the images are in a separate folder under the html folder. All I get is ???? This is only on the intro page and has nothing to do with the individual product pages which work fine.
In my html code I have it as "img src=images/mypic.gif". Is there some other reference I need to make.
Thanks,
Steve
|
Tue Jun 28, 05 1:46 pm |
|
 |
scottcrew
Moderator
Joined: 13 Feb 2004
Posts: 7516
Location: The West Side of MI USA
|
Steve,
What is the URL to your store?
You will probably need to use one of the following ways of linking to images:
"img src=html/images/mypic.gif"
"img src=picserve.cgi?picserve=mypic.gif"
HTH!
_________________ God Bless!
Bonnie - AgoraCart Moderator
Get a Gold Membership
|
Tue Jun 28, 05 3:12 pm |
 |
 |
srhcpa
Newbie - One Blade
Joined: 28 Jun 2005
Posts: 13
|
 images not showing in index.html
my url is www.debitsandcredits.com/cgi-bin/store/agora.cgi .
I tried your suggestion of "img src=html/images/mypic.gif" but it did not work.
I also tried with the pic in the same html folder e.g. "img src=mypic.gif". Also, no go.
Something is wierd here. This is just a plain old html page.
Thanks again.
Steve
|
Tue Jun 28, 05 5:55 pm |
|
 |
scottcrew
Moderator
Joined: 13 Feb 2004
Posts: 7516
Location: The West Side of MI USA
|
Steve,
I'm not seeing any customization to the store...
Seeing your URL, though, I can tell you that you are linking to the images incorrectly.
Your store is inside the cgi-bin. When it is in the cgi-bin, EVERYTHING has to be run through a cgi script.
So, my 2nd suggestion for image linking needs to be followed:
"img src=picserve.cgi?picserve=mypic.gif"
It can also be be done as follows:
"img src=agora.cgi?picserve=mypic.gif"
HTH!
_________________ God Bless!
Bonnie - AgoraCart Moderator
Get a Gold Membership
|
Wed Jun 29, 05 4:03 am |
 |
 |
Dan
Guest
|
hell-o
it looks as though you have
http://www.debitsandcredits.com/cgi-bin/store/agora.cgi
as your ssl url which is ok for now but you should change your store url to
http://www.debitsandcredits.com/cgi-bin/store/agora.cgi
you need to have the www in the url.
LOL@mr beancounter
pretty much if you have an image in your public_html/images folder then just link to them directly. if you have product specific images upload to the store/html/images folder then add the imahe in the add or edit products in the store manager.
regards,
dan
|
Wed Jun 29, 05 3:49 pm |
|
 |
srhcpa
Newbie - One Blade
Joined: 28 Jun 2005
Posts: 13
|
 images not showing in index.html
Dan,
You solved the problem with your suggestion of linking my img src to public_html\images. Thank you.
Sincerely,
Mr. Beancounter
|
Wed Jun 29, 05 4:01 pm |
|
 |
Dan
Guest
|
hell-o
yw. be sure to add the www in the store url. i'm surprized you haven't had problems when logging into your store manager.
regards,
dan
|
Wed Jun 29, 05 4:06 pm |
|
 |
baddco
Newbie
Joined: 08 Sep 2006
Posts: 5
|
 Same problem
I'm pretty new to Agora as well, but not so new to HTML. I'm having one huge problem getting my images to display. I've tried the above mentioned solutions and didn't get anywhere other than worried beyond hair repair.
The site will be at : http://memindex.com/agora/agora.cgi ( It's not by any means ready yet ) or listed in Google or the like. I'm just trying to get the site ready. Prior they never had a Shopping cart http://memindex.com I like hoe Agora works and I'm not sure I'm ready for --hey, did i tell you I ate dirt as a kid?.
Once I can get this running... I'll be happy as....
Thank You
Larry
|
Fri Sep 08, 06 6:11 am |
|
 |
scottcrew
Moderator
Joined: 13 Feb 2004
Posts: 7516
Location: The West Side of MI USA
|
Larry,
1. The store URL MUST have the www. in front.
Right now you have:
http://memindex.com/agora/agora.cgi
It needs to be:
http://www.memindex.com/agora/agora.cgi
2. In the source code of your page I am seeing the following for your header images:
Code:
<img src="/public_html/agora/html/logo.jpg" border="0" width="287" height="98" alt="Memindex Logo" >
<p>
<img src="img src=picserve.cgi?picserve=logoswatch.jpg" border="0" width="285" height="33" alt="Established 1902" >
Neither of these look correct.
Also, since you are not running your store within a cgi-bin, you need to turn off self-serving of pictures.
I do not see where the store header is being called on that page, instead, you have hard coded everything, including the cart_ids, which will be a big problem because EVERYONE will have the same shopping cart...
Anyway, your image calls should be more like:
Code:
<img src="html/images/logo.jpg" border="0" width="287" height="98" alt="Memindex Logo" >
<p>
<img src="html/images/logoswatch.jpg" border="0" width="285" height="33" alt="Established 1902" >
These image calls would be pointing to images that are found in the 'html/images' directory of the store. Make sure that your images are uploaded to that location in binary mode.
HTH!
_________________ God Bless!
Bonnie - AgoraCart Moderator
Get a Gold Membership
|
Fri Sep 08, 06 6:31 am |
 |
 |
baddco
Newbie
Joined: 08 Sep 2006
Posts: 5
|
That too didn't work.
Before I look too stupid let me explain , I'm taking this project over, I didn't start it from scratch. I believe that too is why it's an older version. Maybe the best way to approach this is just to delete all...and start fresh?
|
Fri Sep 08, 06 7:24 am |
|
 |
scottcrew
Moderator
Joined: 13 Feb 2004
Posts: 7516
Location: The West Side of MI USA
|
You could, but you don't necessarily need to delete the current store, yet, unless it just isn't working at all...
HTH!
_________________ God Bless!
Bonnie - AgoraCart Moderator
Get a Gold Membership
|
Fri Sep 08, 06 8:49 am |
 |
 |
baddco
Newbie
Joined: 08 Sep 2006
Posts: 5
|
OK, Now I'm really lost. I would really like to start from the beginning. I tried uploading new files ( As far as I can tell these are pre-loaded already on my host. I loaded them to my cgi-bin.
Am I doing it right ( So far )
The Newbie title is fitting here huh?
|
Fri Sep 08, 06 11:44 am |
|
 |
scottcrew
Moderator
Joined: 13 Feb 2004
Posts: 7516
Location: The West Side of MI USA
|
Check out the installation instructions and downloads at:
http://www.agoracart.com/download.htm
HTH!
_________________ God Bless!
Bonnie - AgoraCart Moderator
Get a Gold Membership
|
Fri Sep 08, 06 11:51 am |
 |
 |
baddco
Newbie
Joined: 08 Sep 2006
Posts: 5
|
Done that.
But can't find exactly what I'm looking for or how to word it I guess is my problem.
|
Fri Sep 08, 06 4:44 pm |
|
 |
scottcrew
Moderator
Joined: 13 Feb 2004
Posts: 7516
Location: The West Side of MI USA
|
You will want to do a new install.
Who is your web host?
_________________ God Bless!
Bonnie - AgoraCart Moderator
Get a Gold Membership
|
Fri Sep 08, 06 5:06 pm |
 |
 |
baddco
Newbie
Joined: 08 Sep 2006
Posts: 5
|
Biznet
|
Sat Sep 09, 06 4:52 am |
|
 |
scottcrew
Moderator
Joined: 13 Feb 2004
Posts: 7516
Location: The West Side of MI USA
|
I'm not familiar with their hosting, but if they will allow you to run cgi scripts outside of the cgi-bin, install the cart outside of the cgi-bin.
HTH!
_________________ God Bless!
Bonnie - AgoraCart Moderator
Get a Gold Membership
|
Sat Sep 09, 06 7:03 am |
 |
 |
|