Jump to content

Images, Cache, and config.xml - HELP PLEASE


fairview
 Share

Recommended Posts

Hi - I am developing a new site using 5.2.  I would like to set the image sizes to custom sizes while still using the upload capability and caching.  I have edited the config.xml in the skin folder that I am using and cleared all the caches I can find - images, skin, and the general cache - however the images are still being re-sized to the sizes specified by the original config.xml.  I looked at the database, and the entry under CC_Cubcart_Config seems to be stored in some sort of secure fashion that I can't edit.

 

How can I force a reload of the new config.xml file??  Help please. And thank you.

 

Sue

Link to comment
Share on other sites

When looking at the HTML source as seen by the browser (use your browser's View Source menu option), does your <img> tag URL look something like:

www.store.com/images/cache/NameOfProduct.138.jpg
If not, then whatever code is building the skin isn't getting the product's image properly.

 

Also, in the admin Store Settings screen, Advanced tab, disable the cache while developing the skin. This prevents CubeCart from using a rendered skin that may have changed.

 

Information about the skin is not saved in the config database table. And the information in there is saved in Base64 format. There are lots of free online converters and some of the better programmer's text editors have this converter built in.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...