marty.net 1001 Postcards Love Love Love Meep Meep ZenZodiac DailyQuotation

YOU ARE HERE:
Section Image Change

HOME

CPSHOP|

|

|

EMAIL MARTY
  marty.net message board
  « Section Image Change »
Welcome, Guest. Please Login or Register.
12/12/17 at 10:15:03
Home Help Search Login Register
   marty.net message board
   About cpshop
   Customization Help
   Section Image Change
(Moderator: Marty)
Pages: 1 Reply Notify of replies Send the topic Print 
   Author  Topic: Section Image Change  (Read 650 times)
hazeleyes7
Gold Dragon
****

Gender: female
Posts: 212



Labs Rock!
   

WWW E-Mail
Section Image Change
« on: 09/25/08 at 13:47:59 »
Reply with quote Modify message

I use cpfilter_literal for all my main sections but one of the sections is pulling in a design image that is just too big for my shop.

So, I want to replace the image wherever it occurs in my shop. This is what I placed in my cpshop.cgi.images folder but it isn't working.


Code:
*||||http://logo.cafepress.com/9/1977042.3385829.JPG||||http://images.cafepress.com/product/155003814v3_150x150_Front.jpg


I have tried refreshing my browser but it is not working. Any ideas?
Logged

https://shannonksteffen.com
http://www.dogwiregifts.com
http://www.8pawsup.com
http://www.angelcove.us
http://www.catwiregifts.com
hazeleyes7
Gold Dragon
****

Gender: female
Posts: 212



Labs Rock!
   

WWW E-Mail
Re: Section Image Change
« Reply #1 on: 09/25/08 at 16:49:29 »
Reply with quote Modify message

Can anyone tell me what I am doing wrong?  
Logged

https://shannonksteffen.com
http://www.dogwiregifts.com
http://www.8pawsup.com
http://www.angelcove.us
http://www.catwiregifts.com
flippinsweetgear
Gold Dragon
****

Posts: 171



Go Scots!
   

WWW
Re: Section Image Change
« Reply #2 on: 09/25/08 at 17:54:44 »
Reply with quote Modify message

Is your shop instance named cpshop.cgi?
You have to change your images file to whatever you might have named it.

IE: yourstore.cpshop.images

Also, it doesn't really show up right away sometimes.  Clearing the cache will be the sure way to see if you've done it right.
Logged

Flippin Sweet Gear | Kids T-shirts | Big Lebowski Shirts
hazeleyes7
Gold Dragon
****

Gender: female
Posts: 212



Labs Rock!
   

WWW E-Mail
Re: Section Image Change
« Reply #3 on: 09/26/08 at 07:25:01 »
Reply with quote Modify message

Nope, I didn't change the file name so it is cpshop.cgi.images because the store is still cpshop.cgi. However, it is still not changing.

I have cleared the cache a couple of times and just tried it now but it is not working still. I would really like to use this affiliate (and others with astronomically sized section images).

Any other ideas? I am open to suggestions!  
Logged

https://shannonksteffen.com
http://www.dogwiregifts.com
http://www.8pawsup.com
http://www.angelcove.us
http://www.catwiregifts.com
Marty
Administrator Dragon
*****

Gender: male
Posts: a whole lot



That's me. :)
   

WWW E-Mail
Re: Section Image Change
« Reply #4 on: 09/26/08 at 14:53:42 »
Reply with quote Modify message

Three suggestions:

1. If you're using cpoutput, you'll probably need to clear your output cache to get it to work.

2. Try adding a dummy line to the images file that replaces something obvious (like the word "shirt" with the word "monkey") to make sure the file works.

3. Double and triple check the URL of the section thumbnail to make sure it's exactly right and case-sensitive.
Logged

--
Regards,
Marty·.¸¸.·´¯`·.¸¸.-> marty@marty.net
hazeleyes7
Gold Dragon
****

Gender: female
Posts: 212



Labs Rock!
   

WWW E-Mail
Re: Section Image Change
« Reply #5 on: 09/30/08 at 04:48:10 »
Reply with quote Modify message

Thanks Marty!

How do I empty the CPOutput file other then clearing the cache?
Logged

https://shannonksteffen.com
http://www.dogwiregifts.com
http://www.8pawsup.com
http://www.angelcove.us
http://www.catwiregifts.com
brattytees
Gold Dragon
****

Posts: 439



ack!
   

Re: Section Image Change
« Reply #6 on: 09/30/08 at 05:50:16 »
Reply with quote Modify message

ftp.
Logged
hazeleyes7
Gold Dragon
****

Gender: female
Posts: 212



Labs Rock!
   

WWW E-Mail
Re: Section Image Change
« Reply #7 on: 09/30/08 at 07:31:16 »
Reply with quote Modify message

Do you mean I should FTP over the folder so that it empties?  
Logged

https://shannonksteffen.com
http://www.dogwiregifts.com
http://www.8pawsup.com
http://www.angelcove.us
http://www.catwiregifts.com
Marty
Administrator Dragon
*****

Gender: male
Posts: a whole lot



That's me. :)
   

WWW E-Mail
Re: Section Image Change
« Reply #8 on: 09/30/08 at 07:54:00 »
Reply with quote Modify message

Just change something other than a Store ID in cpadmin, and then change it back (add a ! to the end of your store name, save changes, then remove the !, and save changes again).

That'll empty the output cache, but not the regular cache.
Logged

--
Regards,
Marty·.¸¸.·´¯`·.¸¸.-> marty@marty.net
Pages: 1 Reply Notify of replies Send the topic Print 
Jump to:


marty.net message board (http://www.marty.net/cgi/marty/board/messageboard)

Powered by YaBB 1 Gold - Release (Yet Another Bulletin Board)
Copyright © 2000-2001, X-Null. All Rights Reserved.